dengjunjie
5 天以前 5a23c3a4599a652f97de2316eabfb6dcbd1c2f38
н¨Îļþ¼Ð/WMS/src/views/stock/Dt_Inventory_Batch.vue
@@ -30,6 +30,7 @@
      productionDate: "",
      validityPeriod: "",
      remark: "",
      AvailableQuantity: "",
    });
    const editFormOptions = ref([
      [
@@ -66,9 +67,15 @@
          type: "number",
        },
        {
          title: "待出库数",
          title: "待出库数量",
          required: true,
          field: "outboundQuantity",
          type: "number",
        },
          {
          title: "可用库存数",
          required: true,
          field: "availableQuantity",
          type: "number",
        }
      ],
@@ -85,20 +92,20 @@
          field: "erpStockQuantity",
          type: "number",
        },
        {
          title: "库存差异",
          field: "status",
          type: "select",
          bind: { key: "stockDifference", data: [] }
        }
        // {
        //   title: "库存差异",
        //   field: "status",
        //   type: "select",
        //   bind: { key: "stockDifference", data: [] }
        // }
      ],
      [
        {
          title: "生产日期",
          field: "productionDate",
          type: "date",
          span: 12
        },
        // {
        //   title: "生产日期",
        //   field: "productionDate",
        //   type: "date",
        //   span: 12
        // },
        {
          title: "有效期至",
          field: "validityPeriod",
@@ -122,9 +129,9 @@
    });
    const searchFormOptions = ref([
      [
        { title: "物料编号", field: "materielCode" },
        { title: "物料名称", field: "materielName" },
        { title: "批次号", field: "batchNo" },
        { title: "物料编号", field: "materielCode" ,type: "like" },
        { title: "物料名称", field: "materielName" ,type: "like"},
        { title: "批次号", field: "batchNo" ,type: "like"},
      ],
    ]);
    const columns = ref([
@@ -175,7 +182,7 @@
      },
      {
        field: "outboundQuantity",
        title: "待出库数",
        title: "待出库数数量",
        type: "number",
        width: 100,
        align: "left",
@@ -187,6 +194,12 @@
        width: 100,
        align: "left",
      },
         {
          title: "可用库存数",
          required: true,
          field: "availableQuantity",
          type: "number",
        },
      {
        field: "erpStockQuantity",
        title: "ERP实际库存数",
@@ -194,21 +207,21 @@
        width: 120,
        align: "left",
      },
      {
        field: "status",
        title: "库存差异",
        type: "select",
        width: 100,
        align: "left",
        bind: { key: "stockDifference", data: [] },
      },
      {
        field: "productionDate",
        title: "生产日期",
        type: "date",
        width: 120,
        align: "left",
      },
      // {
      //   field: "status",
      //   title: "库存差异",
      //   type: "select",
      //   width: 100,
      //   align: "left",
      //   bind: { key: "stockDifference", data: [] },
      // },
      // {
      //   field: "productionDate",
      //   title: "生产日期",
      //   type: "date",
      //   width: 120,
      //   align: "left",
      // },
      {
        field: "validityPeriod",
        title: "有效期至",