|
@@ -43,7 +43,7 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
- <el-col v-bind="styleResponsive ? { lg: 5, md: 10 } : { span: 5 }">
|
|
|
|
|
|
|
+ <el-col v-bind="styleResponsive ? { lg: 5, md: 10 } : { span: 5 }" v-if="clientEnvironmentId != 4">
|
|
|
<el-form-item label="BOM版本:" prop="bomCategoryId">
|
|
<el-form-item label="BOM版本:" prop="bomCategoryId">
|
|
|
<el-select v-model="form.bomCategoryId" style="width: 100%" @change="changeBomId" >
|
|
<el-select v-model="form.bomCategoryId" style="width: 100%" @change="changeBomId" >
|
|
|
<el-option
|
|
<el-option
|
|
@@ -56,7 +56,7 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
- <el-col v-bind="styleResponsive ? { lg: 5, md: 10 } : { span: 5 }">
|
|
|
|
|
|
|
+ <el-col v-bind="styleResponsive ? { lg: 5, md: 10 } : { span: 5 }" v-if="clientEnvironmentId != 4">
|
|
|
<el-form-item label="工艺路线:" prop="produceRoutingId">
|
|
<el-form-item label="工艺路线:" prop="produceRoutingId">
|
|
|
<!-- @click.native="openVersion" -->
|
|
<!-- @click.native="openVersion" -->
|
|
|
<el-select v-model="form.produceRoutingId" style="width: 100%" @change="changeRoute">
|
|
<el-select v-model="form.produceRoutingId" style="width: 100%" @change="changeRoute">
|
|
@@ -70,6 +70,13 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
+ <el-col v-bind="styleResponsive ? { lg: 5, md: 10 } : { span: 5 }" v-if="clientEnvironmentId == 4">
|
|
|
|
|
+ <el-form-item label="工艺路线:" prop="produceRoutingId">
|
|
|
|
|
+ <el-input v-model="form.produceRoutingName" style="width: 100%" @click.native="openVersion" ></el-input>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<!-- <el-col v-bind="styleResponsive ? { lg: 3, md: 6 } : { span: 3 }">
|
|
<!-- <el-col v-bind="styleResponsive ? { lg: 3, md: 6 } : { span: 3 }">
|
|
|
<el-form-item label="使用改型:" prop="modification">
|
|
<el-form-item label="使用改型:" prop="modification">
|
|
|
<el-checkbox
|
|
<el-checkbox
|
|
@@ -697,9 +704,13 @@ export default {
|
|
|
async getPlanInfo(id) {
|
|
async getPlanInfo(id) {
|
|
|
const data = await getUpdateInfoById(id);
|
|
const data = await getUpdateInfoById(id);
|
|
|
this.form = data;
|
|
this.form = data;
|
|
|
- this.bomListVersion()
|
|
|
|
|
- this.getPlanRouting()
|
|
|
|
|
- this.bomListVersion()
|
|
|
|
|
|
|
+
|
|
|
|
|
+ if(this.clientEnvironmentId != 4) {
|
|
|
|
|
+ this.bomListVersion()
|
|
|
|
|
+ this.getPlanRouting()
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
async _getInventory() {
|
|
async _getInventory() {
|
|
@@ -740,6 +751,9 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
changeProduceType() {
|
|
changeProduceType() {
|
|
|
|
|
+ if(this.clientEnvironmentId == 4) {
|
|
|
|
|
+ return false
|
|
|
|
|
+ }
|
|
|
this.form.bomCategoryId = ''
|
|
this.form.bomCategoryId = ''
|
|
|
this.form['bomCategoryName'] = ''
|
|
this.form['bomCategoryName'] = ''
|
|
|
this.form['bomCategoryVersions'] = ''
|
|
this.form['bomCategoryVersions'] = ''
|