Commit 6cacf1d0 by 胡悦

提交

1 parent fb561762
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-09-06 10:11:03
* @LastEditors: huyue
* @LastEditTime: 2024-09-12 15:52:17
* @LastEditTime: 2024-09-12 16:26:21
-->
<template>
<view>
......@@ -180,7 +180,7 @@ const formObject_boutique = [{
key: "customerName",
type: "input",
inputType: "text",
maxlength: 20,
maxlength: 10,
placeholder: '请输入姓名',
required: true
},
......@@ -238,6 +238,7 @@ export default {
immediate: true,
handler(newval) {
console.log('重新进入', this.pageParams)
this.pageParams.QRURL = ''
if (this.couponList.length) {
let item = this.couponList.find(e => e.couponType == 1),
item2 = this.couponList.find(e => e.couponType == 18)
......@@ -336,10 +337,13 @@ export default {
if (pageParams.received) return
this.$refs[e].open();
},
open (customerType, customerCouponId) {
open(customerType, customerCouponId) {
this.$refs.couponPopup.open()
this.customerType = customerType
this.pageParams.customerCouponId = customerCouponId
if (customerCouponId) {
this.pageParams.customerCouponId = customerCouponId
this.pageParams.customerQr = qrcode.createQrCodeImg(`id=${customerCouponId}`, {size: 200})
}
this.init()
const { customerName, phoneNumber, staffName } = this.customerInfo
this.isCheck = customerName && phoneNumber && staffName
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!