Jelajahi Sumber

修改供应商开立页面关闭

cuixq 3 tahun lalu
induk
melakukan
8641bbefdb
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      front-vue/src/views/service/credit/financeOpen.vue

+ 3 - 2
front-vue/src/views/service/credit/financeOpen.vue

@@ -1006,7 +1006,7 @@ export default {
                             //查询有无平台审批
                             var platParam = {};
                             platParam.menuId = "1000000004";
-                            var zfpPlatform = this.creditLineList.zfpPlatform;
+                            var zfpPlatform = _this.creditLineList.zfpPlatform;
                             console.log(zfpPlatform, "zfpPlatform");
                             isOpenApproval(platParam).then(response => {
                               var platResult = response.data.isOpen;
@@ -1074,6 +1074,7 @@ export default {
             //合计金额
             this.form.checkTotalAmt = this.moneyDelete(this.checkTotalAmt);
             console.log(this.form,"this.form2")
+            var self =this;
             addCredit(this.form)
               .then(response => {
                 loading.close();
@@ -1105,7 +1106,7 @@ export default {
                         //查询有无平台审批
                         var platParam = {};
                         platParam.menuId = "1000000004";
-                        var zfpPlatform = this.creditLineList.zfpPlatform;
+                        var zfpPlatform = self.creditLineList.zfpPlatform;
                         console.log(zfpPlatform, "zfpPlatform");
                         isOpenApproval(platParam).then(response => {
                           var platResult = response.data.isOpen;