|
@@ -148,11 +148,11 @@ export default {
|
|
|
option: [],
|
|
|
},
|
|
|
{
|
|
|
- title: "产品",
|
|
|
+ title: "产品名称",
|
|
|
name: "Select",
|
|
|
multiple: true,
|
|
|
filterable: true,
|
|
|
- serverName: "number_detail",
|
|
|
+ serverName: "product",
|
|
|
placeholder: "请选择",
|
|
|
value: "",
|
|
|
option: [],
|
|
@@ -162,7 +162,7 @@ export default {
|
|
|
name: "Select",
|
|
|
multiple: true,
|
|
|
filterable: true,
|
|
|
- serverName: "number_detail",
|
|
|
+ serverName: "url_number",
|
|
|
placeholder: "请选择",
|
|
|
value: "",
|
|
|
option: [],
|
|
@@ -200,7 +200,7 @@ export default {
|
|
|
{
|
|
|
title: "产品名称",
|
|
|
align: "center",
|
|
|
- key: "product_title",
|
|
|
+ key: "product",
|
|
|
minWidth: 200,
|
|
|
},
|
|
|
{ title: "产品型号", align: "center", key: "model", minWidth: 150 },
|
|
@@ -310,6 +310,12 @@ export default {
|
|
|
if (this.func.isType(row.number_detail) == "Array") {
|
|
|
row.number_detail = row.number_detail.join(",");
|
|
|
}
|
|
|
+ if (this.func.isType(row.product) == "Array") {
|
|
|
+ row.product = row.product.join(",");
|
|
|
+ }
|
|
|
+ if (this.func.isType(row.url_number) == "Array") {
|
|
|
+ row.url_number = row.url_number.join(",");
|
|
|
+ }
|
|
|
Object.assign(row, this.$route.query);
|
|
|
Object.assign(this.proxyObj, row);
|
|
|
this.getData(row);
|
|
@@ -334,10 +340,20 @@ export default {
|
|
|
v.value = v.number_detail;
|
|
|
v.label = v.number_detail;
|
|
|
});
|
|
|
+ res.data.product.map((v) => {
|
|
|
+ v.value = v.product;
|
|
|
+ v.label = v.product;
|
|
|
+ });
|
|
|
+ res.data.url_number.map((v) => {
|
|
|
+ v.value = v.url_number;
|
|
|
+ v.label = v.url_number;
|
|
|
+ });
|
|
|
this.list[0].option = res.data.house;
|
|
|
this.list[1].option = res.data.unit;
|
|
|
this.list[2].option = res.data.layer;
|
|
|
this.list[3].option = res.data.number_detail;
|
|
|
+ this.list[4].option = res.data.product;
|
|
|
+ this.list[5].option = res.data.url_number;
|
|
|
});
|
|
|
},
|
|
|
back() {
|