优化打包、订单云打印
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<div class="footer">
|
||||
<!-- <el-button icon="Edit"></el-button> -->
|
||||
<div class="button">
|
||||
<el-checkbox v-model="isPrint" border label="打印结算小票" style="width: 100%" />
|
||||
<el-checkbox v-model="isPrint" :true-value="1" :false-value="0" border label="打印结算小票" style="width: 100%" />
|
||||
</div>
|
||||
<!-- <div class="print">
|
||||
<el-button type="warning" :loading="discountLoading" @click="showStaffDiscountHandle">添加折扣</el-button>
|
||||
@@ -47,7 +47,8 @@
|
||||
</div>
|
||||
<div class="pay_wrap">
|
||||
<payCard ref="payCardRef" :orderList="orderList" :amount="cartInfo.totalAmount"
|
||||
:orderId="goodsStore.orderListInfo.id" @paySuccess="paySuccess" @orderExpired="orderExpiredHnadle" />
|
||||
:orderId="goodsStore.orderListInfo.id" @paySuccess="paySuccess" @orderExpired="orderExpiredHnadle"
|
||||
:isPrint="0" />
|
||||
</div>
|
||||
</div>
|
||||
<!-- <el-dialog v-model="showStaffDiscount" title="员工折扣" @close="global.updateData(true)">
|
||||
@@ -137,7 +138,7 @@ const props = defineProps({
|
||||
|
||||
const cartList = ref([])
|
||||
const orderList = ref([])
|
||||
const isPrint = ref(true);
|
||||
const isPrint = ref(1);
|
||||
const discountLoading = ref(false)
|
||||
|
||||
// 支付失败,订单已过期
|
||||
|
||||
Reference in New Issue
Block a user