|
@@ -63,17 +63,19 @@ export default {
|
|
|
personnelPost: this.form1.personnelPost,
|
|
|
personnelWorkshopid: this.form1.personnelWorkshopid,
|
|
|
personnelShifts: this.form1.personnelShifts,
|
|
|
- shipperId: this.form1.shipperId,
|
|
|
+ departmentId: this.form1.departmentId,
|
|
|
personnelTeam: this.form1.personnelTeam,
|
|
|
};
|
|
|
if(
|
|
|
- RmsPersonnel.personnelJobNumber ==null ||
|
|
|
- RmsPersonnel.personnelName ==null ||
|
|
|
- RmsPersonnel.personnelPost ==null ||
|
|
|
- RmsPersonnel.personnelWorkshopid==null ||
|
|
|
- RmsPersonnel.personnelShifts==null ||
|
|
|
- RmsPersonnel.departmentId==null
|
|
|
- )this.$message.error("存在空值!");
|
|
|
+ !RmsPersonnel.personnelJobNumber ||
|
|
|
+ !RmsPersonnel.personnelName ||
|
|
|
+ !RmsPersonnel.personnelPost ||
|
|
|
+ !RmsPersonnel.personnelShifts ||
|
|
|
+ !RmsPersonnel.departmentId
|
|
|
+ ){
|
|
|
+ this.$message.error("存在空值!");
|
|
|
+ return;
|
|
|
+ }
|
|
|
this.axios
|
|
|
.post(
|
|
|
"/api/v1/rms/updatePersonnel",
|