|
|
@@ -12,7 +12,7 @@
|
|
|
</view>
|
|
|
</block>
|
|
|
<view class="app-footer open_btn">
|
|
|
- <view @click="addEvent" class="admin-button-com big blue">新增采购{{option.status?option.status:'-'}}</view>
|
|
|
+ <view @click="addEvent" class="admin-button-com big blue">新增采购</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -66,8 +66,17 @@ export default {
|
|
|
status: '0'
|
|
|
}
|
|
|
},
|
|
|
+ onShow() {
|
|
|
+ if(this.option.status && this.option.status == 3){
|
|
|
+ this.resetList()
|
|
|
+ this.tabIndex = 3
|
|
|
+ this.status = 3
|
|
|
+ this.getpurchaseList()
|
|
|
+ }
|
|
|
+ },
|
|
|
onLoad() {
|
|
|
if(this.option.status && this.option.status == 3){
|
|
|
+ this.resetList()
|
|
|
this.tabIndex = 3
|
|
|
this.status = 3
|
|
|
this.getpurchaseList()
|