Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
5198bf81
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1436
Star
162
Fork
130
代码
文件
提交
分支
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看板
提交
5198bf81
编写于
4月 19, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
会员系统整改
上级
4614e5ed
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
7 addition
and
16 deletion
+7
-16
shop/src/main/resources/template/js/mealOrder/storeMealOrderAdd.js
...main/resources/template/js/mealOrder/storeMealOrderAdd.js
+4
-13
shop/src/main/resources/template/tpl/keepFitOrder/storeKeepFitOrderList.html
...rces/template/tpl/keepFitOrder/storeKeepFitOrderList.html
+3
-3
未找到文件。
shop/src/main/resources/template/js/mealOrder/storeMealOrderAdd.js
浏览文件 @
5198bf81
...
...
@@ -87,15 +87,8 @@ layui.config({
var
rowNum
=
$
(
item
).
attr
(
"
trcusid
"
).
replace
(
"
tr
"
,
""
);
var
mealMation
=
JSON
.
parse
(
$
(
"
#mealId
"
+
rowNum
.
toString
()).
attr
(
"
mealMaion
"
));
var
row
=
{
mealId
:
mealMation
.
mealId
,
skuId
:
mealMation
.
id
,
mealId
:
mealMation
.
id
,
memberCarId
:
$
(
"
#carId
"
+
rowNum
.
toString
()).
val
(),
mealName
:
mealMation
.
name
,
mealNum
:
mealMation
.
totalCount
,
remainMealNum
:
mealMation
.
totalCount
,
mealExplain
:
mealMation
.
memberDes
,
mealConsume
:
mealMation
.
oilDes
,
mealPrice
:
mealMation
.
showPrice
};
tableData
.
push
(
row
);
});
...
...
@@ -185,12 +178,10 @@ layui.config({
// 获取表格行号
var
thisRowNum
=
trId
.
replace
(
"
tr
"
,
""
);
$
(
"
#mealId
"
+
thisRowNum
.
toString
()).
val
(
mealMation
.
name
);
$
(
"
#mealExplain
"
+
thisRowNum
.
toString
()).
html
(
mealMation
.
memberDes
);
$
(
"
#mealExplain
"
+
thisRowNum
.
toString
()).
attr
(
"
title
"
,
mealMation
.
memberDes
);
$
(
"
#mealId
"
+
thisRowNum
.
toString
()).
val
(
mealMation
.
title
);
$
(
"
#mealExplain
"
+
thisRowNum
.
toString
()).
html
(
mealMation
.
mealExplain
);
$
(
"
#mealConsume
"
+
thisRowNum
.
toString
()).
html
(
mealMation
.
oilDes
);
$
(
"
#mealConsume
"
+
thisRowNum
.
toString
()).
attr
(
"
title
"
,
mealMation
.
oilDes
);
$
(
"
#num
"
+
thisRowNum
.
toString
()).
html
(
mealMation
.
totalCount
);
$
(
"
#num
"
+
thisRowNum
.
toString
()).
html
(
mealMation
.
mealNum
);
$
(
"
#price
"
+
thisRowNum
.
toString
()).
html
(
mealMation
.
showPrice
);
$
(
"
#mealId
"
+
thisRowNum
.
toString
()).
attr
(
"
mealMaion
"
,
JSON
.
stringify
(
mealMation
));
calcAllPrice
();
...
...
shop/src/main/resources/template/tpl/keepFitOrder/storeKeepFitOrderList.html
浏览文件 @
5198bf81
...
...
@@ -89,13 +89,13 @@
<table
id=
"messageTable"
lay-filter=
"messageTable"
></table>
<script
type=
"text/html"
id=
"tableBar"
>
{{
#
if
(
d
.
cancleState
==
1
&&
d
.
state
==
1
&&
auth
(
'
1645623479038
'
)
&&
d
.
source
==
2
&&
d
.
currentUserId
==
d
.
createId
)
{
}}
{{
#
if
(
d
.
cancleState
==
1
&&
d
.
state
==
1
&&
auth
(
'
1645623479038
'
)
&&
d
.
currentUserId
==
d
.
createId
)
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
complateKeepFit
"
>
完成保养
<
/a
>
{{
#
}
}}
{{
#
if
(
d
.
cancleState
==
1
&&
d
.
state
==
2
&&
auth
(
'
1644378387049
'
)
&&
!
isNull
(
d
.
mealOrderChildId
)
&&
d
.
source
==
2
)
{
}}
{{
#
if
(
d
.
cancleState
==
1
&&
d
.
state
==
2
&&
auth
(
'
1644378387049
'
)
&&
!
isNull
(
d
.
mealOrderChildId
)
)
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
verification
"
>
核销
<
/a
>
{{
#
}
}}
{{
#
if
(
d
.
cancleState
==
1
&&
d
.
state
==
1
&&
auth
(
'
1644842786855
'
)
&&
d
.
source
==
2
&&
d
.
currentUserId
==
d
.
createId
)
{
}}
{{
#
if
(
d
.
cancleState
==
1
&&
d
.
state
==
1
&&
auth
(
'
1644842786855
'
)
&&
d
.
currentUserId
==
d
.
createId
)
{
}}
<
a
class
=
"
layui-btn layui-btn-xs layui-btn-normal
"
lay
-
event
=
"
cancleOrder
"
>
取消保养
<
/a
>
{{
#
}
}}
</script>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录