diff --git a/.env.production b/.env.production index 2a4f841..1db13cc 100644 --- a/.env.production +++ b/.env.production @@ -3,13 +3,13 @@ ENV = 'production' # 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置 # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http # 测试 -VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' +# VUE_APP_BASE_API = 'https://admintestpapi.sxczgkj.cn' # 生产 # VUE_APP_BASE_API = 'https://cashieradmin.sxczgkj.cn' # 预发布接口 -# VUE_APP_BASE_API = 'https://pre-cashieradmin.sxczgkj.cn' +VUE_APP_BASE_API = 'https://pre-cashieradmin.sxczgkj.cn' # VUE_APP_BASE_API = 'http://192.168.2.98:8000' # 如果接口是 http 形式, wss 需要改为 ws diff --git a/src/api/application.js b/src/api/application.js index 8aa460c..ec79ae1 100644 --- a/src/api/application.js +++ b/src/api/application.js @@ -15,6 +15,17 @@ export function tbPrintMachine(data, method = "post") { }); } +// 开票 +export function getbinding(data) { + return request({ + url: "/api/tbShopInfo/binding", + method: "post", + data: { + shopId: localStorage.getItem("shopId"), + ...data + } + }); +} /** * 获取应用中心列表 * @returns diff --git a/src/views/application/components/invite_friend/share.vue b/src/views/application/components/invite_friend/share.vue index a46640c..fda968e 100644 --- a/src/views/application/components/invite_friend/share.vue +++ b/src/views/application/components/invite_friend/share.vue @@ -313,6 +313,7 @@ export default { width: 100%; height: 100%; display: block; + object-fit: cover; } .icon { @@ -376,6 +377,8 @@ export default { .title { font-size: 12px; + line-height: 16px; + padding: 6px 0; } .btm { diff --git a/src/views/application/components/member_points/setting.vue b/src/views/application/components/member_points/setting.vue index cad01f4..ad224ac 100644 --- a/src/views/application/components/member_points/setting.vue +++ b/src/views/application/components/member_points/setting.vue @@ -11,7 +11,7 @@ 仅会员 - + diff --git a/src/views/application/index.vue b/src/views/application/index.vue index 272be30..edf3745 100644 --- a/src/views/application/index.vue +++ b/src/views/application/index.vue @@ -2,6 +2,15 @@
应用中心
+
+ +
+
开票
+
+ +
+
+
@@ -12,21 +21,67 @@
+ + + + + + + +
联系区域经理开通
+
更换绑定
+ +
+ + 取 消 + 确 定 + +
diff --git a/src/views/application/kp.png b/src/views/application/kp.png new file mode 100644 index 0000000..aa61e7a Binary files /dev/null and b/src/views/application/kp.png differ diff --git a/src/views/lineUp/index.vue b/src/views/lineUp/index.vue index 840f5cc..306a308 100644 --- a/src/views/lineUp/index.vue +++ b/src/views/lineUp/index.vue @@ -173,7 +173,7 @@ export default { async profilepicture(d) { - this.handleSpeak(d.callNum) + this.handleSpeak('请'+d.callNum+'用餐') let res = await callTablecall({ shopId: localStorage.getItem('shopId'), callQueueId: d.id diff --git a/src/views/tool/Instead/components/discount.vue b/src/views/tool/Instead/components/discount.vue index b3a2f56..b281a44 100644 --- a/src/views/tool/Instead/components/discount.vue +++ b/src/views/tool/Instead/components/discount.vue @@ -3,7 +3,7 @@
- +
¥{{ form.money }}
diff --git a/src/views/tool/Instead/components/pay-type.vue b/src/views/tool/Instead/components/pay-type.vue index f5f672d..884fd53 100644 --- a/src/views/tool/Instead/components/pay-type.vue +++ b/src/views/tool/Instead/components/pay-type.vue @@ -10,6 +10,7 @@ v-for="(item, index) in list" :key="index" :type="sel === item.payType ? 'primary' : ''" + :disabled="disabledPayType.includes(item.payType)" > {{ item.payName }} @@ -30,6 +31,10 @@ export default { type: [String, Number], default: '', }, + disabledPayType:{ + type:Array, + default:()=>[] + } }, data() { return { @@ -38,6 +43,10 @@ export default { }; }, watch: { + disabledPayType(){ + const item = this.list.find(v=>!this.disabledPayType.includes(v.payType)) + this.sel=item.payType + }, sel(newval) { console.log(newval); this.$emit("input", newval); diff --git a/src/views/tool/Instead/components/quans.vue b/src/views/tool/Instead/components/quans.vue index 2de1167..7540356 100644 --- a/src/views/tool/Instead/components/quans.vue +++ b/src/views/tool/Instead/components/quans.vue @@ -16,11 +16,7 @@ :data="quans.fullReductionCoupon" @cell-click="fullReductionCouponClick" > - +