|
|
@@ -147,10 +147,10 @@
|
|
|
<el-select
|
|
|
style="width: 240px"
|
|
|
clearable
|
|
|
- v-model="infoForm.centerId"
|
|
|
+ v-model="infoForm.workCenterId"
|
|
|
filterable
|
|
|
placeholder="请选择工作中心"
|
|
|
- @change="changeWorlCenter(infoForm.centerId)"
|
|
|
+ @change="changeWorlCenter(infoForm.workCenterId)"
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in workCenterList"
|
|
|
@@ -261,7 +261,7 @@
|
|
|
},
|
|
|
infoForm: {
|
|
|
factoryId: '',
|
|
|
- centerId: '',
|
|
|
+ workCenterId: '',
|
|
|
teamId: '',
|
|
|
workStationId: '',
|
|
|
deviceId: '',
|
|
|
@@ -388,7 +388,7 @@
|
|
|
|
|
|
async getUserAllInfo() {
|
|
|
this.infoForm.factoryId = '';
|
|
|
- this.infoForm.centerId = '';
|
|
|
+ this.infoForm.workCenterId = '';
|
|
|
this.infoForm.teamId = '';
|
|
|
this.infoForm.workStationId = '';
|
|
|
this.infoForm.deviceId = '';
|
|
|
@@ -403,7 +403,7 @@
|
|
|
},
|
|
|
|
|
|
changeWorlCenter(centerId) {
|
|
|
- this.infoForm.centerId = centerId;
|
|
|
+ this.infoForm.workCenterId = centerId;
|
|
|
this.infoForm.workStationId = '';
|
|
|
|
|
|
const workCenterData = this.workCenterList.find(
|
|
|
@@ -421,7 +421,7 @@
|
|
|
changeTeam(teamId) {
|
|
|
this.infoForm.teamId = teamId;
|
|
|
this.infoForm.deviceId = '';
|
|
|
- this.infoForm.centerId = '';
|
|
|
+ this.infoForm.workCenterId = '';
|
|
|
|
|
|
console.log(this.userData, teamId, '111');
|
|
|
|
|
|
@@ -439,7 +439,7 @@
|
|
|
},
|
|
|
|
|
|
infoClick() {
|
|
|
- if (!this.infoForm.centerId) {
|
|
|
+ if (!this.infoForm.workCenterId) {
|
|
|
return this.$message.warning('请选择工作中心');
|
|
|
}
|
|
|
|