|
@@ -638,9 +638,12 @@ export default {
|
|
|
var that = this
|
|
|
setTimeout(function(){
|
|
|
if(that.processData.businessTable == 'incident_ticket'){ // 森语-质量事故单-自动生成事故单号
|
|
|
- that.getAction('/sys/user/getNextNo',{name:'accidentCode'}).then(res => {
|
|
|
+ if( that.processData.tableId==''|| !that.processData.tableId){
|
|
|
+ that.getAction('/sys/user/getNextNo',{name:'accidentCode'}).then(res => {
|
|
|
that.$refs.KFB.setData({accident_number:res})
|
|
|
- })
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
},200)
|
|
|
}
|