Commit 52503759 by LJM

bug

parent bd57dc72
<template>
<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>
</keep-alive>
</div>
......
......@@ -173,7 +173,15 @@ export default {
this.stock_in_sn = this.$route.query.stock_in_sn || '';
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: {
getData() {
//格式化时间
......
......@@ -173,6 +173,7 @@ export default {
arr = this.multipleSelection.map(obj => {
return obj.sku_id;
});
this.$http('POST', "/api/sku/updateSkuStatus", {
sku_ids: arr.join(","),
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