邓雄飞 4 years ago
parent
commit
1bc3e5a3a5
3 changed files with 8 additions and 7 deletions
  1. 1
      pages/add-record/index.vue
  2. 6
      pages/client-detail/base-paper-deals.vue
  3. 8
      pages/follow-up-records/index.vue

1
pages/add-record/index.vue

@ -79,6 +79,7 @@ export default {
address: '', address: '',
content: '', content: '',
customerEnterpriseId: this.$store.state.supplierInfo.id || null, customerEnterpriseId: this.$store.state.supplierInfo.id || null,
mallSupplierId: this.$store.state.supplierInfo.supplierId || null,
remark: '', remark: '',
respondent: '' respondent: ''
} }

6
pages/client-detail/base-paper-deals.vue

@ -14,12 +14,12 @@
<scroll-list ref="list" :option="option" @load="upCallback" @refresh="downCallback" style="background-color: #ffffff"> <scroll-list ref="list" :option="option" @load="upCallback" @refresh="downCallback" style="background-color: #ffffff">
<view class="card-box" v-for="(item, index) in list" :key="index"> <view class="card-box" v-for="(item, index) in list" :key="index">
<view class="header"> <view class="header">
<view class="left-title">{{ item.customerEnterpriseName }}</view>
<view class="left-title">{{ item.orderId }}</view>
<view class="right-title">¥ {{ item.totalOfferPrice }}</view> <view class="right-title">¥ {{ item.totalOfferPrice }}</view>
</view> </view>
<view class="content" v-for="(subItem, subIndex) in item.supplierOrderList[0].orderItems" :key="subIndex"> <view class="content" v-for="(subItem, subIndex) in item.supplierOrderList[0].orderItems" :key="subIndex">
<!-- <image class="image" :src="/static/imgs/client/client-default.png" mode=""></image> --> <!-- <image class="image" :src="/static/imgs/client/client-default.png" mode=""></image> -->
<image class="image" :src="subItem.productImg" mode=""></image>
<image class="image" :src="subItem.productImg || 'https://qncloud.oss-cn-shenzhen.aliyuncs.com/paper_shopkeeper/paper-default-small.png'" mode=""></image>
<view class=""> <view class="">
<view class="title">{{ subItem.productName }}</view> <view class="title">{{ subItem.productName }}</view>
<view class="desc"> <view class="desc">
@ -75,7 +75,7 @@ export default {
params: { params: {
asc: '', asc: '',
desc: '', desc: '',
customerEnterpriseId: this.$store.state.supplierInfo.id || null, // IDid
customerEnterpriseId: this.id,
mallSupplierId: this.$store.state.supplierInfo.supplierId || null, // id mallSupplierId: this.$store.state.supplierInfo.supplierId || null, // id
// customerEnterpriseId: '651107734133018624', // ID // customerEnterpriseId: '651107734133018624', // ID
// mallSupplierId: '670334117090562048', // id // mallSupplierId: '670334117090562048', // id

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

@ -78,7 +78,7 @@ export default {
params: { params: {
asc: '', asc: '',
desc: '', desc: '',
customerEnterpriseId: null,
customerEnterpriseId: this.$store.state.supplierInfo.id || null,
mallSupplierId: this.$store.state.supplierInfo.supplierId || null mallSupplierId: this.$store.state.supplierInfo.supplierId || null
// enterpriseIds : ['651107734133018624'], // enterpriseIds : ['651107734133018624'],
// mallSupplierId : '670334117090562048', // mallSupplierId : '670334117090562048',
@ -103,9 +103,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,

Loading…
Cancel
Save