|
|
@@ -230,6 +230,18 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
+ <el-col v-bind="styleResponsive ? { lg: 5, md: 10 } : { span: 5 }">
|
|
|
+ <el-form-item label="生产要求:" required>
|
|
|
+ <el-input
|
|
|
+ v-model="form.productionRequirements"
|
|
|
+ style="width: 100%"
|
|
|
+ placeholder=""
|
|
|
+ type="textarea"
|
|
|
+ disabled
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
<!-- <el-form-item label="生产类型:" prop="produceType">
|
|
|
<el-select v-model="form.produceType" style="width: 100%" @change="changeProduceType" >
|
|
|
<el-option
|
|
|
@@ -1120,6 +1132,8 @@
|
|
|
// if (data.endTime) {
|
|
|
// this.form.endTime = new Date(data.endTime);
|
|
|
// }
|
|
|
+ this.form.productionRequirements =
|
|
|
+ data?.salesOrders[0]?.productionRequirements || '';
|
|
|
if (!data.bomCategoryId || data.bomCategoryId == null) {
|
|
|
this.form.produceType = '';
|
|
|
this.selectionRowShow = true;
|
|
|
@@ -1273,8 +1287,10 @@
|
|
|
let params = JSON.parse(this.$route.query.selection);
|
|
|
productionToPlan(params).then((res) => {
|
|
|
this.form = deepClone(res);
|
|
|
- console.log(222222222222222222222222, '===');
|
|
|
+ console.log(222222222222222222222222, '===', res);
|
|
|
this.initTime();
|
|
|
+ this.form.productionRequirements =
|
|
|
+ res?.salesOrders[0]?.productionRequirements || '';
|
|
|
// this.bomListVersion('init');
|
|
|
this.form.produceRoutingName =
|
|
|
res.produceRoutingName || this.$route.query.produceRoutingName;
|