Ver Fonte

批次号修改

yusheng há 1 ano atrás
pai
commit
a451e40189
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/bpm/stockManagement/storage.vue

+ 2 - 2
src/views/bpm/stockManagement/storage.vue

@@ -1266,7 +1266,7 @@
                 categoryModel: item.modelType, // 物品型号
                 specification: item.specification, // 规格
                 brandNum: item.brandNum, // 牌号
-                batchNo: batchNo, // 批次号
+                batchNo: this.saleProductList[index]?.batchNo||batchNo, // 批次号
                 supplierListOptions: supplierList[item.id], // 供应商列表
                 supplierId: this.form.supplierId, // 供应商id
                 supplierCode: this.form.supplierCode, // 供应商代号
@@ -1603,7 +1603,7 @@
                       (val) => val.categoryCode == item.productCode
                     ).index
                   : this.productList[0].index, // 产品索引
-                batchNo: this.productList[0].batchNo, // 批次号
+                batchNo: item.batchNo||this.productList[0].batchNo, // 批次号
                 packageNo: packingCodeList[index]?.onlyCode, // 包装编码
                 packingQuantity: 1, // 包装数量
                 packingUnit: item.packingUnit, // 单位