Browse Source

费用明细 审批数据参数

qinbai 3 years ago
parent
commit
db2b84d199

+ 21 - 15
src/components/fee-info/main.vue

@@ -648,26 +648,32 @@ export default {
               type: "warning",
             }).then(()=>{
               this.buttonLoading = true
+
+              data.checkType = 'ffsq'
+              data.url = '/financialManagement/paymentRequest/index'
+              data.pageStatus = 'this.$store.getters.pqStatus'
+              data.pageLabel = '付费申请'
+
               applyLoan(data).then(res=>{
                 if(res.data.success){
                   this.$message.success("操作成功!")
                   this.$emit("afterFinance")
                   //跳转付费申请页面
-                  if(this.$store.getters.pqStatus){
-                    this.$alert("无法自动跳,因为付费申请页面已存在!", "温馨提示", {
-                      confirmButtonText: "确定",
-                      type: 'warning',
-                      callback: action => {
-                      }
-                    });
-                  }else{
-                    //关闭一下存在的列表页  跳转
-                    this.$router.$avueRouter.closeTag('/financialManagement/paymentRequest/index');
-                    this.$router.push({
-                      path: "/financialManagement/paymentRequest/index",
-                      query: {params: res.data.data.id},
-                    });
-                  }
+                  // if(this.$store.getters.pqStatus){
+                  //   this.$alert("无法自动跳,因为付费申请页面已存在!", "温馨提示", {
+                  //     confirmButtonText: "确定",
+                  //     type: 'warning',
+                  //     callback: action => {
+                  //     }
+                  //   });
+                  // }else{
+                  //   //关闭一下存在的列表页  跳转
+                  //   this.$router.$avueRouter.closeTag('/financialManagement/paymentRequest/index');
+                  //   this.$router.push({
+                  //     path: "/financialManagement/paymentRequest/index",
+                  //     query: {params: res.data.data.id},
+                  //   });
+                  // }
                 }
               }).finally(()=>{
                 this.buttonLoading = false

+ 9 - 0
src/views/financialManagement/paymentRequest/index.vue

@@ -105,9 +105,18 @@
           this.$store.commit("PQ_IN_DETAIL");
         }
         if(this.$route.query.params  && this.show){
+          let lockData = {
+            moduleName: 'sq',
+            tableName: 'business_order',
+            billId: this.$route.query.params,
+            no: localStorage.getItem('browserID'),
+            billNo:""
+          }
+
           this.detailData={
             id:this.$route.query.params,
             view:true,
+            lockData:lockData
           }
           this.show = false;
           this.$store.commit("PQ_IN_DETAIL");

+ 0 - 3
src/views/salesManagement/salesContract/detailsPage.vue

@@ -1143,9 +1143,6 @@ export default {
                 this.afterEcho(res.data.data)
               }).finally(()=>{
                 this.buttonLoading = false
-                this.unLock(this.lockData) //解锁
-                this.viewDisabled = true  //禁止编辑
-                this.checkDisabled = true
               })
             }
           })