diff --git a/fuintAdmin/vue.config.js b/fuintAdmin/vue.config.js index 8632a5fdb..92e52b3a2 100644 --- a/fuintAdmin/vue.config.js +++ b/fuintAdmin/vue.config.js @@ -32,7 +32,7 @@ module.exports = { productionSourceMap: false, // webpack-dev-server 相关配置 devServer: { - host: '192.168.31.178', + host: '0.0.0.0', port: port, open: true, proxy: { diff --git a/fuintBackend/fuint-application/src/main/resources/application.properties b/fuintBackend/fuint-application/src/main/resources/application.properties index d847c40c7..597d7d885 100644 --- a/fuintBackend/fuint-application/src/main/resources/application.properties +++ b/fuintBackend/fuint-application/src/main/resources/application.properties @@ -1,11 +1,10 @@ # \u57FA\u672C\u914D\u7F6E server.port=8080 env.profile=dev -#env.properties.path=D:/workspaces/oil-stations/fuintBackend/configure/ +env.properties.path=D:/workspaces/oil-stations/fuintBackend/configure/ #env.properties.path=F:/work/oilSystem/fuintBackend/configure/ #env.properties.path=D:/oil/new-oil/oilSystem/fuintBackend/configure/ -env.properties.path=D:/code/bulidmap/oil-station/fuintBackend/configure -#env.properties.path=D:/Code/yuzhan/oil-station/fuintBackend/configure +#env.properties.path=D:/work/oilSystem/fuintBackend/configure/ #env.properties.path=/www/wwwroot/shenlanshuke/oilAdmin/ # \u6570\u636E\u5E93\u914D\u7F6E @@ -18,6 +17,7 @@ spring.task.scheduling.pool.size=5 logging.level.com.fuint=info multipart.max-file-size=20mb multipart.max-request-size=20mb + # \u6700\u5927\u4E0A\u4F20\u6587\u4EF6 spring.servlet.multipart.max-file-size=10MB spring.servlet.multipart.max-request-size=10MB diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue b/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue index 8528b45e2..0ab93fd53 100644 --- a/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue +++ b/fuintCashierWeb/src/views/cashier/NewComponents/newHome.vue @@ -411,7 +411,7 @@ width="542px" center > - + 取 消 确 定 @@ -617,7 +617,9 @@ export default { //油枪 父传子 oilGun: '', //油枪结算 容器 - oilGunClearing: '', + oilGunClearing: { + amount:0 + }, //商品列表 goodsList: [], restaurants: [], @@ -1803,11 +1805,25 @@ export default { } }, + changeAmount(val){ + console.log(val,1807) + }, /** * 设置选中的支付方式 * @param value */ setindex(value) { + if (value=='after_pay'){ + if (this.getGoodsNum>0){ + this.$message.error("商品订单不支持挂账") + return + } + if (this.oilGunClearing.amount<=0){ + this.$message.error("请选择挂账订单") + return; + } + this.accountPending = true + } console.log('支付方式',value); this.payType = value //支付方式发生变化,查询可用优惠券和优惠活动 diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/newHomeComponents/accountPending.vue b/fuintCashierWeb/src/views/cashier/NewComponents/newHomeComponents/accountPending.vue index 90003ddd2..333e0b883 100644 --- a/fuintCashierWeb/src/views/cashier/NewComponents/newHomeComponents/accountPending.vue +++ b/fuintCashierWeb/src/views/cashier/NewComponents/newHomeComponents/accountPending.vue @@ -1,43 +1,26 @@ -