@@ -783,7 +783,7 @@
@@ -230,6 +261,7 @@ import {getDicts} from "@/api/dict/data";
import {queryStaffs} from "@/api/cashier/staff";
import {refundApi} from "@/api/cashier/refund";
import {exportExcelVipApi} from "@/api/order/exportExcel";
+import {getLodop} from "@/api/LodopFuncs";
export default {
name: "order_Cashier",
@@ -291,12 +323,96 @@ export default {
},
+ async printLocally() {
+ //初始化打印函数
+ let LODOP = getLodop(); // 初始化打印
+ LODOP.PRINT_INIT();
+ var bodyStyle = `
+ `
+ var fromHtml = bodyStyle+this.$refs.report.innerHTML
+
+
+ LODOP.ADD_PRINT_HTM(0, 0, "100%", "100%", fromHtml);
+
+ LODOP.SET_PRINT_MODE("FULL_WIDTH_FOR_OVERFLOW",true);
+
+ // LODOP.ADD_PRINT_BARCODE(10,40,100,100,'QRCode','123456789');
+ // let preview = LODOP.PREVIEW();
+ // console.log("preview",preview);
+ LODOP.PRINT();
+
+ },
// 补打
patchwork(data){
const orderNo = data.name
this.$modal.confirm('确定您要补打当前订单吗?当前会员[' + orderNo + '],请确保云打印机正在运行中').then(function() {
// return delUser(row.id);
- }).then(() => {
+ }).then(async () => {
+ await cardValueRecordInfo(data.id).then( response => {
+ this.oilOrder = response.data
+ })
+ this.printLocally()
this.$modal.msgSuccess("打印指令已发送打印机,请查看打印结果");
}).catch(() => {});
},
diff --git a/gasStation-uni/pages/index/index.vue b/gasStation-uni/pages/index/index.vue
index 76abf5c4b..81e829cf3 100644
--- a/gasStation-uni/pages/index/index.vue
+++ b/gasStation-uni/pages/index/index.vue
@@ -86,9 +86,9 @@
{{store.name}}{{store.description ? "("+store.description+")" : ""}}
-
+
From 9ce51786d6f52c64743f45585f9d688f6815a8ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com>
Date: Mon, 29 Jan 2024 14:35:59 +0800
Subject: [PATCH 2/5] =?UTF-8?q?=E4=B8=80=E9=94=AE=E5=8F=91=E5=88=B8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../cardFavorable/mapper/xml/CardFavorableRecordMapper.xml | 2 +-
.../com/fuint/business/userManager/mapper/xml/LJUserMapper.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/mapper/xml/CardFavorableRecordMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/mapper/xml/CardFavorableRecordMapper.xml
index ba33d0fe9..1964bcb2f 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/mapper/xml/CardFavorableRecordMapper.xml
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardFavorable/mapper/xml/CardFavorableRecordMapper.xml
@@ -68,7 +68,7 @@
left join card_favorable cf ON cfr.card_favorable_id = cf.id
left join mt_store ms on ms.id = cfr.store_id
- cfr.exchange_from = "店铺一键送券"
+ cfr.exchange_from = "店铺一键送券!"
and cf.store_id = #{cardFavorableRecord.storeId}
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/userManager/mapper/xml/LJUserMapper.xml b/fuintBackend/fuint-application/src/main/java/com/fuint/business/userManager/mapper/xml/LJUserMapper.xml
index 4b7a9548a..06c0eda45 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/userManager/mapper/xml/LJUserMapper.xml
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/userManager/mapper/xml/LJUserMapper.xml
@@ -86,7 +86,7 @@
LEFT JOIN mt_user_balance mub ON mu.id = mub.mt_user_id
left join oil_order oo on mu.id = oo.user_id
- oo.create_time <= DATE_SUB(NOW(), INTERVAL #{days} DAY)
+ oo.create_time <= DATE_SUB(NOW(), INTERVAL ${user.days} DAY)
and mub.chain_store_id = #{user.chainStoreId}
From f09179d2479742b4b111ea219377fd2f8da7828c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com>
Date: Mon, 29 Jan 2024 14:39:09 +0800
Subject: [PATCH 3/5] =?UTF-8?q?=E4=B8=80=E9=94=AE=E5=8F=91=E5=88=B8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../cardValue/service/impl/CardValueRecordServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/service/impl/CardValueRecordServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/service/impl/CardValueRecordServiceImpl.java
index 4bcdd59b0..b64501c52 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/service/impl/CardValueRecordServiceImpl.java
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/cardValue/service/impl/CardValueRecordServiceImpl.java
@@ -818,7 +818,7 @@ public class CardValueRecordServiceImpl extends ServiceImpl
Date: Mon, 29 Jan 2024 14:50:20 +0800
Subject: [PATCH 4/5] =?UTF-8?q?=E5=89=8D=E7=AB=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
fuintAdmin/.env.development | 2 +-
.../api/EventMarketing/activeConsumption.js | 2 -
fuintAdmin/src/api/EventMarketing/yijian.js | 17 +
fuintAdmin/src/components/Fuint/Doc/index.vue | 2 +-
.../src/views/EventMarketing/center/index.vue | 12 +-
.../EventMarketing/grantCoupon/index.vue | 15 +
.../EventMarketing/yijiancoupon/index.vue | 891 ++++++++++++++++++
fuintAdmin_zt/.env.development | 2 +-
fuintCashierWeb/src/assets/images/backbbj.png | Bin 3193895 -> 0 bytes
.../src/assets/images/box-left.png | Bin 1176406 -> 0 bytes
gasStation-uni/pages/index/index.vue | 14 +-
gasStation-uni/pages/refuel/refuel.vue | 7 +-
gasStation-uni/pagesLogin/login/webview.vue | 24 +-
13 files changed, 969 insertions(+), 19 deletions(-)
create mode 100644 fuintAdmin/src/api/EventMarketing/yijian.js
create mode 100644 fuintAdmin/src/views/EventMarketing/grantCoupon/index.vue
create mode 100644 fuintAdmin/src/views/EventMarketing/yijiancoupon/index.vue
delete mode 100644 fuintCashierWeb/src/assets/images/backbbj.png
delete mode 100644 fuintCashierWeb/src/assets/images/box-left.png
diff --git a/fuintAdmin/.env.development b/fuintAdmin/.env.development
index b1d3027f0..20c33d346 100644
--- a/fuintAdmin/.env.development
+++ b/fuintAdmin/.env.development
@@ -11,6 +11,6 @@ VUE_APP_BASE_API = '/dev-api'
VUE_APP_PUBLIC_PATH = '/'
# 后端接口地址
-VUE_APP_SERVER_URL = 'http://192.168.0.138:8008/'
+VUE_APP_SERVER_URL = 'http://192.168.0.196:8080/'
diff --git a/fuintAdmin/src/api/EventMarketing/activeConsumption.js b/fuintAdmin/src/api/EventMarketing/activeConsumption.js
index 604a7cd39..e6f22c120 100644
--- a/fuintAdmin/src/api/EventMarketing/activeConsumption.js
+++ b/fuintAdmin/src/api/EventMarketing/activeConsumption.js
@@ -16,8 +16,6 @@ export function getoilName(query) {
})
}
-
-
// 查询消费有礼活动列表
export function listActiveConsumption(query) {
return request({
diff --git a/fuintAdmin/src/api/EventMarketing/yijian.js b/fuintAdmin/src/api/EventMarketing/yijian.js
new file mode 100644
index 000000000..00caec967
--- /dev/null
+++ b/fuintAdmin/src/api/EventMarketing/yijian.js
@@ -0,0 +1,17 @@
+import request from '@/utils/request'
+
+
+export function issueCardFavorable(data) {
+ return request({
+ url: 'business/marketingActivity/cardFavorableRecord/issueCardFavorable',
+ method: 'post',
+ data:data
+ })
+}
+export function getCardFavorableLists(status) {
+ return request({
+ url: 'business/marketingActivity/cardFavorableRecord/getCardFavorableLists',
+ method: 'get',
+ params: status
+ })
+}
diff --git a/fuintAdmin/src/components/Fuint/Doc/index.vue b/fuintAdmin/src/components/Fuint/Doc/index.vue
index 13a36eb3f..74c123a64 100644
--- a/fuintAdmin/src/components/Fuint/Doc/index.vue
+++ b/fuintAdmin/src/components/Fuint/Doc/index.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/fuintAdmin/src/views/EventMarketing/center/index.vue b/fuintAdmin/src/views/EventMarketing/center/index.vue
index dba4d8b4a..aedbda4c5 100644
--- a/fuintAdmin/src/views/EventMarketing/center/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/center/index.vue
@@ -41,6 +41,12 @@
推荐有礼
+