caojunjie 2 年 前
コミット
181d9329f0

+ 1 - 1
src/views/InventoryManagement/inventory/detailsPage.vue

@@ -121,7 +121,7 @@ export default {
             label: "盘点日期",
             prop: "stockTime",
             type: "datetime",
-            format: "yyyy-MM-dd HH:mm:ss",
+            format: "yyyy-MM-dd HH:mm",
             valueFormat: "yyyy-MM-dd HH:mm:ss",
             rules: [
               {

+ 2 - 2
src/views/businessManagement/purchaseOrder/configuration/mainList.json

@@ -165,7 +165,7 @@
     {
       "label": "来源单号",
       "prop": "orgOrderNo",
-      "search": false,
+      "search": true,
       "index": 14,
       "width": 100,
       "overHidden": true
@@ -307,4 +307,4 @@
       "overHidden": true
     }
   ]
-}
+}

+ 5 - 1
src/views/financing/financingLedger/js/optionList2.js

@@ -46,6 +46,10 @@ export const option ={
       label: "融资金额",
       prop: "financingAmount",
     },
+    {
+      label: "通过公司",
+      prop: "company",
+    }
   ]
 }
 export const optionList ={
@@ -173,4 +177,4 @@ export const optionList ={
       index: 10
     }
   ]
-}
+}

+ 1 - 1
src/views/financing/financingManagement/detailsPage.vue

@@ -95,7 +95,7 @@ export default {
             label: "通过公司",
             prop: "companyId",
             rules: [{
-                required: true,
+                required: false,
                 message: "",
                 trigger: "blur"
             }],

+ 5 - 1
src/views/financing/financingManagement/js/optionList.js

@@ -49,6 +49,10 @@ export const option ={
       prop: "financingAmount",
     },
     {
+      label: "通过公司",
+      prop: "company",
+    },
+    {
       label: "状态",
       prop: "status",
       type: "select",
@@ -125,4 +129,4 @@ export const optionList ={
       width: 120,
     },
   ]
-}
+}

+ 223 - 44
src/views/purchasingManagement/inStock/detailsPage.vue

