Browse Source

修改业务编号

zhongtianhaoyuan 3 years ago
parent
commit
f3bb5b85e5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/houseSelfCollect/inspectionManagementNew.vue

+ 3 - 1
src/views/houseSelfCollect/inspectionManagementNew.vue

@@ -1919,8 +1919,10 @@
       },
       },
       warehousetypechange(status){
       warehousetypechange(status){
         this.serviceManagementType=status
         this.serviceManagementType=status
+        debugger
         if(status==3){
         if(status==3){
-          this.deptBudgetList.qualityNo='SGRK'+this.getTime()+this.warehouseNo+this.warehouseCount
+          this.warehouseCount = '000' + Number(this.warehouseCount + 1)
+          this.deptBudgetList.qualityNo='SGRK'+this.getTime()+this.warehouseNo+this.warehouseCount.substring(this.warehouseCount.length - 4)
         }
         }
         this.getList()
         this.getList()
       },
       },