Explorar o código

fix: 报损报溢审批提交增加字段

liujt hai 5 meses
pai
achega
2b0acc2413

+ 4 - 1
src/views/bpm/handleTask/components/lossOverflowReport/submit.vue

@@ -124,9 +124,12 @@ import {approveTaskWithVariables, rejectTask} from '@/api/bpm/task';
                 id: this.businessId,
                 isAdd: filterArr.numKey == 'surplusQuantity' ? true : false,
                 packingNo: item.packageNo,
-                quantity: item[filterArr.numKey]
+                quantity: item[filterArr.numKey],
+                categoryId: item.categoryId,
+                batchNo: item.batchNo
               };
             });
+            console.log('params~~~', params);
             try {
               await storageApi.addSubtractStockPacking(params);
             } catch (error) {