002201 2 yıl önce
ebeveyn
işleme
d71b2ff5ec
1 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  1. 6 1
      src/views/purchase/apply/hooks/watch.js

+ 6 - 1
src/views/purchase/apply/hooks/watch.js

@@ -7,8 +7,13 @@ export default function useWatch() {
         );
       }
       if (newProp) {
-        const { puOrgCode: orgCode, puOrgName: orgName } = this.params;
+        const {
+          puOrg: org,
+          puOrgCode: orgCode,
+          puOrgName: orgName,
+        } = this.params;
         this.params.priceApplyOrgs.push({
+          org,
           orgCode,
           orgName,
           createByName: undefined,