|
|
@@ -624,7 +624,7 @@
|
|
|
transfer
|
|
|
clearable
|
|
|
filter-by-label
|
|
|
- v-model="matchedInfo.part_name"
|
|
|
+ v-model="matchedData.part_name"
|
|
|
:max-tag-count="2"
|
|
|
size="small"
|
|
|
style="width: 150px"
|
|
|
@@ -647,13 +647,13 @@
|
|
|
transfer
|
|
|
clearable
|
|
|
filter-by-label
|
|
|
- v-model="matchedInfo.part_name"
|
|
|
+ v-model="matchedData.cut_area"
|
|
|
:max-tag-count="2"
|
|
|
size="small"
|
|
|
style="width: 150px"
|
|
|
>
|
|
|
<Option
|
|
|
- v-for="(item, index) in partNameMatchedList"
|
|
|
+ v-for="(item, index) in cutAreaMatchedList"
|
|
|
:key="index"
|
|
|
:label="item"
|
|
|
:value="item"
|
|
|
@@ -670,13 +670,13 @@
|
|
|
transfer
|
|
|
clearable
|
|
|
filter-by-label
|
|
|
- v-model="matchedInfo.part_name"
|
|
|
+ v-model="matchedData.house"
|
|
|
:max-tag-count="2"
|
|
|
size="small"
|
|
|
style="width: 150px"
|
|
|
>
|
|
|
<Option
|
|
|
- v-for="(item, index) in partNameMatchedList"
|
|
|
+ v-for="(item, index) in houseMatchedList"
|
|
|
:key="index"
|
|
|
:label="item"
|
|
|
:value="item"
|
|
|
@@ -693,13 +693,13 @@
|
|
|
transfer
|
|
|
clearable
|
|
|
filter-by-label
|
|
|
- v-model="matchedInfo.part_name"
|
|
|
+ v-model="matchedData.unit"
|
|
|
:max-tag-count="2"
|
|
|
size="small"
|
|
|
style="width: 150px"
|
|
|
>
|
|
|
<Option
|
|
|
- v-for="(item, index) in partNameMatchedList"
|
|
|
+ v-for="(item, index) in unitMatchedList"
|
|
|
:key="index"
|
|
|
:label="item"
|
|
|
:value="item"
|
|
|
@@ -716,13 +716,13 @@
|
|
|
transfer
|
|
|
clearable
|
|
|
filter-by-label
|
|
|
- v-model="matchedInfo.part_name"
|
|
|
+ v-model="matchedData.layer"
|
|
|
:max-tag-count="2"
|
|
|
size="small"
|
|
|
style="width: 150px"
|
|
|
>
|
|
|
<Option
|
|
|
- v-for="(item, index) in partNameMatchedList"
|
|
|
+ v-for="(item, index) in layerMatchedList"
|
|
|
:key="index"
|
|
|
:label="item"
|
|
|
:value="item"
|
|
|
@@ -741,7 +741,7 @@
|
|
|
transfer
|
|
|
clearable
|
|
|
filter-by-label
|
|
|
- v-model="matchedInfo.region"
|
|
|
+ v-model="matchedData.region"
|
|
|
:max-tag-count="2"
|
|
|
size="small"
|
|
|
style="width: 150px"
|
|
|
@@ -763,13 +763,13 @@
|
|
|
multiple
|
|
|
transfer
|
|
|
filter-by-label
|
|
|
- v-model="matchedInfo.part_name"
|
|
|
+ v-model="matchedData.household"
|
|
|
:max-tag-count="2"
|
|
|
size="small"
|
|
|
style="width: 150px"
|
|
|
>
|
|
|
<Option
|
|
|
- v-for="(item, index) in partNameMatchedList"
|
|
|
+ v-for="(item, index) in householdMatchedList"
|
|
|
:key="index"
|
|
|
:label="item"
|
|
|
:value="item"
|
|
|
@@ -786,7 +786,7 @@
|
|
|
transfer
|
|
|
clearable
|
|
|
filter-by-label
|
|
|
- v-model="matchedInfo.number"
|
|
|
+ v-model="matchedData.number"
|
|
|
:max-tag-count="2"
|
|
|
size="small"
|
|
|
style="width: 150px"
|
|
|
@@ -880,6 +880,9 @@ export default {
|
|
|
data() {
|
|
|
// 这里存放数据
|
|
|
return {
|
|
|
+ matchedData:{
|
|
|
+
|
|
|
+ },
|
|
|
totalRoomState:false,
|
|
|
totalUrlState:false,
|
|
|
matchFinishData:[],
|
|
|
@@ -901,6 +904,7 @@ export default {
|
|
|
id: this.$route.query.id,
|
|
|
image_number: [],
|
|
|
product_name: [],
|
|
|
+
|
|
|
},
|
|
|
cut_size: [], //精裁尺寸 未匹配
|
|
|
number: [], //房号 未匹配
|
|
|
@@ -915,6 +919,11 @@ export default {
|
|
|
regionMatchedList: [], //区域列表 已匹配
|
|
|
numberMatchedList: [], //房号列表 已匹配
|
|
|
partNameMatchedList: [], //部件列表 已匹配
|
|
|
+ cutAreaMatchedList:[],//精裁尺寸 已匹配
|
|
|
+ houseMatchedList:[],//楼栋 已匹配
|
|
|
+ unitMatchedList:[],//单元 已匹配
|
|
|
+ layerMatchedList:[],//楼层 已匹配
|
|
|
+ householdMatchedList:[],//户型 已匹配
|
|
|
unmatchedObj: {
|
|
|
urlList: [], //图号列表
|
|
|
part_list: [], //当前图号下表格列表
|
|
|
@@ -1263,10 +1272,13 @@ export default {
|
|
|
},
|
|
|
handleShowCurrencyMatched(row) {
|
|
|
if (row.isCurrenct) {
|
|
|
+
|
|
|
row.isCurrenct = !row.isCurrenct;
|
|
|
} else {
|
|
|
+ this.matchedData = {};
|
|
|
this.matchedList.map((v) => (v.isCurrenct = false));
|
|
|
row.isCurrenct = true;
|
|
|
+
|
|
|
}
|
|
|
this.getMatchedDetailList(row);
|
|
|
},
|
|
|
@@ -1382,19 +1394,24 @@ export default {
|
|
|
getMatchedDetailList(row) {
|
|
|
row.isCurrenct &&
|
|
|
this.axios
|
|
|
- .get("/api/bst_matching_on_product_detail_2", {
|
|
|
- params: {
|
|
|
+ .post("/api/bst_matching_on_product_detail_2", {
|
|
|
cut_order_product_id: row.id || 14,
|
|
|
- id: this.matchedInfo.id,
|
|
|
+ id:this.$route.query.id,
|
|
|
+ ...this.matchedData
|
|
|
// number: this.matchedInfo.number,
|
|
|
// part_name: this.matchedInfo.part_name,
|
|
|
// region: this.matchedInfo.region,
|
|
|
- },
|
|
|
+
|
|
|
})
|
|
|
.then((res) => {
|
|
|
this.regionMatchedList = res.data.region;
|
|
|
this.numberMatchedList = res.data.number;
|
|
|
this.partNameMatchedList = res.data.part_name;
|
|
|
+ this.cutAreaMatchedList = res.data.cut_area;//精裁尺寸 已匹配
|
|
|
+ this.houseMatchedList = res.data.house;//楼栋 已匹配
|
|
|
+ this.unitMatchedList = res.data.unit;//单元 已匹配
|
|
|
+ this.layerMatchedList = res.data.layer;//楼层 已匹配
|
|
|
+ this.householdMatchedList = res.data.household;
|
|
|
this.matchedDetailList = res.data.list[0].detail;
|
|
|
});
|
|
|
},
|