From 9ae1a7ddc211628995ff8ec2bea073fee3601130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=98=81=E8=BE=89?= Date: Thu, 20 Jan 2022 15:13:46 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E6=8A=A5=E4=BB=B7=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/add-paper/index.vue | 35 ++++++++++++++------------------ pages/mall/index.vue | 2 +- pages/submit-quotation/index.vue | 11 ++++++---- pages/trade/quotationList.vue | 6 ++++-- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/pages/add-paper/index.vue b/pages/add-paper/index.vue index bc26f31..dad1bb3 100644 --- a/pages/add-paper/index.vue +++ b/pages/add-paper/index.vue @@ -14,7 +14,7 @@ 纸品名称 - + @@ -30,6 +30,7 @@ v-model="form.manufacturerName" :inputBorder="false" text="right" + :maxlength="100" placeholder="请输入纸厂信息" > @@ -47,7 +48,8 @@ v-model="form.brandName" :inputBorder="false" text="right" - placeholder="请输入纸品品牌名称" + :maxlength="50" + placeholder="请输入品牌信息" > @@ -63,6 +65,7 @@ v-model="form.categoryName" :inputBorder="false" text="right" + :maxlength="50" placeholder="请输入纸种信息" > @@ -102,11 +105,12 @@ @@ -191,7 +195,7 @@ file-mediatype="image" mode="grid" file-extname="png,jpg" - :limit="6" + :limit="5" :image-styles="imageStyles" @progress="progress" @success="success" @@ -214,7 +218,7 @@ v-model="form.sellingProposition" :inputBorder="false" type="textarea" - placeholder="请输入商品卖点" + placeholder="月结30天价格,不加服务费!" > @@ -230,7 +234,7 @@ v-model="form.description" :inputBorder="false" type="textarea" - placeholder="请输入商品描述" + placeholder="售价全部为含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。" > @@ -245,7 +249,7 @@ v-model="form.shippingNote" :inputBorder="false" type="textarea" - placeholder="请输入送货说明" + placeholder="分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。" > @@ -260,7 +264,7 @@ v-model="form.otherNote" :inputBorder="false" type="textarea" - placeholder="请输入其他说明" + placeholder="请输入" > @@ -333,16 +337,7 @@ export default { } ], paperList: [], - skuList: [ - { - isPromoting: 0, - listPrice: null, - minimum: null, - stock: null, - stockUnit: '1', - weight: null - } - ], + skuList: [], imgList: [], priceIndex: 0, eidtFor: 0, @@ -429,11 +424,11 @@ export default { //新增售价 addPriceClick() { this.skuList.push({ - isPromoting: 0, + isPromoting: 1, listPrice: null, minimum: null, stock: null, - stockUnit: '1', + stockUnit: '2', weight: null, categoryName: null }) diff --git a/pages/mall/index.vue b/pages/mall/index.vue index 718ce5e..84e682e 100644 --- a/pages/mall/index.vue +++ b/pages/mall/index.vue @@ -41,7 +41,7 @@ {{ item.updateTime }} - 编辑 + 编辑 {{ item.status === 30111 ? '下架' : '上架' }} diff --git a/pages/submit-quotation/index.vue b/pages/submit-quotation/index.vue index 1d6e693..53e7df4 100644 --- a/pages/submit-quotation/index.vue +++ b/pages/submit-quotation/index.vue @@ -41,7 +41,7 @@ {{ items.paperName }}|{{ items.gramWeight }}|{{ items.length }}*{{ items.width }}|{{ items.quantity }} - + @@ -52,7 +52,7 @@ 单价(元/吨): {{ items.unitFee }} - + @@ -80,7 +80,7 @@ 有效时间: {{ upDataObj.enquiryValidTime }} - 设置 + 设置 @@ -88,7 +88,7 @@ - + @@ -273,6 +273,7 @@ export default { this.$set(this.upDataObj, 'enquiryValidTimeSplit', timeabs) this.$set(this.upDataObj, 'otherFee', 0) this.$set(this.upDataObj, 'totalAllPrice', 0) + this.priceFree() console.log('this.upDataObj', res) } }) @@ -387,6 +388,8 @@ export default { this.priceFree() }, priceFree() { + this.upDataObj.totalAllPrice = 0 + this.upDataObj.otherFee = 0 for (let i = 0; i < this.upDataObj.itemList.length; i++) { var totalAllPrice = parseFloat(this.upDataObj.totalAllPrice) + parseFloat(this.upDataObj.itemList[i].totalPrice) this.upDataObj.totalAllPrice = totalAllPrice.toFixed(2) diff --git a/pages/trade/quotationList.vue b/pages/trade/quotationList.vue index 91e730f..45eb2e4 100644 --- a/pages/trade/quotationList.vue +++ b/pages/trade/quotationList.vue @@ -46,7 +46,9 @@ 报价截止: {{ item.enquiryValidTime }} - + + + @@ -93,7 +95,7 @@ export default { }, pagination: { pageNum: 0, // 初始会执行一次下拉加载 - pageSize: 10 + pageSize: 20 }, list: [] } From d384fe7b92dc06c136d960564e58c32918df0370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=98=81=E8=BE=89?= Date: Thu, 20 Jan 2022 16:09:13 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8A=A5=E4=BB=B7?= =?UTF-8?q?=E8=AF=A6=E6=83=85=20=E7=8A=B6=E6=80=81=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/quotation-details/index.vue | 4 +- pages/trade/quotationList.vue | 572 +++++++++++++++--------------- 2 files changed, 281 insertions(+), 295 deletions(-) diff --git a/pages/quotation-details/index.vue b/pages/quotation-details/index.vue index f3eef36..922fe7b 100644 --- a/pages/quotation-details/index.vue +++ b/pages/quotation-details/index.vue @@ -4,13 +4,13 @@ 报价详情 - 修改报价 + 修改报价 交货要求 - 已报价 + {{upDataObj.re}} 询价客户: diff --git a/pages/trade/quotationList.vue b/pages/trade/quotationList.vue index 45eb2e4..f22b753 100644 --- a/pages/trade/quotationList.vue +++ b/pages/trade/quotationList.vue @@ -1,66 +1,52 @@ + From 1dedc3d2e99b549aef38eae9902bac5ddacae27a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=98=81=E8=BE=89?= Date: Thu, 20 Jan 2022 16:26:24 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86=E9=95=BF?= =?UTF-8?q?=E5=BA=A6=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/add-paper/index.vue | 1 + pages/quotation-details/index.vue | 35 +++++++++++++++++++++++++++++-- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/pages/add-paper/index.vue b/pages/add-paper/index.vue index dad1bb3..e10e9ec 100644 --- a/pages/add-paper/index.vue +++ b/pages/add-paper/index.vue @@ -178,6 +178,7 @@ v-model="item.minimum" :inputBorder="false" text="right" + :maxlength="9999999999" placeholder="请输入最低起送量" > {{ item.stockUnit === '1' ? '张' : '吨' }} diff --git a/pages/quotation-details/index.vue b/pages/quotation-details/index.vue index 922fe7b..d7ef22e 100644 --- a/pages/quotation-details/index.vue +++ b/pages/quotation-details/index.vue @@ -10,7 +10,7 @@ 交货要求 - {{upDataObj.re}} + {{ upDataObj.replyStatus | replyFilter }} 询价客户: @@ -86,6 +86,30 @@ export default { qnHeader, uGap }, + filters: { + replyFilter(value) { + var abs = '' + if (value) { + // 30128 待报价 30130 已报价 30139 转化订单 30102 已失效 + switch (value) { + case 30128: + abs = '待报价' + break + case 30130: + abs = '已报价' + break + case 30139: + abs = '转化订单' + break + case 30102: + abs = '已失效' + break + default: + break + } + } + } + }, data() { return { value: '', @@ -565,7 +589,14 @@ export default { font-size: 30rpx; color: #ff5368; letter-spacing: 0; - text-align: right; + font-weight: 500; + float: right; + padding-right: 32rpx; + } + .price-tips-gq { + font-size: 30rpx; + color: #888888; + letter-spacing: 0; font-weight: 500; float: right; padding-right: 32rpx; From f62eca230a1cee03a0e4fe2835355e2750073392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=98=81=E8=BE=89?= Date: Thu, 20 Jan 2022 16:44:49 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AB=99=E4=BD=8D?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/add-paper/index.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pages/add-paper/index.vue b/pages/add-paper/index.vue index e10e9ec..8eb31c0 100644 --- a/pages/add-paper/index.vue +++ b/pages/add-paper/index.vue @@ -219,7 +219,7 @@ v-model="form.sellingProposition" :inputBorder="false" type="textarea" - placeholder="月结30天价格,不加服务费!" + placeholder="请输入商品卖点" > @@ -235,7 +235,7 @@ v-model="form.description" :inputBorder="false" type="textarea" - placeholder="售价全部为含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。" + placeholder="请输入商品描述" > @@ -250,7 +250,7 @@ v-model="form.shippingNote" :inputBorder="false" type="textarea" - placeholder="分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。" + placeholder="请输入送货说明" > @@ -313,7 +313,11 @@ export default { isMainProductRep: 0, manufacturerName: null, brandName: null, - categoryName: null + categoryName: null, + sellingProposition:'月结30天价格,不加服务费!', + description:'售价全部为含税价,支持先用后付,欢迎来电查询!近期价格波动较大,请下单前先咨询价格。', + shippingNote:'分切纸不足重量的,另加调机费;低于送货重量或超出送货范围的,运费另计。' + }, imageStyles: { width: 100, From f0133773f7bc8078f20d3f5e0235a6b742a5dac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=98=81=E8=BE=89?= Date: Thu, 20 Jan 2022 17:02:44 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/mall/index.vue | 15 ++- utils/index.js | 221 +++++++++++++++++++++++++------------------ 2 files changed, 144 insertions(+), 92 deletions(-) diff --git a/pages/mall/index.vue b/pages/mall/index.vue index 84e682e..8a04442 100644 --- a/pages/mall/index.vue +++ b/pages/mall/index.vue @@ -39,7 +39,7 @@ - {{ item.updateTime }} + {{item.updateTime | timeFilter }} 编辑 @@ -59,11 +59,21 @@