|
|
|
@ -72,6 +72,7 @@
|
|
|
|
|
>新增
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<!--
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="info"
|
|
|
|
@ -82,7 +83,7 @@
|
|
|
|
|
v-hasPermi="['mes:pro:order:import']"
|
|
|
|
|
>导入
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
</el-col>-->
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="warning"
|
|
|
|
@ -979,16 +980,16 @@ export default {
|
|
|
|
|
for (let i = 0; i < this.selectMaterielList.length; i++) {
|
|
|
|
|
if(this.form.prodCode.indexOf(this.selectMaterielList[i].productCode)<0){
|
|
|
|
|
code = code + this.selectMaterielList[i].productCode + ',';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(this.form.prodDesc.indexOf(this.selectMaterielList[i].productDescZh)<0){
|
|
|
|
|
desc = desc + this.selectMaterielList[i].productDescZh + ',';
|
|
|
|
|
}else{
|
|
|
|
|
this.$message({
|
|
|
|
|
message: this.selectMaterielList[i].productDescZh+'已经选择',
|
|
|
|
|
type: 'warning'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(this.form.prodDesc.indexOf(this.selectMaterielList[i].productDescZh)<0){
|
|
|
|
|
desc = desc + this.selectMaterielList[i].productDescZh + ',';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
this.form.prodCode += code;
|
|
|
|
|
this.form.prodDesc += desc;
|
|
|
|
|