buffeyu 4 years ago
parent
commit
a5715524a2
2 changed files with 11 additions and 11 deletions
  1. 14
      pages/client-detail/base-paper-deals.vue
  2. 8
      pages/client-detail/equipment-information.vue

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

@ -17,7 +17,7 @@
<view class="left-title">{{ item.customerEnterpriseName }}</view> <view class="left-title">{{ item.customerEnterpriseName }}</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].orderItmes" :key="subIndex">
<view class="content" v-for="(subItem, subIndex) in item.supplierOrderList[0].orderItems" :key="subIndex">
<!-- <image class="image" :src="https://qncloud.oss-cn-shenzhen.aliyuncs.com/ztb_pic/testPic.jfif" mode=""></image> --> <!-- <image class="image" :src="https://qncloud.oss-cn-shenzhen.aliyuncs.com/ztb_pic/testPic.jfif" mode=""></image> -->
<image class="image" :src="subItem.productImg" mode=""></image> <image class="image" :src="subItem.productImg" mode=""></image>
<view class=""> <view class="">
@ -67,10 +67,10 @@ export default {
params: { params: {
asc: '', asc: '',
desc: '', desc: '',
// customerEnterpriseId: this.$store.state.supplierInfo.id || null, // IDid
// mallSupplierId: this.$store.state.supplierInfo.supplierId || null, // id
customerEnterpriseId: '651107734133018624',
mallSupplierId: '670334117090562048', // id
customerEnterpriseId: this.$store.state.supplierInfo.id || null, // IDid
mallSupplierId: this.$store.state.supplierInfo.supplierId || null, // id
// customerEnterpriseId: '651107734133018624', // ID
// mallSupplierId: '670334117090562048', // id
status: '0', // 0 /30106,/30107,/30207,/30104 status: '0', // 0 /30106,/30107,/30207,/30104
enterpriseIds: [] //ID enterpriseIds: [] //ID
}, },
@ -80,8 +80,8 @@ export default {
}, },
orderParams: { orderParams: {
beginDate: '', beginDate: '',
currentSupplier: '670334117090562048',
// currentSupplier: this.$store.state.supplierInfo.supplierId || null,
// currentSupplier: '670334117090562048',
currentSupplier: this.$store.state.supplierInfo.supplierId || null,
endDate: '' endDate: ''
}, },
list: [], list: [],

8
pages/client-detail/equipment-information.vue

@ -176,12 +176,12 @@ export default {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
getDeviceInfo({ ...this.params, ...this.pagination }) getDeviceInfo({ ...this.params, ...this.pagination })
.then((res) => { .then((res) => {
res.records.forEach((el) => {
el.collapse = false
el.isShowSelect = false
})
// console.log('', res.records) // console.log('', res.records)
if (res) { if (res) {
res.records.forEach((el) => {
el.collapse = false
el.isShowSelect = false
})
if (this.pagination.pageNum == 1) { if (this.pagination.pageNum == 1) {
this.list = res.records this.list = res.records
} else { } else {

Loading…
Cancel
Save