|
@@ -633,6 +633,15 @@ export default {
|
|
|
this.$message.error(res.message);
|
|
|
}
|
|
|
})
|
|
|
+ }else if(item[1].label =='automatic'){
|
|
|
+ var that = this
|
|
|
+ setTimeout(function(){
|
|
|
+ if(that.processData.businessTable == 'incident_ticket'){ // 森语-质量事故单-自动生成事故单号
|
|
|
+ that.getAction('/sys/user/getNextNo',{name:'accidentCode'}).then(res => {
|
|
|
+ that.$refs.KFB.setData({accident_number:res})
|
|
|
+ })
|
|
|
+ }
|
|
|
+ },200)
|
|
|
}
|
|
|
},
|
|
|
// 获取申请人信息
|