|
|
|
@ -129,7 +129,7 @@ |
|
|
|
</view> |
|
|
|
<view class="quantity-row"> |
|
|
|
<view class="label">购买数量(张)</view> |
|
|
|
<view class=""><qnInputNumber @change="change" /></view> |
|
|
|
<view class=""><qnInputNumber @input="change" /></view> |
|
|
|
</view> |
|
|
|
<view class="ygzl-text">预估重量:{{ buyTon }}吨</view> |
|
|
|
<view class="popup-footer-row"><view class="btn" @tap="confirm">确认</view></view> |
|
|
|
@ -234,8 +234,8 @@ export default { |
|
|
|
if (this.hasLogin) { |
|
|
|
this.queryData() |
|
|
|
} else { |
|
|
|
this.$store.commit('setNextPage', { name: 'paper-detail', data: { paperId: option.paperId } }) |
|
|
|
go2('login') |
|
|
|
this.$store.commit('setNextPage', { name: 'paper-details', data: { paperId: option.paperId } }) |
|
|
|
go2('login', {}, true) |
|
|
|
} |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
@ -376,7 +376,7 @@ export default { |
|
|
|
* 计数器返回值 |
|
|
|
*/ |
|
|
|
change(num) { |
|
|
|
this.buyPaperDto.pieceQuantity = num |
|
|
|
this.buyPaperDto.pieceQuantity = num || 0 |
|
|
|
}, |
|
|
|
// 确定 |
|
|
|
confirm() { |
|
|
|
|