Commit 52503759 by LJM

bug

parent bd57dc72
<template> <template>
<div id="app"> <div id="app">
<keep-alive exclude="InquireDetail,ListDetail,orderTrackGoodsDetail,orderTrackPurAdd,enter,list,inquire,quote"> <keep-alive exclude="InquireDetail,ListDetail,orderTrackGoodsDetail,orderTrackPurAdd,enter,list,inquire,quote,orderTrackInvoice">
<router-view class="router-view"></router-view> <router-view class="router-view"></router-view>
</keep-alive> </keep-alive>
</div> </div>
......
...@@ -173,7 +173,15 @@ export default { ...@@ -173,7 +173,15 @@ export default {
this.stock_in_sn = this.$route.query.stock_in_sn || ''; this.stock_in_sn = this.$route.query.stock_in_sn || '';
this.getData(); this.getData();
}, },
computed: {}, watch: {
$route(to, from) {
if (to.path == '/orderTrackInvoice') {
this.purchase_id = this.$route.query.purchase_id || '';
this.stock_in_sn = this.$route.query.stock_in_sn || '';
this.getData();
}
}
},
methods: { methods: {
getData() { getData() {
//格式化时间 //格式化时间
......
...@@ -173,6 +173,7 @@ export default { ...@@ -173,6 +173,7 @@ export default {
arr = this.multipleSelection.map(obj => { arr = this.multipleSelection.map(obj => {
return obj.sku_id; return obj.sku_id;
}); });
this.$http('POST', "/api/sku/updateSkuStatus", { this.$http('POST', "/api/sku/updateSkuStatus", {
sku_ids: arr.join(","), sku_ids: arr.join(","),
status: status == 1 ? 'passed' : 'offshelf' status: status == 1 ? 'passed' : 'offshelf'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment