forked from zhongyuanhaiju/uniapp
parent
08a53d7359
commit
0a99f8c817
|
|
@ -33,7 +33,7 @@
|
|||
</view>
|
||||
<view class="right">
|
||||
<view class="goods-name">{{ item.goods_name }}</view>
|
||||
<view class="goods-name" >销售商:{{item.buyer_name }}</view>
|
||||
<view class="goods-name" >销售商:{{item.seller_nickname }}</view>
|
||||
<view class="goods-num">数量:{{ item.total }}</view>
|
||||
<view v-if="pageType=='release'">
|
||||
<view class="goods-info">
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="goods-info" v-if="pageType =='stock' || pageType=='all'">
|
||||
采购价:<view class="goods-info-price"><text class="goods-info-unit">¥</text>{{item.unit_price}}</view>
|
||||
采购价:<view class="goods-info-price"><text class="goods-info-unit">¥</text>{{item.price}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
|
|
|||
|
|
@ -316,6 +316,14 @@ export default {
|
|||
sale(agree_split_order = 0){
|
||||
let _this = this;
|
||||
// 判断价格
|
||||
if(_this.transfer_price === ''){
|
||||
_this.$util.showToast({
|
||||
title: '请输入售价',
|
||||
mask: true,
|
||||
duration: 1500,
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if(parseFloat(_this.transfer_price) <= 0){
|
||||
_this.$util.showToast({
|
||||
title: '转售价格必须大于0',
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ export default {
|
|||
content: '设置支付密码需要先绑定手机号,是否立即绑定?',
|
||||
success: res => {
|
||||
if (res.confirm) {
|
||||
this.$util.redirectTo('/pages_tool/member/info', { action: 'mobile', back: this.back }, 'redirectTo');
|
||||
this.$util.redirectTo('/pages_tool/member/info_edit', { action: 'mobile', back: this.back }, 'redirectTo');
|
||||
} else {
|
||||
if (this.back) this.$util.redirectTo(this.back);
|
||||
else this.$util.redirectTo('/pages/member/index');
|
||||
|
|
|
|||
Loading…
Reference in New Issue