邓雄飞 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: { form: {
address: '', address: '',
content: '', 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: '', remark: '',
respondent: '' respondent: ''
} }
} }
}, },
onLoad() {
onLoad(option) {
if (option.customerEnterpriseId) {
this.form.customerEnterpriseId = option.customerEnterpriseId
}
this.locatePosition() this.locatePosition()
}, },
methods: { methods: {

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

@ -78,10 +78,8 @@ export default {
params: { params: {
asc: '', asc: '',
desc: '', desc: '',
customerEnterpriseId: this.$store.state.supplierInfo.id || null,
customerEnterpriseId: null,
mallSupplierId: this.$store.state.supplierInfo.supplierId || null mallSupplierId: this.$store.state.supplierInfo.supplierId || null
// enterpriseIds : ['651107734133018624'],
// mallSupplierId : '670334117090562048',
}, },
pagination: { pagination: {
pageNum: 0, // pageNum: 0, //
@ -103,9 +101,9 @@ export default {
this.downCallback() this.downCallback()
}, },
onLoad(option) { onLoad(option) {
// if (option.customerEnterpriseId) {
// this.params.customerEnterpriseId = option.customerEnterpriseId
// }
if (option.customerEnterpriseId) {
this.params.customerEnterpriseId = option.customerEnterpriseId
}
}, },
methods: { methods: {
back, back,
@ -133,7 +131,7 @@ export default {
}) })
}, },
addTap() { addTap() {
go2('add-record')
go2('add-record', { customerEnterpriseId: this.params.customerEnterpriseId })
}, },
downCallback() { downCallback() {
this.pagination.pageNum = 1 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> <image v-else class="image" @click="certifyCompany()" src="/static/imgs/mine/non-certified-icon.png"></image>
</view> </view>
<view style="margin-top: 10rpx"> <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> </view>
</view> </view>
@ -292,6 +297,16 @@ export default {
}, },
tradeDate() { tradeDate() {
this.getStatistics() this.getStatistics()
},
hasLogin(val) {
if (!val) {
//
this.tradeData = {
tradingVolume: 0,
volumeOfBusiness: 0,
orderQuantity: 0
}
}
} }
}, },
computed: { computed: {

1
pages/trade/quotationList.vue

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

Loading…
Cancel
Save