|
|
|
@ -30,7 +30,7 @@ |
|
|
|
<image v-if="item.order_detail[0].goods_image" class="td-image" :src="item.order_detail[0].goods_image"></image> |
|
|
|
<image v-else-if="img" class="td-image" :src="img"></image> |
|
|
|
</uni-td> |
|
|
|
<uni-td align="center">{{ item.buy_username }}</uni-td> |
|
|
|
<uni-td align="center">{{ item.order_detail[0].goods_name }}</uni-td> |
|
|
|
<uni-td align="center">{{ item.buy_islicode }}</uni-td> |
|
|
|
<uni-td align="center">{{ item.price_type}}</uni-td> |
|
|
|
<uni-td align="center">{{ item.goods_entrust }}</uni-td> |
|
|
|
@ -174,7 +174,7 @@ export default { |
|
|
|
getTableList(pageNo = 1) { |
|
|
|
const app = this |
|
|
|
let param = { |
|
|
|
user_isli : uni.getStorageSync("accountId"), |
|
|
|
user_isli : uni.getStorageSync("isliCode"), |
|
|
|
user_role : 1, |
|
|
|
batchcode : app.batchcode |
|
|
|
} |
|
|
|
@ -183,6 +183,7 @@ export default { |
|
|
|
if (res.resultCode === "00000000" && res.data.length > 0) { |
|
|
|
app.loading = false |
|
|
|
app.tableList = res.data |
|
|
|
app.good_money = res.data[0].total_money |
|
|
|
app.handlerTableList() |
|
|
|
app.quantitySale(app.tableList[0].order_detail) |
|
|
|
} else { |
|
|
|
@ -219,8 +220,6 @@ export default { |
|
|
|
item.small_count = app.handlerPrice(order_detail.price) |
|
|
|
} |
|
|
|
item.money = app.handlerPrice(order_detail.money) |
|
|
|
// 总合计金额 |
|
|
|
app.good_money += item.total_money |
|
|
|
}) |
|
|
|
|
|
|
|
if (this.good_money > 20000) { |
|
|
|
|