Procházet zdrojové kódy

支付审批管理-自动生成付款编码/单据号

jbb před 2 roky
rodič
revize
61cea9ff72
1 změnil soubory, kde provedl 9 přidání a 2 odebrání
  1. 9 2
      src/views/activiti/form/demoForm2.vue

+ 9 - 2
src/views/activiti/form/demoForm2.vue

@@ -1648,13 +1648,20 @@ export default {
                                       }) 
                                     }
                                   }
-                if(this.processData.businessTable == 'payment_apply'){//技能博物馆-支付审批管理-自动生成单号
+                if(this.processData.businessTable == 'payment_apply'){//技能博物馆-支付审批管理-自动生成单号-付款编号
                     if( this.processData.tableId==''|| !this.processData.tableId){
-                         await  this.getAction('/sys/user/getNextNo',{name:'FK'}).then(res => {
+                         await  this.getAction('/sys/user/getNextNo',{name:'ZFSP'}).then(res => {
                             formData.payment_number=res
                         }) 
                     }
                 }
+                if(this.processData.businessTable == 'payment_apply'){//技能博物馆-支付审批管理-自动生成单号-单据号
+                    if( this.processData.tableId==''|| !this.processData.tableId){
+                         await  this.getAction('/sys/user/getNextNo',{name:'ZFSP'}).then(res => {
+                            formData.document_number=res
+                        }) 
+                    }
+                }
                 if(this.processData.businessTable == 'bwg_project_start'){//技能博物馆-项目启动-自动生成单号
                     if( this.processData.tableId==''|| !this.processData.tableId){
                          await  this.getAction('/sys/user/getNextNo',{name:'FK'}).then(res => {