|
|
@@ -99,7 +99,7 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col> -->
|
|
|
- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
+ <!-- <el-col :span="8" style="margin-bottom: 22px">
|
|
|
<el-form-item label="产线:" prop="productionLineId">
|
|
|
<el-select
|
|
|
v-model="form.productionLineId"
|
|
|
@@ -115,7 +115,7 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- </el-col>
|
|
|
+ </el-col> -->
|
|
|
<el-col :span="8" style="margin-bottom: 22px">
|
|
|
<el-form-item label="工作中心:" prop="workCenterId">
|
|
|
<div class="location-warp">
|
|
|
@@ -215,7 +215,7 @@
|
|
|
code: '',
|
|
|
leaderUserId: '',
|
|
|
name: '',
|
|
|
- productionLineId: [],
|
|
|
+ // productionLineId: [],
|
|
|
userIds: '',
|
|
|
userNumber: '',
|
|
|
// workshopPlanId: null,
|
|
|
@@ -249,9 +249,9 @@
|
|
|
{ required: true, message: '请选择所属工厂', trigger: 'change' }
|
|
|
],
|
|
|
|
|
|
- productionLineId: [
|
|
|
- { required: true, message: '请输入', trigger: 'change' }
|
|
|
- ],
|
|
|
+ // productionLineId: [
|
|
|
+ // { required: true, message: '请输入', trigger: 'change' }
|
|
|
+ // ],
|
|
|
|
|
|
workCenterId: [
|
|
|
{ required: true, message: '请选择工作中心', trigger: 'change' }
|
|
|
@@ -262,7 +262,7 @@
|
|
|
loading: false,
|
|
|
options: {
|
|
|
workshopId: [],
|
|
|
- productionLineId: [],
|
|
|
+ // productionLineId: [],
|
|
|
workCenterList: []
|
|
|
},
|
|
|
|
|
|
@@ -317,7 +317,7 @@
|
|
|
// 获取下拉列表
|
|
|
// await this.getlistWorkshopByParentId();
|
|
|
// await this.getlistCf();
|
|
|
- await this.getlistFactoryLineByParentId();
|
|
|
+ // await this.getlistFactoryLineByParentId();
|
|
|
await this.getlistByProductionLineId();
|
|
|
}
|
|
|
if (type != 'edit') {
|
|
|
@@ -396,11 +396,11 @@
|
|
|
this.workshopPlanList = [];
|
|
|
// this.form.workshopId = '';
|
|
|
this.options.workshopId = [];
|
|
|
- this.form.productionLineId = '';
|
|
|
- this.options.productionLineId = [];
|
|
|
+ // this.form.productionLineId = '';
|
|
|
+ // this.options.productionLineId = [];
|
|
|
|
|
|
// this.getlistCf();
|
|
|
- this.getlistFactoryLineByParentId();
|
|
|
+ // this.getlistFactoryLineByParentId();
|
|
|
this.form.workCenterId = null;
|
|
|
this.form.workCenterIds = [];
|
|
|
this.options.workCenterList = [];
|
|
|
@@ -469,18 +469,18 @@
|
|
|
change_workshopPlanId() {
|
|
|
this.form.workshopId = '';
|
|
|
this.options.workshopId = [];
|
|
|
- this.form.productionLineId = '';
|
|
|
- this.options.productionLineId = [];
|
|
|
+ // this.form.productionLineId = '';
|
|
|
+ // this.options.productionLineId = [];
|
|
|
|
|
|
this.getlistWorkshopByParentId();
|
|
|
},
|
|
|
// 选择车间
|
|
|
change_workshopId() {
|
|
|
- this.form.productionLineId = '';
|
|
|
+ // this.form.productionLineId = '';
|
|
|
|
|
|
- this.options.productionLineId = [];
|
|
|
+ // this.options.productionLineId = [];
|
|
|
|
|
|
- this.getlistFactoryLineByParentId();
|
|
|
+ // this.getlistFactoryLineByParentId();
|
|
|
},
|
|
|
|
|
|
async getVersionList() {
|