白胚订单管理多选物料

master
zhaoxiaolin 1 year ago
parent fdbf1021a0
commit a8d0898b92

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

Loading…
Cancel
Save