|
|
@@ -644,7 +644,7 @@
|
|
|
@click="synchronizeDialog = true"
|
|
|
:disabled="detailData.seeDisabled || !form.corpId || browse"
|
|
|
>
|
|
|
- 同步政策
|
|
|
+ 匹配政策
|
|
|
</el-button>
|
|
|
</template>
|
|
|
</avue-crud>
|
|
|
@@ -799,7 +799,7 @@
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
<el-dialog
|
|
|
- title="同步政策"
|
|
|
+ title="匹配政策"
|
|
|
append-to-body
|
|
|
:visible.sync="synchronizeDialog"
|
|
|
width="80%"
|
|
|
@@ -2363,6 +2363,7 @@ export default {
|
|
|
item.storageId = item.storageId + "-" + item.corpId;
|
|
|
}
|
|
|
this.goodsShowData = this.giftData;
|
|
|
+ console.log(this.goodsShowData);
|
|
|
this.goodsActives = "goods";
|
|
|
this.handleClick({ name: this.goodsActives });
|
|
|
// this.contactsData = this.form.orderItemsList
|
|
|
@@ -3563,10 +3564,11 @@ export default {
|
|
|
this.page.currentPage = 1;
|
|
|
this.onLoadDL(this.page);
|
|
|
},
|
|
|
- //同步政策
|
|
|
+ //匹配政策
|
|
|
synchronizeNodeClick(data) {
|
|
|
this.uploadPolicy.policyName = data.id;
|
|
|
this.synchronizeId = data.id;
|
|
|
+ this.dataSynchronize = [];
|
|
|
this.loadingSynchronize = true;
|
|
|
detailList(this.synchronizeId)
|
|
|
.then(res => {
|
|
|
@@ -3585,11 +3587,14 @@ export default {
|
|
|
orderId: this.form.id
|
|
|
};
|
|
|
policyMatching(obj).then(res => {
|
|
|
- this.queryData(this.form.id);
|
|
|
this.synchronizeDialog = false;
|
|
|
+
|
|
|
+ this.saveActives = "";
|
|
|
+ this.queryData(this.form.id);
|
|
|
});
|
|
|
},
|
|
|
closeSynchronize() {
|
|
|
+ this.dataSynchronize = [];
|
|
|
this.synchronizeId = null;
|
|
|
},
|
|
|
//导入页销售政策查询
|