|
|
|
@ -244,16 +244,20 @@
|
|
|
|
|
<el-form ref="form" :model="form" :rules="addrules" label-width="80px">
|
|
|
|
|
<!-- 第一行 -->
|
|
|
|
|
<el-row>
|
|
|
|
|
|
|
|
|
|
<!-- 第一列 -->
|
|
|
|
|
<el-col :offset="1" :span="9">
|
|
|
|
|
<el-form-item label-width="100px" label="物料号" prop="prodCode">
|
|
|
|
|
<el-input @focus="selectMateriel" readonly v-model="form.prodCode" placeholder="点击选择物料"/>
|
|
|
|
|
<el-col :offset="1" :span="18">
|
|
|
|
|
<el-form-item label-width="100px" label="物料名称" prop="prodDesc">
|
|
|
|
|
<el-input type="textarea" clearable v-model="form.prodDesc" placeholder="点击选择物料"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :offset="0" :span="2">
|
|
|
|
|
<el-button icon="el-icon-search" circle @click="selectMateriel()"></el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!-- 第二列 -->
|
|
|
|
|
<el-col :offset="1" :span="9">
|
|
|
|
|
<el-form-item label-width="100px" label="物料名称" prop="prodDesc">
|
|
|
|
|
<el-input @focus="selectMateriel" readonly v-model="form.prodDesc" placeholder="点击选择物料"/>
|
|
|
|
|
<el-col :offset="1" :span="18" >
|
|
|
|
|
<el-form-item label-width="100px" label="物料编码" prop="prodCode">
|
|
|
|
|
<el-input type="textarea"clearable v-model="form.prodCode" placeholder="点击选择物料"/>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-row>
|
|
|
|
@ -561,8 +565,8 @@ export default {
|
|
|
|
|
factoryCode: null,
|
|
|
|
|
orderType: null,
|
|
|
|
|
orderCode: null,
|
|
|
|
|
prodCode: null,
|
|
|
|
|
prodDesc: null,
|
|
|
|
|
prodCode: '',
|
|
|
|
|
prodDesc: '',
|
|
|
|
|
quantity: null,
|
|
|
|
|
quantitySplit: null,
|
|
|
|
|
unit: null,
|
|
|
|
@ -580,8 +584,8 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 表单参数
|
|
|
|
|
form: {
|
|
|
|
|
prodCode: null,
|
|
|
|
|
prodDesc: null,
|
|
|
|
|
prodCode: '',
|
|
|
|
|
prodDesc: '',
|
|
|
|
|
planProDate: null,
|
|
|
|
|
planComplete: null,
|
|
|
|
|
quantity: null,
|
|
|
|
@ -964,8 +968,8 @@ export default {
|
|
|
|
|
code = code + this.selectMaterielList[i].productCode + ',';
|
|
|
|
|
desc = desc + this.selectMaterielList[i].productDescZh + ',';
|
|
|
|
|
}
|
|
|
|
|
this.form.prodCode = code;
|
|
|
|
|
this.form.prodDesc = desc;
|
|
|
|
|
this.form.prodCode += code;
|
|
|
|
|
this.form.prodDesc += desc;
|
|
|
|
|
// 关闭选择物料弹窗
|
|
|
|
|
this.innerVisible = false;
|
|
|
|
|
},
|
|
|
|
@ -1156,8 +1160,8 @@ export default {
|
|
|
|
|
factoryCode: null,
|
|
|
|
|
orderType: null,
|
|
|
|
|
orderCode: null,
|
|
|
|
|
prodCode: null,
|
|
|
|
|
prodDesc: null,
|
|
|
|
|
prodCode: '',
|
|
|
|
|
prodDesc: '',
|
|
|
|
|
quantity: null,
|
|
|
|
|
quantitySplit: null,
|
|
|
|
|
unit: null,
|
|
|
|
|