|
|
@@ -224,6 +224,7 @@ export default {
|
|
|
let userIds = this.$refs.userTable.datasource.map((n) => n.id);
|
|
|
if (userIds.length <= 0) {
|
|
|
this.$message.error('请选择员工');
|
|
|
+ this.loading = false;
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@@ -299,14 +300,14 @@ export default {
|
|
|
// 选择车间
|
|
|
change_workshopId() {
|
|
|
this.form.productionLineId = '';
|
|
|
- this.form.workStationIds = '';
|
|
|
+ this.form.workStationIds = [];
|
|
|
this.options.productionLineId = [];
|
|
|
this.options.workStationIds = [];
|
|
|
this.getlistFactoryLineByParentId();
|
|
|
},
|
|
|
// 选择产线
|
|
|
change_productionLineId() {
|
|
|
- this.form.workStationIds = '';
|
|
|
+ this.form.workStationIds = [];
|
|
|
this.options.workStationIds = [];
|
|
|
this.getlistByProductionLineId();
|
|
|
}
|