|
|
|
@ -20,6 +20,7 @@ |
|
|
|
<view class="shop-collapse" v-for="(item1,index1) in item.stockLogList1" :key='index1'> |
|
|
|
<text>{{item1.attributeList | sliceMsg}}</text> |
|
|
|
<text>数量:{{item1.productCount}}</text> |
|
|
|
<!-- <u-number-box integer v-if="isReturn" :max="item1.productCount - " :min="0" --> |
|
|
|
<u-number-box integer v-if="isReturn" :max="item1.productCount" :min="0" |
|
|
|
v-model="item1.returnCount"></u-number-box> |
|
|
|
</view> |
|
|
|
@ -72,8 +73,9 @@ |
|
|
|
<view class="tui-price-flex tui-size32" v-if="isReturn"> |
|
|
|
<view class="tui-flex-shrink">已选金额</view> |
|
|
|
<view class="tui-goods-price"> |
|
|
|
<view class="tui-size-24">¥</view> |
|
|
|
<view class="tui-price-large">{{ changeAmount}}</view> |
|
|
|
<view class="tui-size-24">¥</view> |
|
|
|
<input type="digit" style="width: 150rpx;text-align: right;border-bottom: 1px solid #eee;" v-model='changeAmount'> |
|
|
|
<!-- <view class="tui-price-large">{{ changeAmount}}</view> --> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="tui-price-flex tui-size32" v-if="isReturn"> |
|
|
|
@ -424,7 +426,6 @@ |
|
|
|
}, |
|
|
|
getReturnOrder(id) { |
|
|
|
this.tui.request("/app/return/list", "post", { |
|
|
|
shopId: "1718514268414021633", |
|
|
|
remark: 3, |
|
|
|
saleId: id |
|
|
|
}, false, false).then((res) => { |
|
|
|
@ -506,7 +507,13 @@ |
|
|
|
} |
|
|
|
}).catch((res) => {}) |
|
|
|
}, |
|
|
|
returnGoods() { |
|
|
|
returnGoods() { |
|
|
|
// for(let i=0;i<this.list.length;i++){ |
|
|
|
// this.inventoryList.forEach(item => { |
|
|
|
// this.list[i].returnCount = this.list[i].productCount - item.productCount |
|
|
|
// }) |
|
|
|
// } |
|
|
|
|
|
|
|
if (this.isReturn) { |
|
|
|
this.sureReturn() |
|
|
|
} else { |
|
|
|
|