diff --git a/fuintAdmin/src/views/oilConfig/oilPrice/index.vue b/fuintAdmin/src/views/oilConfig/oilPrice/index.vue index d0b554df4..60c09d694 100644 --- a/fuintAdmin/src/views/oilConfig/oilPrice/index.vue +++ b/fuintAdmin/src/views/oilConfig/oilPrice/index.vue @@ -322,7 +322,7 @@ - + diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java index d7b3e6953..18a1d2202 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java @@ -142,6 +142,8 @@ public class OilOrderServiceImpl extends ServiceImpl i @Lazy private CardFuelRecordService cardFuelRecordService; + @Resource + private TagCodeService tagCodeService; @Override public IPage selectOilOrderList(Page page, OilOrder order) { AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo(); @@ -1476,6 +1478,12 @@ public class OilOrderServiceImpl extends ServiceImpl i oilOrder.setInvoicing("未开票"); oilOrder.setUserId(nowAccountInfo.getId()); oilOrder.setOilTagSn(oilOrder.getOilTagSn()); + TagCode tagCode = tagCodeService.selectByTagCodeSn(oilOrder.getOilTagSn()); + String collection = tagCode.getCollection(); + if (collection.contains("staffId")){ + String[] split = collection.split("staffId="); + oilOrder.setStaffId(Integer.parseInt(split[1])); + } // 判断当前店铺是否存在此用户的会员信息,没有的话进行添加 LJStore store = storeService.selectStoreByStoreId(oilOrder.getStoreId()); UserBalance balance = userBalanceService.selectUserBalance(oilOrder.getUserId(), store.getChainStoreId()); @@ -1729,8 +1737,6 @@ public class OilOrderServiceImpl extends ServiceImpl i @Resource private PrinterService printerService; - @Resource - private TagCodeService tagCodeService; @Override public int updateOrderStatus(String orderNo, String status) throws Exception { int row = 0; diff --git a/pos-uni/config.js b/pos-uni/config.js index 75e44695e..39494fec0 100644 --- a/pos-uni/config.js +++ b/pos-uni/config.js @@ -1,5 +1,6 @@ // 应用全局配置 module.exports = { +<<<<<<< HEAD // baseUrl: 'https://vue.ruoyi.vip/prod-api', // baseUrl: 'http://192.168.0.196:8081/', // baseUrl: 'https://www.tuofeng.cc/oilAdmin/', @@ -7,6 +8,9 @@ module.exports = { // baseUrl: 'http://192.168.31.96:8080/', baseUrl: 'http://192.168.31.178:8081/', // baseUrl: 'http://192.168.1.5:8002/cdJdc', +======= + baseUrl: 'https://www.tuofeng.cc/oilAdmin/', +>>>>>>> 0e220d95754e6cea5279608575dd9f869dbb1219 imagesUrl: 'http://www.nuoyunr.com/lananRsc', // 应用信息 appInfo: { @@ -29,4 +33,4 @@ module.exports = { } ] } -} \ No newline at end of file +} diff --git a/pos-uni/manifest.json b/pos-uni/manifest.json index c04742fc1..f6d022843 100644 --- a/pos-uni/manifest.json +++ b/pos-uni/manifest.json @@ -1,5 +1,5 @@ { - "name" : "WX-lift", + "name" : "pos", "appid" : "__UNI__7A6878C", "description" : "", "versionName" : "1.0.0", @@ -41,9 +41,13 @@ ] }, /* ios打包配置 */ - "ios" : {}, + "ios" : { + "dSYMs" : false + }, /* SDK配置 */ - "sdkConfigs" : {} + "sdkConfigs" : { + "ad" : {} + } } }, /* 快应用特有相关 */ diff --git a/pos-uni/pagesHome/BusinessData/BusinessData.vue b/pos-uni/pagesHome/BusinessData/BusinessData.vue index ddf9b8cfa..935fbc364 100644 --- a/pos-uni/pagesHome/BusinessData/BusinessData.vue +++ b/pos-uni/pagesHome/BusinessData/BusinessData.vue @@ -37,7 +37,7 @@ 退款金额/笔数 - ¥{{dataForm.refBalance}}/{{dataForm.refBalanceCount}} + ¥{{dataForm.refBalance || 0}}/{{dataForm.refBalanceCount}} @@ -52,11 +52,11 @@ 营业额/笔数 - ¥{{dataForm.wechat}}/{{dataForm.wechatcount}} + ¥{{dataForm.wechat || 0}}/{{dataForm.wechatcount}} 会员充值/笔数 - ¥{{dataForm.userBalanceByWechat }}/{{dataForm.userBalanceCountByWechat}} + ¥{{dataForm.userBalanceByWechat|| 0 }}/{{dataForm.userBalanceCountByWechat}} @@ -69,11 +69,11 @@ 营业额/笔数 - ¥{{dataForm.alipay}}/{{dataForm.alipaycount}} + ¥{{dataForm.alipay || 0}}/{{dataForm.alipaycount}} 会员充值/笔数 - ¥{{dataForm.userBalanceByAli}}/{{dataForm.userBalanceCountByali}} + ¥{{dataForm.userBalanceByAli || 0}}/{{dataForm.userBalanceCountByali}}