Browse Source

修改字段 添加刷新

devlop
杨阁辉 4 years ago
parent
commit
d34cbe6900
4 changed files with 24 additions and 5 deletions
  1. 5
      pages/add-paper/index.vue
  2. 1
      pages/mall/index.vue
  3. 20
      pages/paper-detail/index.vue
  4. 3
      pages/trade/quotationList.vue

5
pages/add-paper/index.vue

@ -358,10 +358,7 @@ export default {
}, },
watch: { watch: {
['form.name'](val) {
this.form.id = ''
console.log(111)
}
}, },
methods: { methods: {
back, back,

1
pages/mall/index.vue

@ -101,6 +101,7 @@ export default {
supplierId: this.$store.state.supplierInfo.supplierId, supplierId: this.$store.state.supplierInfo.supplierId,
name: this.$store.state.supplierInfo.name name: this.$store.state.supplierInfo.name
} }
this.quertData()
}, },
onLoad() { onLoad() {
this.quertData() this.quertData()

20
pages/paper-detail/index.vue

@ -4,7 +4,7 @@
<uni-nav-bar left-icon="back" @clickLeft="back" statusBar fixed title=""> <uni-nav-bar left-icon="back" @clickLeft="back" statusBar fixed title="">
<view class="paper-detail-title">纸品详情</view> <view class="paper-detail-title">纸品详情</view>
<view slot="left"></view> <view slot="left"></view>
<view slot="right" class="paper-detail-right-title">分享</view>
<view slot="right" class="paper-detail-right-title" @tap="shareTap">分享</view>
</uni-nav-bar> </uni-nav-bar>
</view> </view>
<view class="paper-detail-info"> <view class="paper-detail-info">
@ -113,6 +113,24 @@ export default {
} }
}) })
}, },
//
shareTap() {
uni.share({
provider: "weixin",
scene: "WXSceneSession",
type: 0,
href: "http://uniapp.dcloud.io/",
title: "uni-app分享",
summary: "我正在使用HBuilderX开发uni-app,赶紧跟我一起来体验!",
imageUrl: "https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/d8590190-4f28-11eb-b680-7980c8a877b8.png",
success: function (res) {
console.log("success:" + JSON.stringify(res));
},
fail: function (err) {
console.log("fail:" + JSON.stringify(err));
}
});
}
} }
} }
</script> </script>

3
pages/trade/quotationList.vue

@ -98,6 +98,9 @@ export default {
list: [] list: []
} }
}, },
onShow() {
this.getQuotationQurty()
},
onLoad(option) {}, onLoad(option) {},
filters: { filters: {
replyStatusName(status) { replyStatusName(status) {

Loading…
Cancel
Save