Browse Source

询价单提交增加图片

devlop
buffeyu 4 years ago
parent
commit
9f63a217c6
4 changed files with 9 additions and 5 deletions
  1. 3
      pages/account-management/index.vue
  2. 2
      pages/enquiry-list/index.vue
  3. 7
      pages/for-comparison/index.vue
  4. 2
      pages/paper-details/index.vue

3
pages/account-management/index.vue

@ -40,7 +40,8 @@ export default {
auto: true,
emptyText: '暂无用户~',
background: '#F7F8FA',
fontSize: '40rpx'
fontSize: '40rpx',
emptyImage: '/static/imgs/order/order-empty.png'
},
params: {
asc: '',

2
pages/enquiry-list/index.vue

@ -16,7 +16,7 @@
<text :class="item.status == 30131 || item.status == 30138 ? 'failure' : ''">{{ item.status | statusName }}</text>
</view>
</view>
<view class="box" v-if="item.status != 30116 || item.status != 30131">
<view class="box" v-if="item.status != 30116 && item.status != 30131">
<view class="list-box" v-for="(sitem, sindex) in item.itemList" :key="sindex">
<image class="image" :src="sitem.productImg || 'https://qncloud.oss-cn-shenzhen.aliyuncs.com/ztb_pic/testPic.jfif'" mode=""></image>
<view class="info-box">

7
pages/for-comparison/index.vue

@ -212,7 +212,8 @@ export default {
paperName: '',
quantity: '',
remark: '',
width: '787'
width: '787',
productImg: '',
},
searchList: [],
hasSelected: false,
@ -228,6 +229,7 @@ export default {
},
onLoad(option) {
this.form.offerEnterprise = option.id
this.form.productImg = option.productImg
this.getCategoryList()
},
methods: {
@ -238,7 +240,7 @@ export default {
paperSupplierId: this.$store.state.supplierId
}
getCategoryList(params).then(res => {
console.log('纸种列表', res)
// console.log('', res)
if (res) {
this.categoryNameList = res.categoryNameList
this.brandNameList = res.brandNameList
@ -365,6 +367,7 @@ export default {
offerEnterprise: this.form.offerEnterprise,
remark: this.form.remark,
enterpriseId: this.$store.state.companyInfo.id,
productImg: this.form.productImg,
userId: this.$store.state.userInfo.userId
}
createEnquiryOrder(params).then(res => {

2
pages/paper-details/index.vue

@ -243,7 +243,7 @@ export default {
//
inquiryTap() {
go2('for-comparison', { id: this.info.supplierId })
go2('for-comparison', { id: this.info.supplierId, productImg: this.info.imgList[0] })
},
closeTap() {
this.$refs.popup.close()

Loading…
Cancel
Save