|
|
@ -29,9 +29,8 @@ |
|
|
<uni-td align="center"> |
|
|
<uni-td align="center"> |
|
|
<image v-if="item.order_detail[0].goods_image" class="td-image" :src="item.order_detail[0].goods_image"></image> |
|
|
<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> |
|
|
<image v-else-if="img" class="td-image" :src="img"></image> |
|
|
<image v-else class="td-image" :src="Comment.getDefaultImage"></image> |
|
|
|
|
|
</uni-td> |
|
|
</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.buy_islicode }}</uni-td> |
|
|
<uni-td align="center">{{ item.price_type}}</uni-td> |
|
|
<uni-td align="center">{{ item.price_type}}</uni-td> |
|
|
<uni-td align="center">{{ item.goods_entrust }}</uni-td> |
|
|
<uni-td align="center">{{ item.goods_entrust }}</uni-td> |
|
|
@ -76,7 +75,6 @@ |
|
|
|
|
|
|
|
|
import * as GoodsApi from '@/api/goods' |
|
|
import * as GoodsApi from '@/api/goods' |
|
|
import * as VerifyApi from '@/api/verify' |
|
|
import * as VerifyApi from '@/api/verify' |
|
|
import * as Comment from '@/api/order/comment' |
|
|
|
|
|
import uniTable from "@/uni_modules/uni-table/components/uni-table/uni-table" |
|
|
import uniTable from "@/uni_modules/uni-table/components/uni-table/uni-table" |
|
|
import uniTr from "@/uni_modules/uni-table/components/uni-tr/uni-tr" |
|
|
import uniTr from "@/uni_modules/uni-table/components/uni-tr/uni-tr" |
|
|
import uniTh from "@/uni_modules/uni-table/components/uni-th/uni-th" |
|
|
import uniTh from "@/uni_modules/uni-table/components/uni-th/uni-th" |
|
|
@ -176,7 +174,7 @@ export default { |
|
|
getTableList(pageNo = 1) { |
|
|
getTableList(pageNo = 1) { |
|
|
const app = this |
|
|
const app = this |
|
|
let param = { |
|
|
let param = { |
|
|
user_isli : uni.getStorageSync("accountId"), |
|
|
user_isli : uni.getStorageSync("isliCode"), |
|
|
user_role : 1, |
|
|
user_role : 1, |
|
|
batchcode : app.batchcode |
|
|
batchcode : app.batchcode |
|
|
} |
|
|
} |
|
|
@ -185,6 +183,7 @@ export default { |
|
|
if (res.resultCode === "00000000" && res.data.length > 0) { |
|
|
if (res.resultCode === "00000000" && res.data.length > 0) { |
|
|
app.loading = false |
|
|
app.loading = false |
|
|
app.tableList = res.data |
|
|
app.tableList = res.data |
|
|
|
|
|
app.good_money = res.data[0].total_money |
|
|
app.handlerTableList() |
|
|
app.handlerTableList() |
|
|
app.quantitySale(app.tableList[0].order_detail) |
|
|
app.quantitySale(app.tableList[0].order_detail) |
|
|
} else { |
|
|
} else { |
|
|
@ -221,8 +220,6 @@ export default { |
|
|
item.small_count = app.handlerPrice(order_detail.price) |
|
|
item.small_count = app.handlerPrice(order_detail.price) |
|
|
} |
|
|
} |
|
|
item.money = app.handlerPrice(order_detail.money) |
|
|
item.money = app.handlerPrice(order_detail.money) |
|
|
// 总合计金额 |
|
|
|
|
|
app.good_money += item.total_money |
|
|
|
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
if (this.good_money > 20000) { |
|
|
if (this.good_money > 20000) { |
|
|
@ -504,7 +501,7 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.item-pay-con-bu { |
|
|
.item-pay-con-bu { |
|
|
width: 200rpx; |
|
|
width: 240rpx; |
|
|
margin-top: 30rpx; |
|
|
margin-top: 30rpx; |
|
|
margin-left: 50rpx; |
|
|
margin-left: 50rpx; |
|
|
border-radius: 15rpx; |
|
|
border-radius: 15rpx; |
|
|
|