dengjunjie
2025-06-11 2ae5aa151f7b40a082e34aa7ed22b4b64edd1d3c
´úÂë¹ÜÀí/WMS/WIDESEA_WMSClient/src/views/record/stockQuantityChangeRecord.vue
@@ -24,76 +24,30 @@
        cnName: "库存变动信息记录",
        name: "stockQuantityChangeRecord",
        url: "/StockQuantityChangeRecord/",
        sortName: "id",
        sortName: "CreateDate",
      });
      const editFormFields = ref({
        deviceCode: "",
        deviceName: "",
        deviceType: "",
        deviceStatus: "",
        deviceIp: "",
        devicePort: "",
        devicePlcType: "",
        deviceRemark: "",
      });
      const editFormOptions = ref([
        [
          {
            title: "设备编号",
            required: true,
            field: "deviceCode",
            type: "string",
          },
          {
            title: "设备名称",
            required: true,
            field: "deviceName",
            type: "string",
          },
          {
            title: "设备类型",
            required: true,
            field: "deviceType",
            type: "string",
          },
          {
            title: "设备状态",
            required: true,
            field: "deviceStatus",
            type: "string",
          },
        ],
        [
          { title: "设备IP", required: true, field: "deviceIp", type: "string" },
          {
            title: "设备端口",
            required: true,
            field: "devicePort",
            type: "string",
          },
          {
            title: "PLC类型",
            required: true,
            field: "devicePlcType",
            type: "string",
          },
          {
            title: "备注",
            field: "deviceRemark",
            type: "string",
          },
        ],
      ]);
      const searchFormFields = ref({
        deviceCode: "",
        deviceType: "",
        deviceStatus: "",
        palleCode: "",
        materielCode: "",
        orderNo: "",
      });
      const searchFormOptions = ref([
        [
          { title: "设备编号", field: "deviceCode" },
          { title: "设备类型", field: "deviceType" },
          { title: "设备状态", field: "deviceStatus" },
          { title: "托盘号", field: "palleCode" },
          { title: "物料编号", field: "materielCode" },
          { title: "单据编号", field: "orderNo" },
          { title: "变动类型", field: "changeType" ,type: "selectList",dataKey: "stockChangeType",data: [],},
        ],
        [
          { title: "批次号", field: "batchNo" },
          { title: "任务号", field: "taskNum" },
          { title: "序列号", field: "serilNumber" },
        ],
      ]);
      const columns = ref([
@@ -109,7 +63,7 @@
        },
        {
          field: "stockDetailId",
          title: "设备主键",
          title: "库存明细ID",
          type: "string",
          width: 90,
          align: "left",
@@ -146,30 +100,17 @@
          field: "serilNumber",
          title: "序列号",
          type: "int",
          width: 120,
          width: 280,
          align: "left",
        },
        {
          field: "orderNo",
          title: "单据编号",
          type: "string",
          width: 200,
          width: 150,
          align: "left",
        },
        {
          field: "orderId",
          title: "单据主键",
          type: "string",
          width: 180,
          align: "left",
        },
        {
          field: "orderDetailId",
          title: "单据明细主键",
          type: "string",
          width: 120,
          align: "left",
        },
        {
          field: "taskNum",
          title: "任务号",
@@ -183,26 +124,27 @@
          type: "int",
          width: 120,
          align: "left",
          bind: { key: "stockChangeType", data: [] },
        },
        {
          field: "changeQuantity",
          title: "变动数量",
          type: "string",
          width: 200,
          width: 100,
          align: "left",
        },
        {
          field: "beforeQuantity",
          title: "变动前库存量",
          type: "string",
          width: 180,
          width: 100,
          align: "left",
        },
        {
          field: "afterQuantity",
          title: "变动后库存量",
          type: "string",
          width: 120,
          width: 100,
          align: "left",
        },
        {
@@ -234,6 +176,20 @@
          align: "left",
        },
        {
          field: "orderId",
          title: "单据主键",
          type: "string",
          width: 180,
          align: "left",
        },
        {
          field: "orderDetailId",
          title: "单据明细主键",
          type: "string",
          width: 120,
          align: "left",
        },
        {
          field: "remark",
          title: "备注",
          type: "string",