1
yangpeixing
2026-04-01 67d4e9ca4267049cc67cff15828080d2d5dfce0b
WMS/WIDESEA_WMSClient/src/views/stock/stockInfoDetail.vue
@@ -18,14 +18,10 @@
      sortName: "id",
    });
    const editFormFields = ref({
      deviceCode: "",
      deviceName: "",
      deviceType: "",
      deviceStatus: "",
      deviceIp: "",
      devicePort: "",
      devicePlcType: "",
      deviceRemark: "",
      materielCode: "",
      materielName: "",
      orderNo: "",
      serialNumber: "",
    });
    const editFormOptions = ref([
      [
@@ -63,31 +59,17 @@
    });
    const searchFormOptions = ref([
      [
        { title: "物料编号", field: "materielCode",type:"like"},
        { title: "物料名称", field: "materielName",type:"like" },
        { title: "物料详情", field: "orderNo" ,type:"like"},
        { title: "物料编号", field: "materielCode",type :"like"},
        { title: "物料名称", field: "materielName",type :"like"},
        { title: "单据编号", field: "orderNo",type :"like"},
        { title: "关联库存编号", field: "stockId",type :"int"},
      ],
      [
      { title: "物料批次", field: "batchNo",type:"like" },
        { title: "物料批次详情", field: "batchNoName",type:"like" },
        { title: "重量", field: "stockQuantity",type:"like" },
        { title: "批次号", field: "batchNo",type :"like"},
        {title: "库存明细状态",field: "status",type: "select",dataKey:"stockStatusEmun", data: []},
        { title: "供应商批次", field: "supplierBatch",type :"like"},
        { title: "创建日期",field: "createDate",type: "datetime"},
      ],
      [
      {
          title: "库存明细状态",
          field: "stockQuantity",
          type:"like"
        },
        {
        field: "stockId",
        title: "库存信息主键",
        type: "string",
        width: 90,
        align: "left",
      },
      ]
    ]);
    const columns = ref([
      {
@@ -106,7 +88,7 @@
        type: "string",
        width: 90,
        align: "left",
        sort:true,
        // sort:true,
      },
      {
        field: "materielCode",
@@ -114,7 +96,7 @@
        type: "string",
        width: 150,
        align: "left",
        sort:true,
        // sort:true,
      },
      {
        field: "materielName",
@@ -122,15 +104,7 @@
        type: "string",
        width: 150,
        align: "left",
        sort:true,
      },
      {
        field: "orderNo",
        title: "物料详情",
        type: "decimal",
        width: 90,
        align: "left",
        sort:true,
        // sort:true,
      },
      {
        field: "batchNo",
@@ -138,31 +112,29 @@
        type: "string",
        width: 120,
        align: "left",
        sort:true,
        // sort:true,
      },
      {
        field: "serialNumber",
        title: "包号",
        field: "orderNo",
        title: "单据编号",
        type: "string",
        width: 50,
        width: 180,
        align: "left",
        sort:true,
        },
      },
      {
        field: "batchNoName",
        title: "物料批次详情",
        type: "int",
        width: 120,
        field: "supplierBatch",
        title: "供应商批次",
        type: "string",
        width: 150,
        align: "left",
        sort:true,
      },
      {
        field: "stockQuantity",
        title: "重量",
        title: "物料数量",
        type: "string",
        width: 80,
        align: "left",
        sort:true,
      },
      {
        field: "status",
@@ -170,7 +142,6 @@
        type: "string",
        width: 120,
        align: "left",
        sort:true,
        bind: { key: "stockStatusEmun", data: [] },
      },
      {
@@ -179,7 +150,7 @@
        type: "string",
        width: 90,
        align: "left",
        sort:true,
        // sort:true,
      },
      {
        field: "createDate",