杨阁辉 4 years ago
parent
commit
97f666f41e
3 changed files with 12 additions and 12 deletions
  1. 14
      pages/client-detail/base-paper-deals.vue
  2. 8
      pages/client-detail/equipment-information.vue
  3. 2
      pages/login/index.vue

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

@ -17,7 +17,7 @@
<view class="left-title">{{ item.customerEnterpriseName }}</view>
<view class="right-title">¥ {{ item.totalOfferPrice }}</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="subItem.productImg" mode=""></image>
<view class="">
@ -67,10 +67,10 @@ export default {
params: {
asc: '',
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
enterpriseIds: [] //ID
},
@ -80,8 +80,8 @@ export default {
},
orderParams: {
beginDate: '',
currentSupplier: '670334117090562048',
// currentSupplier: this.$store.state.supplierInfo.supplierId || null,
// currentSupplier: '670334117090562048',
currentSupplier: this.$store.state.supplierInfo.supplierId || null,
endDate: ''
},
list: [],

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

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

2
pages/login/index.vue

@ -139,7 +139,7 @@ export default {
store.commit('setToken', token)
//
const nextPage = store.state.nextPage
let page = null
let page = undefined
if (nextPage.name) {
page = { url: nextPage.name, data: nextPage.data, isRedirect: true }
}

Loading…
Cancel
Save