diff --git a/.env.production b/.env.production
index aa22a934..46d5f12b 100644
--- a/.env.production
+++ b/.env.production
@@ -5,4 +5,4 @@ VUE_APP_TITLE = 博诺思管理系统
ENV = 'production'
# 博诺思管理系统/生产环境
-VUE_APP_BASE_API = '/prod-api'
+VUE_APP_BASE_API = '/dev-api'
diff --git a/src/api/reportCenter/analysis.js b/src/api/reportCenter/analysis.js
new file mode 100644
index 00000000..364ca625
--- /dev/null
+++ b/src/api/reportCenter/analysis.js
@@ -0,0 +1,135 @@
+import request from '@/utils/request'
+
+// 系统区域权限树
+export function systemAreaTreeApi(data) {
+ return request({
+ url: '/smart-canteen/api/v2/alloc/area/system-auth/tree',
+ method: 'post',
+ headers: {
+ "merchant-id":"378915229716713472",
+ },
+ data: data
+ })
+}
+
+//区域食堂档口树
+export function tenantGroupAreaTreeApi(data) {
+ return request({
+ url: '/smart-canteen/api/v2/alloc/canteen/tenant-group-area/tree',
+ method: 'post',
+ headers: {
+ "merchant-id":"378915229716713472",
+ },
+ data: data
+ })
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 3c26ed0f..80e60b11 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -96,7 +96,7 @@ export default {
type: 'warning'
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
- location.href = '/index';
+ location.href = '/glweb/';
})
}).catch(() => {});
}
diff --git a/src/layout/index.vue b/src/layout/index.vue
index e3c246a1..eced6d6e 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -153,7 +153,7 @@ export default {
},
close() {
this.$store.dispatch('LogOut').then(() => {
- location.href = '/index';
+ location.href = '/glweb/';
})
},
diff --git a/src/utils/request.js b/src/utils/request.js
index 7d2be68e..594c97aa 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -22,7 +22,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项,表示请求URL公共部分
baseURL: process.env.VUE_APP_BASE_API,
// 超时
- timeout: 10000
+ timeout: 20000
})
// request 拦截器
@@ -117,7 +117,7 @@ service.interceptors.response.use(res => {
}).then(() => {
isRelogin.show = false
store.dispatch('LogOut').then(() => {
- location.href = '/index'
+ location.href = '/glweb/'
})
}).catch(() => {
isRelogin.show = false
diff --git a/src/views/accountCenter/account/accountManager/index.vue b/src/views/accountCenter/account/accountManager/index.vue
index 19801a7f..ef186ea5 100644
--- a/src/views/accountCenter/account/accountManager/index.vue
+++ b/src/views/accountCenter/account/accountManager/index.vue
@@ -70,7 +70,7 @@
-
+
合计:
{{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}}
@@ -130,19 +130,18 @@
编辑
停用
启用
@@ -215,12 +214,12 @@
账户允许最低余额与有效期
- (form.walletLimitBalance=Number(v.replace(/[^\d.]/g,'')))"/>
+ (form.walletLimitBalance=v.replace(/[^\d.]/g,''))"/>
- (form.subLimitBalance=Number(v.replace(/[^\d.]/g,'')))"/>
+ (form.subLimitBalance=v.replace(/[^\d.]/g,''))"/>
第二步:修改最低余额和账户有效期
- (batchForm.walletLimitBalance=Number(v.replace(/[^\d.]/g,'')))"/>
- (batchForm.subLimitBalance=Number(v.replace(/[^\d.]/g,'')))"/>
diff --git a/src/views/accountCenter/butie/butie/index.vue b/src/views/accountCenter/butie/butie/index.vue
index b5ce9bbf..2706b1ed 100644
--- a/src/views/accountCenter/butie/butie/index.vue
+++ b/src/views/accountCenter/butie/butie/index.vue
@@ -30,7 +30,7 @@
批量补贴清空
@@ -89,7 +89,7 @@
>补贴
补贴清空
diff --git a/src/views/accountCenter/butie/butieRecordsTab/index.vue b/src/views/accountCenter/butie/butieRecordsTab/index.vue
index 33edf895..d1522ed7 100644
--- a/src/views/accountCenter/butie/butieRecordsTab/index.vue
+++ b/src/views/accountCenter/butie/butieRecordsTab/index.vue
@@ -46,7 +46,7 @@
批量撤销
@@ -315,7 +315,7 @@
批量撤销
@@ -323,7 +323,7 @@
-
+
合计:
@@ -350,14 +350,12 @@
到账
-
-
撤销
@@ -715,6 +713,9 @@
this.getList4();
this.$modal.msgSuccess("撤销成功");
}).catch(() => {});
+ },
+ selectable(row){
+ return row.receiveStateName=='未到账'
},
// 多选框选中数据
handleSelectionChange4(selection) {
diff --git a/src/views/accountCenter/consume/consumeSummary/index.vue b/src/views/accountCenter/consume/consumeSummary/index.vue
index 47a39281..fc68d3a9 100644
--- a/src/views/accountCenter/consume/consumeSummary/index.vue
+++ b/src/views/accountCenter/consume/consumeSummary/index.vue
@@ -22,8 +22,8 @@
:picker-options="pickerOptions" >
-
-
+
+
按时间段
按日期
diff --git a/src/views/accountCenter/consume/consumerWalletSummary/index.vue b/src/views/accountCenter/consume/consumerWalletSummary/index.vue
index adc128bc..384ba09d 100644
--- a/src/views/accountCenter/consume/consumerWalletSummary/index.vue
+++ b/src/views/accountCenter/consume/consumerWalletSummary/index.vue
@@ -22,8 +22,8 @@
:picker-options="pickerOptions" >
-
-
+
+
按时间段
按日期
diff --git a/src/views/accountCenter/consume/deduct/index.vue b/src/views/accountCenter/consume/deduct/index.vue
index ca760ef8..4b587e7d 100644
--- a/src/views/accountCenter/consume/deduct/index.vue
+++ b/src/views/accountCenter/consume/deduct/index.vue
@@ -81,7 +81,6 @@
补扣
@@ -188,7 +187,7 @@
- (form.amount=v.replace(/[^\d.]/g,''))"/>
+ (form.amount=v.replace(/[^\d.]/g,''))"/>
@@ -615,6 +614,7 @@
this.canteenOptions=[]
this.stallOptions=[]
this.$set(this.form,"ordWay","1")
+ this.$set(this.form,"ifSetDeduction","2")
this.resetForm("form");
},
/** 提交按钮 */
@@ -658,6 +658,7 @@
this.canteenOptions=[]
this.stallOptions=[]
this.$set(this.form,"ordWay","1")
+ this.$set(this.form,"ifSetDeduction","2")
this.resetForm("form");
this.openBatch = true;
this.$nextTick(()=>{
diff --git a/src/views/accountCenter/consume/trade/index.vue b/src/views/accountCenter/consume/trade/index.vue
index 8c3f6c26..f3cd216b 100644
--- a/src/views/accountCenter/consume/trade/index.vue
+++ b/src/views/accountCenter/consume/trade/index.vue
@@ -23,8 +23,7 @@
-
-
+
+
+
+
+
+
+
@@ -73,12 +78,7 @@
元
-
-
-
-
-
-
+
{{ scope.row.startBusinessTime }}-{{ scope.row.endBusinessTime }}
@@ -93,7 +93,8 @@
-->
-
+
+ 无
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 预订第二天及以后相关设置
+
+
+ 预订餐最多允许订(orderDTO.reserveLimitDay=v.replace(/[^\d]/g,''))">天
+ 跳过节假日
+
+
+ 今天预订第二天餐次截止
+
+
+
+
+
+
+ 每天
+
+
+ 系统自动确认次日订单,一经确认用户不可退
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/superstore/doubleScreen/index.vue b/src/views/superstore/doubleScreen/index.vue
index f2f0eff0..800885ca 100644
--- a/src/views/superstore/doubleScreen/index.vue
+++ b/src/views/superstore/doubleScreen/index.vue
@@ -301,6 +301,7 @@
}
getSupermarketByAreaApi(param).then((response) => {
this.supermarketOptions=response.records||[]
+ this.queryParams.canteenIdList = []
});
},
/** 搜索按钮操作 */
diff --git a/src/views/superstore/orderShenhe/index.vue b/src/views/superstore/orderShenhe/index.vue
index 560db6fe..05fd0ec4 100644
--- a/src/views/superstore/orderShenhe/index.vue
+++ b/src/views/superstore/orderShenhe/index.vue
@@ -93,7 +93,7 @@
-
+
{
this.supermarketOptions=response.records||[]
+ this.queryParams.canteenIdList = []
});
},
systemMaterialTree() {
diff --git a/src/views/superstore/salesSummary/productSalesSummary.vue b/src/views/superstore/salesSummary/productSalesSummary.vue
index 9a9f06e7..9d4167ef 100644
--- a/src/views/superstore/salesSummary/productSalesSummary.vue
+++ b/src/views/superstore/salesSummary/productSalesSummary.vue
@@ -198,6 +198,7 @@
}
getSupermarketByAreaApi(param).then((response) => {
this.supermarketOptions=response.records||[]
+ this.queryParams.canteenIdList = []
});
},
systemMaterialTree() {
diff --git a/src/views/superstore/shopMaterial/components/MaterialDialog.vue b/src/views/superstore/shopMaterial/components/MaterialDialog.vue
index 44afa330..f7ccb484 100644
--- a/src/views/superstore/shopMaterial/components/MaterialDialog.vue
+++ b/src/views/superstore/shopMaterial/components/MaterialDialog.vue
@@ -217,6 +217,7 @@ export default {
rules: {
materialName: [{ required: true, message: '请输入商品名称', trigger: 'blur' }],
areaId: [{ required: true, message: '请选择所属区域', trigger: 'change' }],
+ salePrice: [{ required: true, message: '请输入零售价', trigger: 'change' }],
categoryId: [{ required: true, message: '请选择商品类别', trigger: 'change' }],
salesMode: [{ required: true, message: '请选择计量类型', trigger: 'change' }],
unitId: [{ required: true, message: '请选择商品单位', trigger: 'change' }],
diff --git a/src/views/superstore/shopMaterial/index.vue b/src/views/superstore/shopMaterial/index.vue
index 1d494a6a..b22dfa7b 100644
--- a/src/views/superstore/shopMaterial/index.vue
+++ b/src/views/superstore/shopMaterial/index.vue
@@ -92,7 +92,7 @@
@@ -101,7 +101,7 @@
@@ -110,7 +110,7 @@
diff --git a/src/views/superstore/super/index.vue b/src/views/superstore/super/index.vue
index 1b59f6f8..53b13632 100644
--- a/src/views/superstore/super/index.vue
+++ b/src/views/superstore/super/index.vue
@@ -54,7 +54,8 @@
-
+
+ 无
@@ -238,7 +239,7 @@
-
+
@@ -483,7 +484,8 @@
areaIdList:e
}
drpWareHousePageApi(param).then(response => {
- this.wareHouseOptions = response.data.records
+ this.wareHouseOptions = response.data.records
+ this.queryParams.warehouseId = null
});
},
/** 搜索按钮操作 */
diff --git a/src/views/superstore/superOrder/index.vue b/src/views/superstore/superOrder/index.vue
index cce33c43..ecc573eb 100644
--- a/src/views/superstore/superOrder/index.vue
+++ b/src/views/superstore/superOrder/index.vue
@@ -93,7 +93,7 @@
批量退单
@@ -185,7 +185,7 @@
@click="handleRefundPart(scope.row)"
>部分退款
退单
@@ -538,6 +538,7 @@
}
getSupermarketByAreaApi(param).then((response) => {
this.supermarketOptions=response.records||[]
+ this.queryParams.canteenIdList = []
});
},
handleCanteenChange(e){
diff --git a/src/views/superstore/superUitId/index.vue b/src/views/superstore/superUitId/index.vue
index 117f0a6e..99b35bce 100644
--- a/src/views/superstore/superUitId/index.vue
+++ b/src/views/superstore/superUitId/index.vue
@@ -96,7 +96,7 @@
- (form.rate=v.replace(/[^\d]/g,''))"/>
+ (form.rate=v.replace(/[^\d]/g,''))"/>
diff --git a/vue.config.js b/vue.config.js
index 53e92da1..b1813168 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -18,7 +18,7 @@ module.exports = {
// 部署生产环境和开发环境下的URL。
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
// 例如 https://www.bonus.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.bonus.vip/admin/,则设置 baseUrl 为 /admin/。
- publicPath: process.env.NODE_ENV === 'production' ? '/' : '/',
+ publicPath: process.env.NODE_ENV === 'production' ? '/glweb/' : '/',
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
outputDir: 'dist',
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
@@ -35,10 +35,10 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- // target: `http://192.168.2.209:38080`,
+ // target: `http://192.168.2.75:58080`,
// target: `http://192.168.0.61:58080`,
- target: `http://192.168.0.44:58085`,
- // target: `http://192.168.0.244:18877`,
+ // target: `http://192.168.0.44:58085`,
+ target: `http://192.168.0.244:58580`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '',