Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doc_wei
Skyeye
提交
0c1dc1bb
S
Skyeye
项目概览
doc_wei
/
Skyeye
通知
1197
Star
154
Fork
127
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Skyeye
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
0c1dc1bb
编写于
3月 02, 2022
作者:
doc_wei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
套餐订单新增是否赠送的字段
上级
e6ce4843
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
47 addition
and
2 deletion
+47
-2
shop/src/main/resources/template/js/keepFitOrder/allKeepFitOrderList.js
...resources/template/js/keepFitOrder/allKeepFitOrderList.js
+3
-0
shop/src/main/resources/template/js/keepFitOrder/keepFitOrderDetails.js
...resources/template/js/keepFitOrder/keepFitOrderDetails.js
+1
-0
shop/src/main/resources/template/js/keepFitOrder/storeKeepFitOrderList.js
...sources/template/js/keepFitOrder/storeKeepFitOrderList.js
+3
-0
shop/src/main/resources/template/js/mealOrder/allMealOrderList.js
.../main/resources/template/js/mealOrder/allMealOrderList.js
+3
-0
shop/src/main/resources/template/js/mealOrder/memberMealOrderList.js
...in/resources/template/js/mealOrder/memberMealOrderList.js
+3
-0
shop/src/main/resources/template/js/mealOrder/storeMealOrderDetails.js
.../resources/template/js/mealOrder/storeMealOrderDetails.js
+1
-0
shop/src/main/resources/template/js/mealOrder/storeMealOrderList.js
...ain/resources/template/js/mealOrder/storeMealOrderList.js
+3
-0
shop/src/main/resources/template/tpl/keepFitOrder/keepFitOrderDetails.html
...ources/template/tpl/keepFitOrder/keepFitOrderDetails.html
+8
-2
shop/src/main/resources/template/tpl/mealOrder/storeMealOrderDetails.html
...sources/template/tpl/mealOrder/storeMealOrderDetails.html
+6
-0
web/src/main/resources/template/assets/lib/layui/customer/shopUtil.js
.../resources/template/assets/lib/layui/customer/shopUtil.js
+16
-0
未找到文件。
shop/src/main/resources/template/js/keepFitOrder/allKeepFitOrderList.js
浏览文件 @
0c1dc1bb
...
...
@@ -67,6 +67,9 @@ layui.config({
return
"
线下下单
"
;
}
}},
{
field
:
'
whetherGive
'
,
title
:
'
是否赠送
'
,
width
:
100
,
align
:
"
center
"
,
rowspan
:
'
2
'
,
templet
:
function
(
d
){
return
shopUtil
.
getMealOrderWhetherGiveName
(
d
);
}},
{
field
:
'
createName
'
,
title
:
'
服务顾问
'
,
width
:
120
,
rowspan
:
'
2
'
},
{
field
:
'
createTime
'
,
title
:
'
操作时间
'
,
align
:
'
center
'
,
width
:
150
,
rowspan
:
'
2
'
},
],[
...
...
shop/src/main/resources/template/js/keepFitOrder/keepFitOrderDetails.js
浏览文件 @
0c1dc1bb
...
...
@@ -21,6 +21,7 @@ layui.config({
json
.
bean
.
remark
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
remark
);
json
.
bean
.
userType
=
json
.
bean
.
userType
==
1
?
'
匿名客户
'
:
'
会员
'
;
json
.
bean
.
state
=
shopUtil
.
getKeepFitOrderStateName
(
json
.
bean
);
json
.
bean
.
whetherGive
=
shopUtil
.
getMealOrderWhetherGiveName
(
json
.
bean
);
json
.
bean
.
type
=
json
.
bean
.
type
==
1
?
'
线上下单
'
:
'
线下下单
'
;
},
ajaxSendAfter
:
function
(
json
){
...
...
shop/src/main/resources/template/js/keepFitOrder/storeKeepFitOrderList.js
浏览文件 @
0c1dc1bb
...
...
@@ -63,6 +63,9 @@ layui.config({
return
"
线下下单
"
;
}
}},
{
field
:
'
whetherGive
'
,
title
:
'
是否赠送
'
,
width
:
100
,
align
:
"
center
"
,
rowspan
:
'
2
'
,
templet
:
function
(
d
){
return
shopUtil
.
getMealOrderWhetherGiveName
(
d
);
}},
{
field
:
'
createName
'
,
title
:
'
服务顾问
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
'
操作时间
'
,
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
200
,
toolbar
:
'
#tableBar
'
}
...
...
shop/src/main/resources/template/js/mealOrder/allMealOrderList.js
浏览文件 @
0c1dc1bb
...
...
@@ -55,6 +55,9 @@ layui.config({
return
"
线下下单
"
;
}
}},
{
field
:
'
whetherGive
'
,
title
:
'
是否赠送
'
,
width
:
100
,
align
:
"
center
"
,
rowspan
:
'
2
'
,
templet
:
function
(
d
){
return
shopUtil
.
getMealOrderWhetherGiveName
(
d
);
}},
{
field
:
'
createName
'
,
title
:
'
专属顾问
'
,
width
:
120
,
rowspan
:
'
2
'
},
{
field
:
'
createTime
'
,
title
:
'
创建时间
'
,
align
:
'
center
'
,
width
:
150
,
rowspan
:
'
2
'
},
],[
...
...
shop/src/main/resources/template/js/mealOrder/memberMealOrderList.js
浏览文件 @
0c1dc1bb
...
...
@@ -46,6 +46,9 @@ layui.config({
return
"
线下下单
"
;
}
}},
{
field
:
'
whetherGive
'
,
title
:
'
是否赠送
'
,
width
:
100
,
align
:
"
center
"
,
templet
:
function
(
d
){
return
shopUtil
.
getMealOrderWhetherGiveName
(
d
);
}},
{
field
:
'
createName
'
,
title
:
'
专属顾问
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
'
创建时间
'
,
align
:
'
center
'
,
width
:
150
},
]],
...
...
shop/src/main/resources/template/js/mealOrder/storeMealOrderDetails.js
浏览文件 @
0c1dc1bb
...
...
@@ -20,6 +20,7 @@ layui.config({
ajaxSendLoadBefore
:
function
(
hdb
,
json
){
json
.
bean
.
remark
=
stringManipulation
.
textAreaShow
(
json
.
bean
.
remark
);
json
.
bean
.
state
=
shopUtil
.
getMealOrderStateName
(
json
.
bean
);
json
.
bean
.
whetherGive
=
shopUtil
.
getMealOrderWhetherGiveName
(
json
.
bean
);
json
.
bean
.
type
=
json
.
bean
.
type
==
1
?
'
线上下单
'
:
'
线下下单
'
;
},
ajaxSendAfter
:
function
(
json
){
...
...
shop/src/main/resources/template/js/mealOrder/storeMealOrderList.js
浏览文件 @
0c1dc1bb
...
...
@@ -50,6 +50,9 @@ layui.config({
return
"
线下下单
"
;
}
}},
{
field
:
'
whetherGive
'
,
title
:
'
是否赠送
'
,
width
:
100
,
align
:
"
center
"
,
templet
:
function
(
d
){
return
shopUtil
.
getMealOrderWhetherGiveName
(
d
);
}},
{
field
:
'
createName
'
,
title
:
'
专属顾问
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
'
创建时间
'
,
align
:
'
center
'
,
width
:
150
},
{
title
:
systemLanguage
[
"
com.skyeye.operation
"
][
languageType
],
fixed
:
'
right
'
,
align
:
'
center
'
,
width
:
200
,
toolbar
:
'
#tableBar
'
}
...
...
shop/src/main/resources/template/tpl/keepFitOrder/keepFitOrderDetails.html
浏览文件 @
0c1dc1bb
...
...
@@ -111,6 +111,12 @@
{{
payTime
}}
<
/div
>
<
/div>--
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
套餐内消耗
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
mealSinglePrice
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
备注
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
...
...
@@ -127,9 +133,9 @@
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
套餐内消耗
:
<
/label
>
<
label
class
=
"
layui-form-label
"
>
是否赠送
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
mealSinglePric
e
}}
{{
whetherGiv
e
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
...
...
shop/src/main/resources/template/tpl/mealOrder/storeMealOrderDetails.html
浏览文件 @
0c1dc1bb
...
...
@@ -98,6 +98,12 @@
{{
payTime
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs6
"
>
<
label
class
=
"
layui-form-label
"
>
是否赠送
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
{{
whetherGive
}}
<
/div
>
<
/div
>
<
div
class
=
"
layui-form-item layui-col-xs12
"
>
<
label
class
=
"
layui-form-label
"
>
备注
:
<
/label
>
<
div
class
=
"
layui-input-block ver-center
"
>
...
...
web/src/main/resources/template/assets/lib/layui/customer/shopUtil.js
浏览文件 @
0c1dc1bb
...
...
@@ -24,6 +24,22 @@ var shopUtil = {
}
},
/**
* 获取套餐订单是否赠送的字段信息
*
* @param data
* @returns {string}
*/
getMealOrderWhetherGiveName
:
function
(
data
){
if
(
data
.
whetherGive
==
1
)
{
return
"
是
"
;
}
else
if
(
data
.
whetherGive
==
2
)
{
return
"
否
"
;
}
else
{
return
""
;
}
},
/**
* 套餐订单获取状态名称
*
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录