白胚订单管理多选物料

yangwl
zhaoxiaolin 1 year ago
parent a8cbb119fe
commit 13a95ea1b0

@ -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;

@ -1,5 +1,8 @@
<template>
<el-transfer v-model="rightList" :data="leftList" :titles="titles" :filterable=true
<div>
<el-input placeholder="请输入内容" clearable > </el-input>
<el-transfer v-model="rightList" :data="leftList" :titles="titles"
:filterable=false
@change="handleChange"
>
<!-- 左侧栏分页 -->
@ -74,6 +77,7 @@
>下一页</el-button>
</el-transfer>
</div>
</template>
<script>

Loading…
Cancel
Save