Browse Source

交接单bug

cz 1 year ago
parent
commit
ee7c51d315
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/components/process/SendPurchase.vue

+ 1 - 3
src/components/process/SendPurchase.vue

@@ -711,9 +711,7 @@ watch(
         route.query.processType == 20 ||
         route.query.processType == 30)
     ) {
-      for (const key in props.queryData) {
-        formData.data[key] = props.queryData[key];
-      }
+      formData.data = proxy.deepClone(props.queryData);
       const ids = formData.data.purchaseDetailList.map((x) => x.bussinessId);
       if (formData.data.supplyId && ids.length > 0) {
         getAuxiliaryData(formData.data.supplyId, ids);