@@ -251,7 +251,7 @@ export default {
             prop: "stockTime",
             type: "datetime",
             value: dateFormat(new Date(),'yyyy-MM-dd hh:mm:ss'),
-            format: "yyyy-MM-dd HH:mm:ss",
+            format: "yyyy-MM-dd HH:mm",
             valueFormat: "yyyy-MM-dd HH:mm:ss",
             rules: [
               {
@@ -583,26 +583,86 @@ export default {
           cancelButtonText: "取消",
           type: "warning"
         }).then(() => {
-          if (this.itemsVOList.length == 0) {
-            return this.$message({
-              type: "warning",
-              message: "无明细不允许提交!"
-            });
-          }
-          this.subLoading = true;
-          withdraw({
-            id: this.form.id,
-            type: "RK",
-            status: 1,
-            isIssue: 1
-          }).then(res => {
-            this.$message({
-              type: "success",
-              message: "提交成功!"
-            });
-            this.getDetail(this.form.id);
-            this.subLoading = false;
-          })
+            for (let i = 0; i < this.itemsVOList.length; i++) {
+              // if (validatenull(this.itemsVOList[i].storageId)) {
+              //   return this.$message.error('请完善第' + (i + 1) + '行的库区')
+              // }
+              if (validatenull(this.itemsVOList[i].itemId)) {
+                return this.$message.error('请完善第' + (i + 1) + '行的品名')
+              }
+              // if (validatenull(this.itemsVOList[i].itemType)) {
+              //   return this.$message.error('请完善第' + (i + 1) + '行的品牌')
+              // }
+              // if (validatenull(this.itemsVOList[i].grade)) {
+              //   return this.$message.error('请完善第' + (i + 1) + '行的等级')
+              // }
+              if (validatenull(this.itemsVOList[i].billNo)) {
+                return this.$message.error('请完善第' + (i + 1) + '行的捆包号')
+              }
+              // if (validatenull(this.itemsVOList[i].sliceNumber)) {
+              //   return this.$message.error('请完善第' + (i + 1) + '行的片数')
+              // }
+              if (validatenull(this.itemsVOList[i].storageInQuantity)) {
+                return this.$message.error('请完善第' + (i + 1) + '行的入库量')
+              }
+              // if (validatenull(this.itemsVOList[i].unit)) {
+              //   return this.$message.error('请完善第' + (i + 1) + '行的入库单位')
+              // }
+              if (this.form.arrival == 1) {
+                if (validatenull(this.itemsVOList[i].price)) {
+                  return this.$message.error('请完善第' + (i + 1) + '行的入库单价')
+                }
+              }
+            }
+            this.itemsVOList.forEach((e, index) => {
+              e.sort = Number(index) + 1
+            })
+            let orderFeesList = this.$refs.feeInfo.submitData();
+            this.subLoading = true;
+            let data = {
+              ...this.form,
+              billType: 'RK',
+              itemsVOList: this.itemsVOList,
+              orderFeesList: orderFeesList,
+              orderFilesList: this.orderFilesList
+            };
+            submit(data).then(res => {
+              this.form = res.data.data;
+              this.itemsVOList = res.data.data.itemsVOList;
+              this.orderFeesList = res.data.data.orderFeesList;
+              this.orderFilesList = res.data.data.orderFilesList;
+              this.oldform = this.deepClone(res.data.data);
+              this.olditemsVOList = this.deepClone(res.data.data.itemsVOList);
+              this.oldorderFeesList = this.deepClone(res.data.data.orderFeesList);
+              this.oldorderFilesList = this.deepClone(res.data.data.orderFilesList);
+              this.$message({
+                type: "success",
+                message: "保存成功!"
+              });
+              if (!this.detailData.id){
+                this.detailData.id = res.data.data.id
+              }
+              if (this.itemsVOList.length == 0) {
+                this.subLoading = false
+                return this.$message({
+                  type: "warning",
+                  message: "无明细不允许提交!"
+                });
+              }
+              withdraw({
+                id: this.form.id,
+                type: "RK",
+                status: 1,
+                isIssue: 1
+              }).then(res => {
+                this.$message({
+                  type: "success",
+                  message: "提交成功!"
+                });
+                this.getDetail(this.form.id);
+                this.subLoading = false;
+              })
+            })
         })
       } else {
         this.$confirm("是否确认撤销?", {
@@ -610,19 +670,79 @@ export default {
           cancelButtonText: "取消",
           type: "warning"
         }).then(() => {
+          for (let i = 0; i < this.itemsVOList.length; i++) {
+            // if (validatenull(this.itemsVOList[i].storageId)) {
+            //   return this.$message.error('请完善第' + (i + 1) + '行的库区')
+            // }
+            if (validatenull(this.itemsVOList[i].itemId)) {
+              return this.$message.error('请完善第' + (i + 1) + '行的品名')
+            }
+            // if (validatenull(this.itemsVOList[i].itemType)) {
+            //   return this.$message.error('请完善第' + (i + 1) + '行的品牌')
+            // }
+            // if (validatenull(this.itemsVOList[i].grade)) {
+            //   return this.$message.error('请完善第' + (i + 1) + '行的等级')
+            // }
+            if (validatenull(this.itemsVOList[i].billNo)) {
+              return this.$message.error('请完善第' + (i + 1) + '行的捆包号')
+            }
+            // if (validatenull(this.itemsVOList[i].sliceNumber)) {
+            //   return this.$message.error('请完善第' + (i + 1) + '行的片数')
+            // }
+            if (validatenull(this.itemsVOList[i].storageInQuantity)) {
+              return this.$message.error('请完善第' + (i + 1) + '行的入库量')
+            }
+            // if (validatenull(this.itemsVOList[i].unit)) {
+            //   return this.$message.error('请完善第' + (i + 1) + '行的入库单位')
+            // }
+            if (this.form.arrival == 1) {
+              if (validatenull(this.itemsVOList[i].price)) {
+                return this.$message.error('请完善第' + (i + 1) + '行的入库单价')
+              }
+            }
+          }
+          this.itemsVOList.forEach((e, index) => {
+            e.sort = Number(index) + 1
+          })
+          let orderFeesList = this.$refs.feeInfo.submitData();
           this.subLoading = true;
-          withdraw({
-            id: this.form.id,
-            type: "RK",
-            status: 0,
-            isIssue: 0
-          }).then(res => {
+          let data = {
+            ...this.form,
+            billType: 'RK',
+            itemsVOList: this.itemsVOList,
+            orderFeesList: orderFeesList,
+            orderFilesList: this.orderFilesList
+          };
+          submit(data).then(res => {
+            this.form = res.data.data;
+            this.itemsVOList = res.data.data.itemsVOList;
+            this.orderFeesList = res.data.data.orderFeesList;
+            this.orderFilesList = res.data.data.orderFilesList;
+            this.oldform = this.deepClone(res.data.data);
+            this.olditemsVOList = this.deepClone(res.data.data.itemsVOList);
+            this.oldorderFeesList = this.deepClone(res.data.data.orderFeesList);
+            this.oldorderFilesList = this.deepClone(res.data.data.orderFilesList);
             this.$message({
               type: "success",
-              message: "撤销成功!"
+              message: "保存成功!"
             });
-            this.getDetail(this.form.id);
-            this.subLoading = false;
+            if (!this.detailData.id){
+              this.detailData.id = res.data.data.id
+            }
+
+            withdraw({
+              id: this.form.id,
+              type: "RK",
+              status: 0,
+              isIssue: 0
+            }).then(res => {
+              this.$message({
+                type: "success",
+                message: "撤销成功!"
+              });
+              this.getDetail(this.form.id);
+              this.subLoading = false;
+            })
           })
         })
       }
@@ -714,22 +834,81 @@ export default {
             cancelButtonText: "取消",
             type: "warning"
           }).then(() => {
-            const data = {
-              id: this.form.id,
-              checkType: 'RK',
-              url: '/purchasingManagement/inStock/index',
-              pageStatus: "this.$store.getters.entranceXsStatus",
-              pageLabel: "入库管理",
-              checkFlag: 1,
+            for (let i = 0; i < this.itemsVOList.length; i++) {
+              // if (validatenull(this.itemsVOList[i].storageId)) {
+              //   return this.$message.error('请完善第' + (i + 1) + '行的库区')
+              // }
+              if (validatenull(this.itemsVOList[i].itemId)) {
+                return this.$message.error('请完善第' + (i + 1) + '行的品名')
+              }
+              // if (validatenull(this.itemsVOList[i].itemType)) {
+              //   return this.$message.error('请完善第' + (i + 1) + '行的品牌')
+              // }
+              // if (validatenull(this.itemsVOList[i].grade)) {
+              //   return this.$message.error('请完善第' + (i + 1) + '行的等级')
+              // }
+              if (validatenull(this.itemsVOList[i].billNo)) {
+                return this.$message.error('请完善第' + (i + 1) + '行的捆包号')
+              }
+              // if (validatenull(this.itemsVOList[i].sliceNumber)) {
+              //   return this.$message.error('请完善第' + (i + 1) + '行的片数')
+              // }
+              if (validatenull(this.itemsVOList[i].storageInQuantity)) {
+                return this.$message.error('请完善第' + (i + 1) + '行的入库量')
+              }
+              // if (validatenull(this.itemsVOList[i].unit)) {
+              //   return this.$message.error('请完善第' + (i + 1) + '行的入库单位')
+              // }
+              if (this.form.arrival == 1) {
+                if (validatenull(this.itemsVOList[i].price)) {
+                  return this.$message.error('请完善第' + (i + 1) + '行的入库单价')
+                }
+              }
             }
-            this.subLoading = true
-            checkWarehousing(data).then(res => {
-              if (res.data.success) {
-                this.$message.success("操作成功!")
+            this.itemsVOList.forEach((e, index) => {
+              e.sort = Number(index) + 1
+            })
+            let orderFeesList = this.$refs.feeInfo.submitData();
+            this.subLoading = true;
+            let data = {
+              ...this.form,
+              billType: 'RK',
+              itemsVOList: this.itemsVOList,
+              orderFeesList: orderFeesList,
+              orderFilesList: this.orderFilesList
+            };
+            submit(data).then(res => {
+              this.form = res.data.data;
+              this.itemsVOList = res.data.data.itemsVOList;
+              this.orderFeesList = res.data.data.orderFeesList;
+              this.orderFilesList = res.data.data.orderFilesList;
+              this.oldform = this.deepClone(res.data.data);
+              this.olditemsVOList = this.deepClone(res.data.data.itemsVOList);
+              this.oldorderFeesList = this.deepClone(res.data.data.orderFeesList);
+              this.oldorderFilesList = this.deepClone(res.data.data.orderFilesList);
+              this.$message({
+                type: "success",
+                message: "保存成功!"
+              });
+              if (!this.detailData.id){
+                this.detailData.id = res.data.data.id
+              }
+              const datat = {
+                id: this.form.id,
+                checkType: 'RK',
+                url: '/purchasingManagement/inStock/index',
+                pageStatus: "this.$store.getters.entranceXsStatus",
+                pageLabel: "入库管理",
+                checkFlag: 1,
               }
-            }).finally(() => {
-              this.subLoading = false
-              this.getDetail(this.form.id)
+              checkWarehousing(datt).then(res => {
+                if (res.data.success) {
+                  this.$message.success("操作成功!")
+                }
+              }).finally(() => {
+                this.subLoading = false
+                this.getDetail(this.form.id)
+              })
             })
           })
         })

+ 199 - 61
src/views/salesManagement/outStock/detailsPage.vue

@@ -133,6 +133,7 @@
       </trade-card>
       <fee-info ref="feeInfo" :orderFeesList="orderFeesList"
                 :disabled="!(form.status == 2 || form.status == 0 || !form.status)"
+                :corpId="form.purchaserId"
                 feeUrl="/blade-purchase-sales/entranceOrder/removeOrderFees" :optionType="'CMY'" :itemType="'D'"
                 :inCropId="true" @beforeFinance="beforeFinance" :delType="2" :billingShow="false"/>
       <!-- <upload-file ref="uploadFile" title="合同附件" :disabled="detailData.status == 3" :orderFilesList="orderFilesList"
@@ -289,7 +290,7 @@ export default {
             prop: "stockTime",
             type: "datetime",
             value: dateFormat(new Date(),'yyyy-MM-dd hh:mm:ss'),
-            format: "yyyy-MM-dd HH:mm:ss",
+            format: "yyyy-MM-dd HH:mm",
             valueFormat: "yyyy-MM-dd HH:mm:ss",
             rules: [
               {
@@ -548,6 +549,14 @@ export default {
         })
         delete data[data.length - 1].id
       }
+      let dataList = this.form.billNo.split(',')
+      for (let item of this.goodsListSave){
+        dataList.push(item.mainBillNo)
+      }
+      let list = dataList.filter(function(value,index,self){
+        return self.indexOf(value) ===index;
+      });
+      this.form.billNo = list.join(',')
       this.itemsVOList = this.itemsVOList.concat(data)
       this.goodsListSave = []
       this.dialogVisible = false
@@ -701,7 +710,7 @@ export default {
             delete res.data.data.createTime
             delete res.data.data.createUser
             delete res.data.data.createUserName
-            delete res.data.data.sysNo
+            // delete res.data.data.sysNo
             delete res.data.data.status
             delete res.data.data.vehicleShipNumber
             delete res.data.data.stockUser
@@ -809,7 +818,193 @@ export default {
           cancelButtonText: "取消",
           type: "warning"
         }).then(() => {
-          this.subLoading = true
+          // for (let i = 0; i < this.itemsVOList.length; i++) {
+          //   if (validatenull(this.itemsVOList[i].storageId)) {
+          //     return this.$message.error('请完善第' + (i + 1) + '行的库区')
+          //   }
+          //   if (validatenull(this.itemsVOList[i].itemId)) {
+          //     return this.$message.error('请完善第' + (i + 1) + '行的品名')
+          //   }
+          //   if (validatenull(this.itemsVOList[i].itemType)) {
+          //     return this.$message.error('请完善第' + (i + 1) + '行的品牌')
+          //   }
+          //   if (validatenull(this.itemsVOList[i].grade)) {
+          //     return this.$message.error('请完善第' + (i + 1) + '行的等级')
+          //   }
+          //   if (validatenull(this.itemsVOList[i].billNo)) {
+          //     return this.$message.error('请完善第' + (i + 1) + '行的捆包号')
+          //   }
+          //   if (validatenull(this.itemsVOList[i].sliceNumber)) {
+          //     return this.$message.error('请完善第' + (i + 1) + '行的片数')
+          //   }
+          //   if (validatenull(this.itemsVOList[i].storageInQuantity)) {
+          //     return this.$message.error('请完善第' + (i + 1) + '行的入库量')
+          //   }
+          //   if (validatenull(this.itemsVOList[i].unit)) {
+          //     return this.$message.error('请完善第' + (i + 1) + '行的入库单位')
+          //   }
+          //   if (validatenull(this.itemsVOList[i].price)) {
+          //     return this.$message.error('请完善第' + (i + 1) + '行的入库单价')
+          //   }
+          // }
+          this.itemsVOList.forEach((e, index) => {
+            e.sort = Number(index) + 1
+          })
+          let orderFeesList = this.$refs.feeInfo.submitData();
+          this.subLoading = true;
+          let data = {
+            ...this.form,
+            billType: 'CK',
+            itemsVOList: this.itemsVOList,
+            orderFeesList: orderFeesList,
+            orderFilesList: this.orderFilesList
+          };
+          submit(data).then(res => {
+            this.form = res.data.data;
+            this.itemsVOList = res.data.data.itemsVOList;
+            this.orderFeesList = res.data.data.orderFeesList;
+            this.orderFilesList = res.data.data.orderFilesList;
+            this.oldform = this.deepClone(res.data.data);
+            this.olditemsVOList = this.deepClone(res.data.data.itemsVOList);
+            this.oldorderFeesList = this.deepClone(res.data.data.orderFeesList);
+            this.oldorderFilesList = this.deepClone(res.data.data.orderFilesList);
+            this.$message({
+              type: "success",
+              message: "保存成功!"
+            });
+            if (!this.detailData.id) {
+              this.detailData.id = res.data.data.id
+            }
+            if (this.itemsVOList.length == 0) {
+              this.subLoading = false
+              return this.$message({
+                type: "warning",
+                message: "无明细不允许提交!"
+              });
+            }
+            financingExcess({id: this.form.purchaserId}).then(res => {
+              if (res.data.data == '操作成功') {
+                this.$confirm("确定审核此订单?", {
+                  confirmButtonText: "确定",
+                  cancelButtonText: "取消",
+                  type: "warning"
+                }).then(() => {
+                  const data = {
+                    id: this.form.id,
+                    checkType: 'CK',
+                    status: this.form.status,
+                    url: '/salesManagement/outStock/index',
+                    pageStatus: "this.$store.getters.entranceXsStatus",
+                    pageLabel: "出库管理",
+                    checkFlag: 2,
+                  }
+                  checkWarehousing(data).then(res => {
+                    if (res.data.success) {
+                      this.$message.success("操作成功!")
+                      this.viewDisabled = true
+                      this.approverDisabled = true
+                    }
+                  }).finally(() => {
+                    this.subLoading = false
+                    this.getDetail(this.form.id)
+                  })
+                })
+              } else {
+                this.$confirm(res.data.data, {
+                  confirmButtonText: "确定",
+                  cancelButtonText: "取消",
+                  type: "warning"
+                }).then(() => {
+                  this.subLoading = true
+                  const data = {
+                    id: this.form.id,
+                    checkType: 'CK',
+                    status: this.form.status,
+                    url: '/salesManagement/outStock/index',
+                    pageStatus: "this.$store.getters.entranceXsStatus",
+                    pageLabel: "出库管理",
+                    checkFlag: 2,
+                  }
+                  checkWarehousing(data).then(res => {
+                    if (res.data.success) {
+                      this.$message.success("操作成功!")
+                      this.viewDisabled = true
+                      this.approverDisabled = true
+                    }
+                  }).finally(() => {
+                    this.subLoading = false
+                    this.getDetail(this.form.id)
+                  })
+                })
+              }
+            })
+          })
+        })
+      } else {
+        // for (let i = 0; i < this.itemsVOList.length; i++) {
+        //   if (validatenull(this.itemsVOList[i].storageId)) {
+        //     return this.$message.error('请完善第' + (i + 1) + '行的库区')
+        //   }
+        //   if (validatenull(this.itemsVOList[i].itemId)) {
+        //     return this.$message.error('请完善第' + (i + 1) + '行的品名')
+        //   }
+        //   if (validatenull(this.itemsVOList[i].itemType)) {
+        //     return this.$message.error('请完善第' + (i + 1) + '行的品牌')
+        //   }
+        //   if (validatenull(this.itemsVOList[i].grade)) {
+        //     return this.$message.error('请完善第' + (i + 1) + '行的等级')
+        //   }
+        //   if (validatenull(this.itemsVOList[i].billNo)) {
+        //     return this.$message.error('请完善第' + (i + 1) + '行的捆包号')
+        //   }
+        //   if (validatenull(this.itemsVOList[i].sliceNumber)) {
+        //     return this.$message.error('请完善第' + (i + 1) + '行的片数')
+        //   }
+        //   if (validatenull(this.itemsVOList[i].storageInQuantity)) {
+        //     return this.$message.error('请完善第' + (i + 1) + '行的入库量')
+        //   }
+        //   if (validatenull(this.itemsVOList[i].unit)) {
+        //     return this.$message.error('请完善第' + (i + 1) + '行的入库单位')
+        //   }
+        //   if (validatenull(this.itemsVOList[i].price)) {
+        //     return this.$message.error('请完善第' + (i + 1) + '行的入库单价')
+        //   }
+        // }
+        this.itemsVOList.forEach((e, index) => {
+          e.sort = Number(index) + 1
+        })
+        let orderFeesList = this.$refs.feeInfo.submitData();
+        this.subLoading = true;
+        let data = {
+          ...this.form,
+          billType: 'CK',
+          itemsVOList: this.itemsVOList,
+          orderFeesList: orderFeesList,
+          orderFilesList: this.orderFilesList
+        };
+        submit(data).then(res => {
+          this.form = res.data.data;
+          this.itemsVOList = res.data.data.itemsVOList;
+          this.orderFeesList = res.data.data.orderFeesList;
+          this.orderFilesList = res.data.data.orderFilesList;
+          this.oldform = this.deepClone(res.data.data);
+          this.olditemsVOList = this.deepClone(res.data.data.itemsVOList);
+          this.oldorderFeesList = this.deepClone(res.data.data.orderFeesList);
+          this.oldorderFilesList = this.deepClone(res.data.data.orderFilesList);
+          this.$message({
+            type: "success",
+            message: "保存成功!"
+          });
+          if (!this.detailData.id) {
+            this.detailData.id = res.data.data.id
+          }
+          if (this.itemsVOList.length == 0) {
+            this.subLoading = false
+            return this.$message({
+              type: "warning",
+              message: "无明细不允许提交!"
+            });
+          }
           financingExcess({id: this.form.purchaserId}).then(res => {
             if (res.data.data == '操作成功') {
               this.$confirm("确定审核此订单?", {
@@ -817,6 +1012,7 @@ export default {
                 cancelButtonText: "取消",
                 type: "warning"
               }).then(() => {
+                this.subLoading = true
                 const data = {
                   id: this.form.id,
                   checkType: 'CK',
@@ -867,64 +1063,6 @@ export default {
             }
           })
         })
-      } else {
-        financingExcess({id: this.form.purchaserId}).then(res => {
-          if (res.data.data == '操作成功') {
-            this.$confirm("确定审核此订单?", {
-              confirmButtonText: "确定",
-              cancelButtonText: "取消",
-              type: "warning"
-            }).then(() => {
-              this.subLoading = true
-              const data = {
-                id: this.form.id,
-                checkType: 'CK',
-                status: this.form.status,
-                url: '/salesManagement/outStock/index',
-                pageStatus: "this.$store.getters.entranceXsStatus",
-                pageLabel: "出库管理",
-                checkFlag: 2,
-              }
-              checkWarehousing(data).then(res => {
-                if (res.data.success) {
-                  this.$message.success("操作成功!")
-                  this.viewDisabled = true
-                  this.approverDisabled = true
-                }
-              }).finally(() => {
-                this.subLoading = false
-                this.getDetail(this.form.id)
-              })
-            })
-          } else {
-            this.$confirm(res.data.data, {
-              confirmButtonText: "确定",
-              cancelButtonText: "取消",
-              type: "warning"
-            }).then(() => {
-              this.subLoading = true
-              const data = {
-                id: this.form.id,
-                checkType: 'CK',
-                status: this.form.status,
-                url: '/salesManagement/outStock/index',
-                pageStatus: "this.$store.getters.entranceXsStatus",
-                pageLabel: "出库管理",
-                checkFlag: 2,
-              }
-              checkWarehousing(data).then(res => {
-                if (res.data.success) {
-                  this.$message.success("操作成功!")
-                  this.viewDisabled = true
-                  this.approverDisabled = true
-                }
-              }).finally(() => {
-                this.subLoading = false
-                this.getDetail(this.form.id)
-              })
-            })
-          }
-        })
       }
     },
     revokeCheck() {