Commit c500d158 authored by 沈翠玲's avatar 沈翠玲

修复销售出库的bug

parent f4a5dc63
...@@ -50,11 +50,16 @@ export default { ...@@ -50,11 +50,16 @@ export default {
status: 'loadmore' status: 'loadmore'
}; };
}, },
activated() { created() {
if(this.order) { if(this.order) {
this.getPlnr(this.order); this.getPlnr(this.order);
} }
}, },
watch: {
currentKc(){
this.getPlnr(this.order);
}
},
methods: { methods: {
handleClick(item){ handleClick(item){
......
<template> <template>
<view class="page"> <view>
<StickyNavBar> <u-tabs :list="tabList" :is-scroll="false" :current="current" @change="handleTabChange"></u-tabs>
<u-tabs :list="tabList" :is-scroll="false" :current="current" @change="handleTabChange"></u-tabs> <lhmx :order="order" :currentKc="currentKc" @kcdetail="(v) => currentKc = v" v-show="tabList[current].comName === 'lhmx'"></lhmx>
<keep-alive> <kcmx :order="order" :currentKc="currentKc" @kcdetail="(v) => currentKc = v" v-show="tabList[current].comName === 'kcmx'"></kcmx>
<component :is="tabList[current].comName" :order="order" :currentKc="currentKc" @kcdetail="(v) => currentKc = v"></component>
</keep-alive>
</StickyNavBar>
</view> </view>
</template> </template>
......
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 to comment