|
@@ -1760,6 +1760,48 @@ export default {
|
|
|
formData.document_number=res
|
|
|
})
|
|
|
}
|
|
|
+ }
|
|
|
+ if(this.processData.businessTable == 'bwg_repairs_record'){//技能博物馆-报修申请-自动生成单据号
|
|
|
+ if( this.processData.tableId==''|| !this.processData.tableId){
|
|
|
+ await this.getAction('/sys/user/getNextNo',{name:'BXSQ'}).then(res => {
|
|
|
+ formData.document_number=res
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(this.processData.businessTable == 'bwg_send_file'){//技能博物馆-发文登记-自动生成单据号
|
|
|
+ if( this.processData.tableId==''|| !this.processData.tableId){
|
|
|
+ await this.getAction('/sys/user/getNextNo',{name:'FWDJ'}).then(res => {
|
|
|
+ formData.document_number=res
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(this.processData.businessTable == 'add_assets_a'){//技能博物馆-处置申请-自动生成单据号
|
|
|
+ if( this.processData.tableId==''|| !this.processData.tableId){
|
|
|
+ await this.getAction('/sys/user/getNextNo',{name:'CZSQ'}).then(res => {
|
|
|
+ formData.document_number=res
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(this.processData.businessTable == 'bwg_seal_apply'){//技能博物馆-印章申请-自动生成单据号
|
|
|
+ if( this.processData.tableId==''|| !this.processData.tableId){
|
|
|
+ await this.getAction('/sys/user/getNextNo',{name:'YZSQ'}).then(res => {
|
|
|
+ formData.document_number=res
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(this.processData.businessTable == 'bwg_engrave_apply'){//技能博物馆-刻制印章申请-自动生成单据号
|
|
|
+ if( this.processData.tableId==''|| !this.processData.tableId){
|
|
|
+ await this.getAction('/sys/user/getNextNo',{name:'KZYZ'}).then(res => {
|
|
|
+ formData.document_number=res
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(this.processData.businessTable == 'application_form'){//技能博物馆-物料申领-自动生成单据号
|
|
|
+ if( this.processData.tableId==''|| !this.processData.tableId){
|
|
|
+ await this.getAction('/sys/user/getNextNo',{name:' WLSL'}).then(res => {
|
|
|
+ formData.document_number=res
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
this.btndisabled = true
|
|
|
await postFormDataAction(url, formData, { jsonContent: jsonPamats })
|