|
@@ -2718,6 +2718,10 @@ export default {
|
|
jobNumber: res.data.jobNumber,
|
|
jobNumber: res.data.jobNumber,
|
|
workTypeId: res.data.workTypeId
|
|
workTypeId: res.data.workTypeId
|
|
};
|
|
};
|
|
|
|
+ if(this.insertForm.workTypeId == 0){
|
|
|
|
+ this.insertForm.workTypeId = null
|
|
|
|
+ }
|
|
|
|
+
|
|
this.$set(this.insertForm, 'inductionDate', res.data.inductionDate)
|
|
this.$set(this.insertForm, 'inductionDate', res.data.inductionDate)
|
|
this.getUserCustomConfig(1);
|
|
this.getUserCustomConfig(1);
|
|
this.getAllWorkType()
|
|
this.getAllWorkType()
|