|
@@ -214,7 +214,7 @@
|
|
icon="el-icon-shopping-cart-2"
|
|
icon="el-icon-shopping-cart-2"
|
|
:loading="confirmLoading"
|
|
:loading="confirmLoading"
|
|
@click="handleConfirmPay">
|
|
@click="handleConfirmPay">
|
|
- 收银{{ confirmLoading }}
|
|
|
|
|
|
+ 收银
|
|
</el-button>
|
|
</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -488,7 +488,7 @@
|
|
</span>
|
|
</span>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog title="收银" :visible.sync="confirmPayOpen" size="90%" :before-close="handleClose" destroy-on-close append-to-body>
|
|
|
|
|
|
+ <el-dialog title="收银" :visible.sync="confirmPayOpen" width="90%" :before-close="handleClose" destroy-on-close append-to-body>
|
|
<CashCloth ref="cashCloth" :orderForm="orderForm" :orderClothItemDTOS="orderClothItemDTOS" :appUserInfo="appUserInfo" :clothSpeeds="clothSpeeds" :deductCouponVOS="deductCouponVOS" :discountCouponVOS="discountCouponVOS" @onPaySuccess="onPaySuccess" @initOrderList="initOrderList" @confirm="handelPaySuccess"/>
|
|
<CashCloth ref="cashCloth" :orderForm="orderForm" :orderClothItemDTOS="orderClothItemDTOS" :appUserInfo="appUserInfo" :clothSpeeds="clothSpeeds" :deductCouponVOS="deductCouponVOS" :discountCouponVOS="discountCouponVOS" @onPaySuccess="onPaySuccess" @initOrderList="initOrderList" @confirm="handelPaySuccess"/>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
@@ -1529,10 +1529,10 @@ export default {
|
|
|
|
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- // if (!this.orderForm.sendClothWay) {
|
|
|
|
- // this.$message.error('请先选取衣方式')
|
|
|
|
- // return
|
|
|
|
- // }
|
|
|
|
|
|
+ if (!this.orderForm.sendClothWay) {
|
|
|
|
+ this.$message.error('请先选取衣方式')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
|
|
if (this.orderForm.isAppointment == 'Y') {
|
|
if (this.orderForm.isAppointment == 'Y') {
|
|
var res = await getInfoByOrderNo({ orderNo: this.orderForm.orderNo, appUserId: this.appUserInfo.id })
|
|
var res = await getInfoByOrderNo({ orderNo: this.orderForm.orderNo, appUserId: this.appUserInfo.id })
|
|
@@ -1540,6 +1540,10 @@ export default {
|
|
this.$message.error('未查询到预约订单')
|
|
this.$message.error('未查询到预约订单')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ if (!this.orderForm.sendClothWay) {
|
|
|
|
+ this.$message.error('请先选取衣方式')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
// this.orderForm.sendClothWay = res.data.sendClothWay
|
|
// this.orderForm.sendClothWay = res.data.sendClothWay
|
|
}
|
|
}
|
|
|
|
|