|
|
@ -4,7 +4,7 @@ |
|
|
<uni-nav-bar left-icon="back" @clickLeft="back" statusBar fixed title=""> |
|
|
<uni-nav-bar left-icon="back" @clickLeft="back" statusBar fixed title=""> |
|
|
<view class="submit-title">报价详情</view> |
|
|
<view class="submit-title">报价详情</view> |
|
|
<view slot="left"></view> |
|
|
<view slot="left"></view> |
|
|
<view slot="right" class="edit-price" v-if="upDataObj.replyStatus !== 30102" @click="editPrice()">修改报价</view> |
|
|
|
|
|
|
|
|
<view slot="right" class="edit-price" v-if="![30139, 30102].includes(upDataObj.replyStatus)" @click="editPrice()">修改报价</view> |
|
|
</uni-nav-bar> |
|
|
</uni-nav-bar> |
|
|
</view> |
|
|
</view> |
|
|
<view class="submit-main"> |
|
|
<view class="submit-main"> |
|
|
@ -26,50 +26,53 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<uGap></uGap> |
|
|
<uGap></uGap> |
|
|
<view class="submit-contant" v-for="(items, index) in upDataObj.itemList" :key="index"> |
|
|
|
|
|
<view class="submit-contant-head"> |
|
|
|
|
|
<view class="submit-contant-title">{{ items.brandName }}|{{ items.gramWeight }}|{{ items.length }}*{{ items.width }}|{{ items.quantity }}</view> |
|
|
|
|
|
|
|
|
<view class="submit-content" v-for="(items, index) in upDataObj.itemList" :key="index"> |
|
|
|
|
|
<view class="submit-content-head"> |
|
|
|
|
|
<view class="submit-content-title"> |
|
|
|
|
|
{{ items.brandName }} | {{ items.gramWeight }}g | {{ items.length }}*{{ items.width }} | {{ items.quantity }}张 |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="submit-contant-body"> |
|
|
|
|
|
|
|
|
<view class="submit-content-body"> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<text class="submit-contant-body-title">重量(吨):</text> |
|
|
|
|
|
<text class="submit-contant-body-subtitle">{{ items.wight }}</text> |
|
|
|
|
|
|
|
|
<text class="submit-content-body-title">重量(吨):</text> |
|
|
|
|
|
<text class="submit-content-body-subtitle">{{ items.weight }}</text> |
|
|
</view> |
|
|
</view> |
|
|
<view> |
|
|
<view> |
|
|
<text class="submit-contant-body-title">单价(元/吨):</text> |
|
|
|
|
|
<text class="submit-contant-body-subtitle">{{ items.unitFee }}</text> |
|
|
|
|
|
|
|
|
<text class="submit-content-body-title">单价(元/吨):</text> |
|
|
|
|
|
<text class="submit-content-body-subtitle">{{ items.unitFee }}</text> |
|
|
</view> |
|
|
</view> |
|
|
<view> |
|
|
<view> |
|
|
<text class="submit-contant-body-title">小计(元):</text> |
|
|
|
|
|
<text class="submit-contant-body-subtitle">{{ items.totalPrice }}</text> |
|
|
|
|
|
|
|
|
<text class="submit-content-body-title">小计(元):</text> |
|
|
|
|
|
<text class="submit-content-body-subtitle">{{ items.totalPrice }}</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class="submit-contant-body-input"> |
|
|
|
|
|
<uni-easyinput :disabled="true" maxlength="100" class="submit-contant-body-inputClass" v-model="value" placeholder="请输入内容"></uni-easyinput> |
|
|
|
|
|
|
|
|
<view class="flex-row-center-start"> |
|
|
|
|
|
<text class="submit-content-body-title">备注信息:</text> |
|
|
|
|
|
<text class="submit-content-body-subtitle">{{ items.remark }}</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="submit-contant-order"> |
|
|
|
|
|
|
|
|
<view class="submit-content-order"> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<text class="submit-contant-order-title">其他费用:</text> |
|
|
|
|
|
<text class="submit-contant-order-subtitle">¥ {{ upDataObj.otherFee }}</text> |
|
|
|
|
|
|
|
|
<text class="submit-content-order-title">其他费用:</text> |
|
|
|
|
|
<text class="submit-content-order-subtitle">¥ {{ upDataObj.otherFee }}</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<text class="submit-contant-order-title">合计:</text> |
|
|
|
|
|
<text class="submit-contant-order-money">¥ {{ upDataObj.totalAllPrice }}</text> |
|
|
|
|
|
|
|
|
<text class="submit-content-order-title">合计:</text> |
|
|
|
|
|
<text class="submit-content-order-money">¥ {{ upDataObj.totalAllPrice }}</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<uGap></uGap> |
|
|
<uGap></uGap> |
|
|
<view class="submit-contant-time"> |
|
|
|
|
|
|
|
|
<view class="submit-content-time"> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<text class="submit-contant-time-title">有效时间:</text> |
|
|
|
|
|
<text class="submit-contant-time-title">{{ upDataObj.enquiryValidTime }}</text> |
|
|
|
|
|
|
|
|
<text class="submit-content-time-title">有效时间:</text> |
|
|
|
|
|
<text class="submit-content-time-title">{{ upDataObj.enquiryValidTime }}</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<uGap></uGap> |
|
|
<uGap></uGap> |
|
|
<view class="submit-contant-remark"> |
|
|
|
|
|
<view class="submit-contant-remark-title"> |
|
|
|
|
|
|
|
|
<view class="submit-content-remark"> |
|
|
|
|
|
<view class="submit-content-remark-title"> |
|
|
<text>报价备注:</text> |
|
|
<text>报价备注:</text> |
|
|
<text>29号5点前能送达。</text> |
|
|
|
|
|
|
|
|
<text>{{ upDataObj.remark }}</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="tips"><text>注:禁止偷克重、抵纸换纸,否则将被平台严厉处罚!包括但不限于账号禁用。</text></view> |
|
|
<view class="tips"><text>注:禁止偷克重、抵纸换纸,否则将被平台严厉处罚!包括但不限于账号禁用。</text></view> |
|
|
@ -112,6 +115,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
|
|
|
id: null, |
|
|
value: '', |
|
|
value: '', |
|
|
visible: true, |
|
|
visible: true, |
|
|
title: 'picker-view', |
|
|
title: 'picker-view', |
|
|
@ -120,12 +124,18 @@ export default { |
|
|
deliveryArea: '广东省/广州市/天河区', |
|
|
deliveryArea: '广东省/广州市/天河区', |
|
|
deliveryDay: '2021/12/29 12:30', |
|
|
deliveryDay: '2021/12/29 12:30', |
|
|
enquiryValidTime: [12, 11, 10], |
|
|
enquiryValidTime: [12, 11, 10], |
|
|
itemList: [] |
|
|
|
|
|
|
|
|
itemList: [], |
|
|
|
|
|
replyStatus: 30102 |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onLoad(Option) { |
|
|
|
|
|
this.getDetail(Option.id) |
|
|
|
|
|
|
|
|
onLoad(option) { |
|
|
|
|
|
if (option.id) { |
|
|
|
|
|
this.id = option.id |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
onShow() { |
|
|
|
|
|
this.id && this.getDetail(this.id) |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
back, |
|
|
back, |
|
|
@ -135,9 +145,6 @@ export default { |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
if (res) { |
|
|
if (res) { |
|
|
this.upDataObj = res |
|
|
this.upDataObj = res |
|
|
var timeb = this.upDataObj.enquiryValidTime.split(' ') |
|
|
|
|
|
var timeabs = timeb[1].split(':') |
|
|
|
|
|
this.$set(this.upDataObj, 'enquiryValidTimeSplit', timeabs) |
|
|
|
|
|
this.$set(this.upDataObj, 'otherFee', 0) |
|
|
this.$set(this.upDataObj, 'otherFee', 0) |
|
|
this.$set(this.upDataObj, 'totalAllPrice', 0) |
|
|
this.$set(this.upDataObj, 'totalAllPrice', 0) |
|
|
this.priceFree() |
|
|
this.priceFree() |
|
|
@ -147,23 +154,6 @@ export default { |
|
|
reject(err) |
|
|
reject(err) |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
// 商品操作按钮 |
|
|
|
|
|
commodityModify(item) { |
|
|
|
|
|
console.log(111) |
|
|
|
|
|
this.$refs.popup.open('bottom') |
|
|
|
|
|
}, |
|
|
|
|
|
// 单价操作按钮 |
|
|
|
|
|
priceModify() { |
|
|
|
|
|
this.$refs.popupPrice.open('bottom') |
|
|
|
|
|
}, |
|
|
|
|
|
// 事件设置 |
|
|
|
|
|
resetTime() { |
|
|
|
|
|
this.$refs.popupTime.open('bottom') |
|
|
|
|
|
}, |
|
|
|
|
|
// 事件选择change事件 |
|
|
|
|
|
bindChange(e) { |
|
|
|
|
|
console.log(e.detail.value) |
|
|
|
|
|
}, |
|
|
|
|
|
priceFree() { |
|
|
priceFree() { |
|
|
for (let i = 0; i < this.upDataObj.itemList.length; i++) { |
|
|
for (let i = 0; i < this.upDataObj.itemList.length; i++) { |
|
|
var totalAllPrice = parseFloat(this.upDataObj.totalAllPrice) + parseFloat(this.upDataObj.itemList[i].totalPrice) |
|
|
var totalAllPrice = parseFloat(this.upDataObj.totalAllPrice) + parseFloat(this.upDataObj.itemList[i].totalPrice) |
|
|
@ -172,28 +162,11 @@ export default { |
|
|
this.upDataObj.otherFee = otherFee.toFixed(2) |
|
|
this.upDataObj.otherFee = otherFee.toFixed(2) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
close() { |
|
|
|
|
|
this.$refs.popup.close() |
|
|
|
|
|
this.$refs.popupPrice.close() |
|
|
|
|
|
}, |
|
|
|
|
|
// 纸张选择下拉change事件 |
|
|
|
|
|
onchange(e) { |
|
|
|
|
|
console.log(e) |
|
|
|
|
|
this.pickerValue = e.detail.value |
|
|
|
|
|
}, |
|
|
|
|
|
// 时间设置取消 |
|
|
|
|
|
pickerCancel() { |
|
|
|
|
|
this.$refs.popupTime.close() |
|
|
|
|
|
}, |
|
|
|
|
|
// 时间设置确认 |
|
|
|
|
|
pickerSure() { |
|
|
|
|
|
this.$refs.popupTime.close() |
|
|
|
|
|
}, |
|
|
|
|
|
// 修改报价按钮 |
|
|
// 修改报价按钮 |
|
|
editPrice() { |
|
|
editPrice() { |
|
|
var params = { |
|
|
var params = { |
|
|
title: '修改报价', |
|
|
title: '修改报价', |
|
|
id: this.upDataObj.id |
|
|
|
|
|
|
|
|
id: this.upDataObj.id |
|
|
} |
|
|
} |
|
|
go2('submit-quotation', params) |
|
|
go2('submit-quotation', params) |
|
|
} |
|
|
} |
|
|
@ -296,12 +269,12 @@ export default { |
|
|
margin-top: 20rpx; |
|
|
margin-top: 20rpx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.submit-contant { |
|
|
|
|
|
|
|
|
.submit-content { |
|
|
background-color: #ffffff; |
|
|
background-color: #ffffff; |
|
|
// height: 368rpx; |
|
|
// height: 368rpx; |
|
|
border-bottom: 2rpx solid rgba(221, 221, 221, 0.5); |
|
|
border-bottom: 2rpx solid rgba(221, 221, 221, 0.5); |
|
|
padding-bottom: 20rpx; |
|
|
padding-bottom: 20rpx; |
|
|
.submit-contant-head { |
|
|
|
|
|
|
|
|
.submit-content-head { |
|
|
line-height: 90rpx; |
|
|
line-height: 90rpx; |
|
|
width: 750rpx; |
|
|
width: 750rpx; |
|
|
height: 90rpx; |
|
|
height: 90rpx; |
|
|
@ -309,7 +282,7 @@ export default { |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
} |
|
|
} |
|
|
.submit-contant-title { |
|
|
|
|
|
|
|
|
.submit-content-title { |
|
|
font-family: PingFangSC-Semibold; |
|
|
font-family: PingFangSC-Semibold; |
|
|
font-size: 30rpx; |
|
|
font-size: 30rpx; |
|
|
color: rgba(0, 0, 0, 0.75); |
|
|
color: rgba(0, 0, 0, 0.75); |
|
|
@ -318,17 +291,17 @@ export default { |
|
|
font-weight: 600; |
|
|
font-weight: 600; |
|
|
padding: 0rpx 0rpx 0rpx 32rpx; |
|
|
padding: 0rpx 0rpx 0rpx 32rpx; |
|
|
} |
|
|
} |
|
|
.submit-contant-body { |
|
|
|
|
|
|
|
|
.submit-content-body { |
|
|
line-height: 68rpx; |
|
|
line-height: 68rpx; |
|
|
padding-left: 32rpx; |
|
|
padding-left: 32rpx; |
|
|
.submit-contant-body-title { |
|
|
|
|
|
|
|
|
.submit-content-body-title { |
|
|
font-family: PingFangSC-Regular; |
|
|
font-family: PingFangSC-Regular; |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
color: #555555; |
|
|
color: #555555; |
|
|
letter-spacing: 0; |
|
|
letter-spacing: 0; |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
} |
|
|
} |
|
|
.submit-contant-body-subtitle { |
|
|
|
|
|
|
|
|
.submit-content-body-subtitle { |
|
|
font-family: PingFangSC-Regular; |
|
|
font-family: PingFangSC-Regular; |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
color: #555555; |
|
|
color: #555555; |
|
|
@ -337,15 +310,15 @@ export default { |
|
|
float: right; |
|
|
float: right; |
|
|
margin-right: 32rpx; |
|
|
margin-right: 32rpx; |
|
|
} |
|
|
} |
|
|
.submit-contant-body-input { |
|
|
|
|
|
|
|
|
.submit-content-body-input { |
|
|
margin-right: 32rpx; |
|
|
margin-right: 32rpx; |
|
|
} |
|
|
} |
|
|
.submit-contant-body-inputClass { |
|
|
|
|
|
|
|
|
.submit-content-body-inputClass { |
|
|
background-color: #f7f8fa; |
|
|
background-color: #f7f8fa; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.submit-contant-order { |
|
|
|
|
|
|
|
|
.submit-content-order { |
|
|
width: 750rpx; |
|
|
width: 750rpx; |
|
|
height: 90rpx; |
|
|
height: 90rpx; |
|
|
line-height: 90rpx; |
|
|
line-height: 90rpx; |
|
|
@ -354,7 +327,7 @@ export default { |
|
|
padding-left: 32rpx; |
|
|
padding-left: 32rpx; |
|
|
padding-right: 32rpx; |
|
|
padding-right: 32rpx; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
.submit-contant-order-title { |
|
|
|
|
|
|
|
|
.submit-content-order-title { |
|
|
width: 140rpx; |
|
|
width: 140rpx; |
|
|
height: 40rpx; |
|
|
height: 40rpx; |
|
|
font-family: PingFangSC-Regular; |
|
|
font-family: PingFangSC-Regular; |
|
|
@ -362,7 +335,7 @@ export default { |
|
|
color: rgba(0, 0, 0, 0.5); |
|
|
color: rgba(0, 0, 0, 0.5); |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
} |
|
|
} |
|
|
.submit-contant-order-subtitle { |
|
|
|
|
|
|
|
|
.submit-content-order-subtitle { |
|
|
width: 101rpx; |
|
|
width: 101rpx; |
|
|
height: 40rpx; |
|
|
height: 40rpx; |
|
|
font-family: PingFangSC-Regular; |
|
|
font-family: PingFangSC-Regular; |
|
|
@ -372,7 +345,7 @@ export default { |
|
|
text-align: left; |
|
|
text-align: left; |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
} |
|
|
} |
|
|
.submit-contant-order-money { |
|
|
|
|
|
|
|
|
.submit-content-order-money { |
|
|
width: 172rpx; |
|
|
width: 172rpx; |
|
|
height: 42rpx; |
|
|
height: 42rpx; |
|
|
font-family: PingFangSC-Semibold; |
|
|
font-family: PingFangSC-Semibold; |
|
|
@ -383,7 +356,7 @@ export default { |
|
|
font-weight: 600; |
|
|
font-weight: 600; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.submit-contant-time { |
|
|
|
|
|
|
|
|
.submit-content-time { |
|
|
width: 750rpx; |
|
|
width: 750rpx; |
|
|
height: 88rpx; |
|
|
height: 88rpx; |
|
|
background: #ffffff; |
|
|
background: #ffffff; |
|
|
@ -392,7 +365,7 @@ export default { |
|
|
padding-left: 32rpx; |
|
|
padding-left: 32rpx; |
|
|
padding-right: 32rpx; |
|
|
padding-right: 32rpx; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
|
.submit-contant-time-title { |
|
|
|
|
|
|
|
|
.submit-content-time-title { |
|
|
width: 230rpx; |
|
|
width: 230rpx; |
|
|
height: 40rpx; |
|
|
height: 40rpx; |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
@ -400,7 +373,7 @@ export default { |
|
|
letter-spacing: 0; |
|
|
letter-spacing: 0; |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
} |
|
|
} |
|
|
.submit-contant-time-subtitle { |
|
|
|
|
|
|
|
|
.submit-content-time-subtitle { |
|
|
width: 56rpx; |
|
|
width: 56rpx; |
|
|
height: 40rpx; |
|
|
height: 40rpx; |
|
|
font-size: 28rpx; |
|
|
font-size: 28rpx; |
|
|
@ -411,11 +384,11 @@ export default { |
|
|
cursor: pointer; |
|
|
cursor: pointer; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.submit-contant-remark { |
|
|
|
|
|
|
|
|
.submit-content-remark { |
|
|
width: 750rpx; |
|
|
width: 750rpx; |
|
|
height: 88rpx; |
|
|
height: 88rpx; |
|
|
background: #ffffff; |
|
|
background: #ffffff; |
|
|
.submit-contant-remark-title { |
|
|
|
|
|
|
|
|
.submit-content-remark-title { |
|
|
font-family: PingFangSC-Regular; |
|
|
font-family: PingFangSC-Regular; |
|
|
font-size: 30rpx; |
|
|
font-size: 30rpx; |
|
|
color: #000000; |
|
|
color: #000000; |
|
|
@ -423,7 +396,7 @@ export default { |
|
|
font-weight: 400; |
|
|
font-weight: 400; |
|
|
padding: 28rpx 0rpx 0rpx 32rpx; |
|
|
padding: 28rpx 0rpx 0rpx 32rpx; |
|
|
} |
|
|
} |
|
|
.submit-contant-remark-input { |
|
|
|
|
|
|
|
|
.submit-content-remark-input { |
|
|
background: #f7f8fa; |
|
|
background: #f7f8fa; |
|
|
border-radius: 20rpx; |
|
|
border-radius: 20rpx; |
|
|
margin: 10rpx 32rpx 32rpx 32rpx; |
|
|
margin: 10rpx 32rpx 32rpx 32rpx; |
|
|
|