|
|
|
@ -965,9 +965,15 @@ export default {
|
|
|
|
|
var code = '';
|
|
|
|
|
var desc = '';
|
|
|
|
|
for (let i = 0; i < this.selectMaterielList.length; i++) {
|
|
|
|
|
if(code.indexOf(this.selectMaterielList[i].productCode)<0){
|
|
|
|
|
code = code + this.selectMaterielList[i].productCode + ',';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(code.indexOf(this.selectMaterielList[i].productDescZh)<0){
|
|
|
|
|
desc = desc + this.selectMaterielList[i].productDescZh + ',';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
this.form.prodCode += code;
|
|
|
|
|
this.form.prodDesc += desc;
|
|
|
|
|
// 关闭选择物料弹窗
|
|
|
|
|