Commit 6c563565 by 胡悦

提交

1 parent b981aa12
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-09-06 10:11:03
* @LastEditors: huyue
* @LastEditTime: 2024-09-12 16:26:21
* @LastEditTime: 2024-09-12 17:46:19
-->
<template>
<view>
......@@ -239,6 +239,7 @@ export default {
handler(newval) {
console.log('重新进入', this.pageParams)
this.pageParams.QRURL = ''
this.isCheck = false
if (this.couponList.length) {
let item = this.couponList.find(e => e.couponType == 1),
item2 = this.couponList.find(e => e.couponType == 18)
......@@ -345,13 +346,12 @@ export default {
this.pageParams.customerQr = qrcode.createQrCodeImg(`id=${customerCouponId}`, {size: 200})
}
this.init()
const { customerName, phoneNumber, staffName } = this.customerInfo
this.isCheck = customerName && phoneNumber && staffName
},
close () {
this.$refs.couponPopup.close()
},
handleSelect (item, popkey) {
handleSelect(item, popkey) {
console.log(item, popkey)
this.$refs[popkey].close();
if (popkey == "employeeBoxVisible") {
this.customerInfo.salesUuid = item.uuid;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!