|
|
|
@ -163,7 +163,7 @@
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</el-card>
|
|
|
|
|
<el-card class="el-card" v-if="isImport">
|
|
|
|
|
<el-card class="el-card" >
|
|
|
|
|
<div>
|
|
|
|
|
<el-form label-width="120px">
|
|
|
|
|
<el-row :gutter="20">
|
|
|
|
@ -383,6 +383,7 @@ export default {
|
|
|
|
|
zczbhhzbapzbh: "",
|
|
|
|
|
isCheck: 1
|
|
|
|
|
},
|
|
|
|
|
cpmctymc1:"",
|
|
|
|
|
combineLoading: false,
|
|
|
|
|
combineQuery: {
|
|
|
|
|
idSpliUdi: false,
|
|
|
|
@ -525,6 +526,10 @@ export default {
|
|
|
|
|
return "";
|
|
|
|
|
},
|
|
|
|
|
handleErpChange(val) {
|
|
|
|
|
debugger
|
|
|
|
|
console.log("+++"+ this.data.cpmctymc)
|
|
|
|
|
|
|
|
|
|
this.cpmctymc1=val.cpmctymc;
|
|
|
|
|
this.currentRow = val;
|
|
|
|
|
},
|
|
|
|
|
intentBack() {
|
|
|
|
@ -532,6 +537,13 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
checkCombine() {
|
|
|
|
|
this.$confirm("是否确定关联DI产品名称:" + this.cpmctymc1 + ":与第三方产品名称"+this.data.cpmctymc, "提示", {
|
|
|
|
|
confirmButtonText: "确定",
|
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
|
type: "warning",
|
|
|
|
|
})
|
|
|
|
|
.then(() => {
|
|
|
|
|
|
|
|
|
|
let selectData = this.multipleUdiSelection;
|
|
|
|
|
let selected = null;
|
|
|
|
|
if (this.multipleUdiSelection.length == 0) {
|
|
|
|
@ -576,7 +588,7 @@ export default {
|
|
|
|
|
// this.$emit("closeUdi", false);
|
|
|
|
|
// });
|
|
|
|
|
} else if (response.code == 499) {
|
|
|
|
|
this.$confirm(response.message, {type: "warning"})
|
|
|
|
|
this.$confirm(response.message, { type: "warning" })
|
|
|
|
|
.then(_ => {
|
|
|
|
|
this.combine();
|
|
|
|
|
// combineUdi(this.combineQuery)
|
|
|
|
@ -603,7 +615,7 @@ export default {
|
|
|
|
|
this.combineLoading = false;
|
|
|
|
|
this.$emit("closeUdi", false);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|