邓雄飞 4 years ago
parent
commit
9afc52992e
4 changed files with 27 additions and 12 deletions
  1. 9
      pages/add-record/index.vue
  2. 12
      pages/follow-up-records/index.vue
  3. 17
      pages/mine/index.vue
  4. 1
      pages/trade/quotationList.vue

9
pages/add-record/index.vue

@ -78,14 +78,17 @@ export default {
form: {
address: '',
content: '',
customerEnterpriseId: this.$store.state.supplierInfo.id || null,
mallSupplierId: this.$store.state.supplierInfo.supplierId || null,
customerEnterpriseId: null,
mallSupplierId: this.$store.state.supplierInfo.supplierId || null,
remark: '',
respondent: ''
}
}
},
onLoad() {
onLoad(option) {
if (option.customerEnterpriseId) {
this.form.customerEnterpriseId = option.customerEnterpriseId
}
this.locatePosition()
},
methods: {

12
pages/follow-up-records/index.vue

@ -78,10 +78,8 @@ export default {
params: {
asc: '',
desc: '',
customerEnterpriseId: this.$store.state.supplierInfo.id || null,
customerEnterpriseId: null,
mallSupplierId: this.$store.state.supplierInfo.supplierId || null
// enterpriseIds : ['651107734133018624'],
// mallSupplierId : '670334117090562048',
},
pagination: {
pageNum: 0, //
@ -103,9 +101,9 @@ export default {
this.downCallback()
},
onLoad(option) {
// if (option.customerEnterpriseId) {
// this.params.customerEnterpriseId = option.customerEnterpriseId
// }
if (option.customerEnterpriseId) {
this.params.customerEnterpriseId = option.customerEnterpriseId
}
},
methods: {
back,
@ -133,7 +131,7 @@ export default {
})
},
addTap() {
go2('add-record')
go2('add-record', { customerEnterpriseId: this.params.customerEnterpriseId })
},
downCallback() {
this.pagination.pageNum = 1

17
pages/mine/index.vue

@ -21,7 +21,12 @@
<image v-else class="image" @click="certifyCompany()" src="/static/imgs/mine/non-certified-icon.png"></image>
</view>
<view style="margin-top: 10rpx">
<text style="font-size: 26rpx; color: #fff; font-weight: 400; word-break: break-all">{{ userInfo.supplierName }}</text>
<text
style="font-size: 26rpx; color: #fff; font-weight: 400; word-break: break-all"
@click="loginGo2('enterprise-info', { operation: 'edit' })"
>
{{ hasCompany ? userInfo.supplierName : '点击完善企业信息' }}
</text>
</view>
</view>
</view>
@ -292,6 +297,16 @@ export default {
},
tradeDate() {
this.getStatistics()
},
hasLogin(val) {
if (!val) {
//
this.tradeData = {
tradingVolume: 0,
volumeOfBusiness: 0,
orderQuantity: 0
}
}
}
},
computed: {

1
pages/trade/quotationList.vue

@ -105,7 +105,6 @@ export default {
this.quotationDown()
}
},
onLoad(option) {},
filters: {
replyStatusName(status) {
let name = ''

Loading…
Cancel
Save