|
@@ -11,7 +11,6 @@
|
|
|
:maxable="true"
|
|
:maxable="true"
|
|
|
:resizable="true"
|
|
:resizable="true"
|
|
|
append-to-body
|
|
append-to-body
|
|
|
-
|
|
|
|
|
>
|
|
>
|
|
|
<el-form
|
|
<el-form
|
|
|
ref="form"
|
|
ref="form"
|
|
@@ -454,7 +453,6 @@
|
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
|
width="600px"
|
|
width="600px"
|
|
|
append-to-body
|
|
append-to-body
|
|
|
-
|
|
|
|
|
>
|
|
>
|
|
|
<el-select style="width: 100%" v-model="supplierId" placeholder="请选择">
|
|
<el-select style="width: 100%" v-model="supplierId" placeholder="请选择">
|
|
|
<el-option
|
|
<el-option
|
|
@@ -466,7 +464,12 @@
|
|
|
</el-option>
|
|
</el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
<div slot="footer" class="footer">
|
|
<div slot="footer" class="footer">
|
|
|
- <el-button type="primary" @click="changeParent({ id:supplierId });supplierListShow=false"
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ @click="
|
|
|
|
|
+ changeParent({ id: supplierId });
|
|
|
|
|
+ supplierListShow = false;
|
|
|
|
|
+ "
|
|
|
>确认</el-button
|
|
>确认</el-button
|
|
|
>
|
|
>
|
|
|
<el-button @click="supplierListShow = false">返回</el-button>
|
|
<el-button @click="supplierListShow = false">返回</el-button>
|
|
@@ -852,7 +855,7 @@
|
|
|
supplierName: item.supplierName
|
|
supplierName: item.supplierName
|
|
|
};
|
|
};
|
|
|
});
|
|
});
|
|
|
- if (supplierList) {
|
|
|
|
|
|
|
+ if (supplierList?.length > 0) {
|
|
|
this.supplierList = Array.from(
|
|
this.supplierList = Array.from(
|
|
|
new Set(supplierList.map((obj) => JSON.stringify(obj)))
|
|
new Set(supplierList.map((obj) => JSON.stringify(obj)))
|
|
|
).map((str) => JSON.parse(str));
|
|
).map((str) => JSON.parse(str));
|