Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Skyeye云
Skyeye
提交
bf19ad92
S
Skyeye
项目概览
Skyeye云
/
Skyeye
通知
1279
Star
158
Fork
129
代码
文件
提交
分支
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看板
提交
bf19ad92
编写于
2月 21, 2022
作者:
Skyeye云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
门店信息设定修改
上级
57b8e30e
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
123 addition
and
116 deletion
+123
-116
shop/src/main/resources/template/js/mealOrder/allMealOrderList.js
.../main/resources/template/js/mealOrder/allMealOrderList.js
+4
-4
shop/src/main/resources/template/js/mealOrder/memberMealOrderList.js
...in/resources/template/js/mealOrder/memberMealOrderList.js
+4
-4
shop/src/main/resources/template/js/mealOrder/storeMealOrderList.js
...ain/resources/template/js/mealOrder/storeMealOrderList.js
+4
-4
shop/src/main/resources/template/js/storeOnlineSetUp/storeOnlineSetUp.js
...esources/template/js/storeOnlineSetUp/storeOnlineSetUp.js
+109
-102
shop/src/main/resources/template/tpl/keepFitOrder/keepFitOrderAdd.html
.../resources/template/tpl/keepFitOrder/keepFitOrderAdd.html
+1
-1
shop/src/main/resources/template/tpl/mealOrder/storeMealOrderDetails.html
...sources/template/tpl/mealOrder/storeMealOrderDetails.html
+1
-1
未找到文件。
shop/src/main/resources/template/js/mealOrder/allMealOrderList.js
浏览文件 @
bf19ad92
...
...
@@ -43,11 +43,11 @@ layui.config({
{
field
:
'
phone
'
,
title
:
'
会员手机号
'
,
width
:
100
,
rowspan
:
'
2
'
,
align
:
"
center
"
},
{
title
:
'
下单地址
'
,
align
:
'
center
'
,
colspan
:
'
2
'
},
{
field
:
'
payablePrice
'
,
title
:
'
应付金额
'
,
width
:
100
,
align
:
"
left
"
,
rowspan
:
'
2
'
},
{
field
:
'
payPrice
'
,
title
:
'
实付金额
'
,
width
:
100
,
align
:
"
left
"
,
rowspan
:
'
2
'
},
{
field
:
'
state
'
,
title
:
'
订单状态
'
,
width
:
80
,
align
:
"
center
"
,
rowspan
:
'
2
'
,
templet
:
function
(
d
){
return
shopUtil
.
getMealOrderStateName
(
d
);
}},
{
field
:
'
payPrice
'
,
title
:
'
实付金额
'
,
width
:
100
,
align
:
"
left
"
,
rowspan
:
'
2
'
},
{
field
:
'
payTime
'
,
title
:
'
实付日期
'
,
align
:
'
center
'
,
rowspan
:
'
2
'
,
width
:
150
},
{
field
:
'
payTime
'
,
title
:
'
支付时间
'
,
align
:
'
center
'
,
rowspan
:
'
2
'
,
width
:
150
},
{
field
:
'
type
'
,
title
:
'
订单来源
'
,
width
:
80
,
align
:
"
center
"
,
rowspan
:
'
2
'
,
templet
:
function
(
d
){
if
(
d
.
type
==
1
){
return
"
线上下单
"
;
...
...
@@ -55,8 +55,8 @@ layui.config({
return
"
线下下单
"
;
}
}},
{
field
:
'
createName
'
,
title
:
'
录入人
'
,
width
:
120
,
rowspan
:
'
2
'
},
{
field
:
'
createTime
'
,
title
:
'
单据日期
'
,
align
:
'
center
'
,
width
:
150
,
rowspan
:
'
2
'
},
{
field
:
'
createName
'
,
title
:
'
专属顾问
'
,
width
:
120
,
rowspan
:
'
2
'
},
{
field
:
'
createTime
'
,
title
:
'
创建时间
'
,
align
:
'
center
'
,
width
:
150
,
rowspan
:
'
2
'
},
],[
{
field
:
'
areaName
'
,
title
:
'
区域
'
,
align
:
'
left
'
,
width
:
120
},
{
field
:
'
storeName
'
,
title
:
'
门店
'
,
align
:
'
left
'
,
width
:
120
}
...
...
shop/src/main/resources/template/js/mealOrder/memberMealOrderList.js
浏览文件 @
bf19ad92
...
...
@@ -34,11 +34,11 @@ layui.config({
{
field
:
'
contacts
'
,
title
:
'
会员名称
'
,
width
:
100
},
{
field
:
'
phone
'
,
title
:
'
会员手机号
'
,
width
:
100
,
align
:
"
center
"
},
{
field
:
'
payablePrice
'
,
title
:
'
应付金额
'
,
width
:
100
,
align
:
"
left
"
},
{
field
:
'
payPrice
'
,
title
:
'
实付金额
'
,
width
:
100
,
align
:
"
left
"
},
{
field
:
'
state
'
,
title
:
'
订单状态
'
,
width
:
80
,
align
:
"
center
"
,
templet
:
function
(
d
){
return
shopUtil
.
getMealOrderStateName
(
d
);
}},
{
field
:
'
payPrice
'
,
title
:
'
实付金额
'
,
width
:
100
,
align
:
"
left
"
},
{
field
:
'
payTime
'
,
title
:
'
实付日期
'
,
align
:
'
center
'
,
width
:
150
},
{
field
:
'
payTime
'
,
title
:
'
支付时间
'
,
align
:
'
center
'
,
width
:
150
},
{
field
:
'
type
'
,
title
:
'
订单来源
'
,
width
:
80
,
align
:
"
center
"
,
templet
:
function
(
d
){
if
(
d
.
type
==
1
){
return
"
线上下单
"
;
...
...
@@ -46,8 +46,8 @@ layui.config({
return
"
线下下单
"
;
}
}},
{
field
:
'
createName
'
,
title
:
'
录入人
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
'
单据日期
'
,
align
:
'
center
'
,
width
:
150
},
{
field
:
'
createName
'
,
title
:
'
专属顾问
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
'
创建时间
'
,
align
:
'
center
'
,
width
:
150
},
]],
done
:
function
(){
matchingLanguage
();
...
...
shop/src/main/resources/template/js/mealOrder/storeMealOrderList.js
浏览文件 @
bf19ad92
...
...
@@ -38,11 +38,11 @@ layui.config({
{
field
:
'
contacts
'
,
title
:
'
会员名称
'
,
width
:
100
},
{
field
:
'
phone
'
,
title
:
'
会员手机号
'
,
width
:
100
,
align
:
"
center
"
},
{
field
:
'
payablePrice
'
,
title
:
'
应付金额
'
,
width
:
100
,
align
:
"
left
"
},
{
field
:
'
payPrice
'
,
title
:
'
实付金额
'
,
width
:
100
,
align
:
"
left
"
},
{
field
:
'
state
'
,
title
:
'
订单状态
'
,
width
:
80
,
align
:
"
center
"
,
templet
:
function
(
d
){
return
shopUtil
.
getMealOrderStateName
(
d
);
}},
{
field
:
'
payPrice
'
,
title
:
'
实付金额
'
,
width
:
100
,
align
:
"
left
"
},
{
field
:
'
payTime
'
,
title
:
'
实付日期
'
,
align
:
'
center
'
,
width
:
150
},
{
field
:
'
payTime
'
,
title
:
'
支付时间
'
,
align
:
'
center
'
,
width
:
150
},
{
field
:
'
type
'
,
title
:
'
订单来源
'
,
width
:
80
,
align
:
"
center
"
,
templet
:
function
(
d
){
if
(
d
.
type
==
1
){
return
"
线上下单
"
;
...
...
@@ -50,8 +50,8 @@ layui.config({
return
"
线下下单
"
;
}
}},
{
field
:
'
createName
'
,
title
:
'
录入人
'
,
width
:
120
},
{
field
:
'
createTime
'
,
title
:
'
单据日期
'
,
align
:
'
center
'
,
width
:
150
},
{
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
'
}
]],
done
:
function
(){
...
...
shop/src/main/resources/template/js/storeOnlineSetUp/storeOnlineSetUp.js
浏览文件 @
bf19ad92
...
...
@@ -14,7 +14,10 @@ layui.config({
// 加载我所在的门店
shopUtil
.
queryStaffBelongStoreList
(
function
(
json
){
$
(
"
#storeId
"
).
html
(
getDataUseHandlebars
(
getFileContent
(
'
tpl/template/select-option.tpl
'
),
json
));
$
(
"
#storeId
"
).
html
(
getDataUseHandlebars
(
getFileContent
(
'
tpl/template/select-option-must.tpl
'
),
json
));
if
(
json
.
rows
.
length
>
0
){
loadStoreMation
(
$
(
"
#storeId
"
).
val
());
}
});
form
.
on
(
'
select(storeId)
'
,
function
(
data
)
{
...
...
@@ -22,115 +25,119 @@ layui.config({
if
(
isNull
(
thisRowValue
)){
$
(
"
#formContent
"
).
html
(
""
);
}
else
{
showGrid
({
id
:
"
formContent
"
,
url
:
shopBasePath
+
"
store008
"
,
params
:
{
rowId
:
thisRowValue
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
beanTemplate
,
ajaxSendLoadBefore
:
function
(
hdb
,
json
){
if
(
isNull
(
json
.
bean
.
onlineBookJson
)){
json
.
bean
.
onlineBookJson
=
[];
}
else
{
json
.
bean
.
onlineBookJson
=
JSON
.
parse
(
json
.
bean
.
onlineBookJson
);
loadStoreMation
(
thisRowValue
);
}
});
function
loadStoreMation
(
storeId
){
showGrid
({
id
:
"
formContent
"
,
url
:
shopBasePath
+
"
store008
"
,
params
:
{
rowId
:
storeId
},
pagination
:
false
,
method
:
"
GET
"
,
template
:
beanTemplate
,
ajaxSendLoadBefore
:
function
(
hdb
,
json
){
if
(
isNull
(
json
.
bean
.
onlineBookJson
)){
json
.
bean
.
onlineBookJson
=
[];
}
else
{
json
.
bean
.
onlineBookJson
=
JSON
.
parse
(
json
.
bean
.
onlineBookJson
);
}
},
ajaxSendAfter
:
function
(
data
){
var
startTime
=
laydate
.
render
({
elem
:
'
#businessStartTime
'
,
format
:
'
HH:mm
'
,
type
:
'
timeminute
'
,
minutesinterval
:
15
,
btns
:
[
'
confirm
'
],
done
:
function
(
value
,
date
){
endTime
.
config
.
min
=
{
year
:
date
.
year
,
month
:
date
.
month
-
1
,
//关键
date
:
date
.
date
,
hours
:
date
.
hours
,
minutes
:
date
.
minutes
,
seconds
:
date
.
seconds
};
}
},
ajaxSendAfter
:
function
(
data
){
});
var
start
Time
=
laydate
.
render
({
elem
:
'
#businessStart
Time
'
,
format
:
'
HH:mm
'
,
type
:
'
timeminute
'
,
minutesinterval
:
15
,
btns
:
[
'
confirm
'
],
done
:
function
(
value
,
date
){
endTime
.
config
.
min
=
{
year
:
date
.
year
,
month
:
date
.
month
-
1
,
//关键
date
:
date
.
date
,
hours
:
date
.
hours
,
minutes
:
date
.
minutes
,
seconds
:
date
.
seconds
};
}
});
var
end
Time
=
laydate
.
render
({
elem
:
'
#businessEnd
Time
'
,
format
:
'
HH:mm
'
,
type
:
'
timeminute
'
,
minutesinterval
:
15
,
btns
:
[
'
confirm
'
],
done
:
function
(
value
,
date
){
startTime
.
config
.
max
=
{
year
:
date
.
year
,
month
:
date
.
month
-
1
,
//关键
date
:
date
.
date
,
hours
:
date
.
hours
,
minutes
:
date
.
minutes
,
seconds
:
date
.
seconds
};
}
});
var
endTime
=
laydate
.
render
({
elem
:
'
#businessEndTime
'
,
format
:
'
HH:mm
'
,
type
:
'
timeminute
'
,
minutesinterval
:
15
,
btns
:
[
'
confirm
'
],
done
:
function
(
value
,
date
){
startTime
.
config
.
max
=
{
year
:
date
.
year
,
month
:
date
.
month
-
1
,
//关键
date
:
date
.
date
,
hours
:
date
.
hours
,
minutes
:
date
.
minutes
,
seconds
:
date
.
seconds
$
(
"
input:radio[name=onlineBookAppoint][value=
"
+
data
.
bean
.
onlineBookAppoint
+
"
]
"
).
attr
(
"
checked
"
,
true
);
$
(
"
input:radio[name=onlineBookType][value=
"
+
data
.
bean
.
onlineBookType
+
"
]
"
).
attr
(
"
checked
"
,
true
);
authBtn
(
'
1644129110388
'
);
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formSaveBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
tableData
=
new
Array
();
$
.
each
(
$
(
"
.onlineJson
"
),
function
(
i
,
item
)
{
var
row
=
{
time
:
$
(
item
).
attr
(
"
id
"
).
replace
(
"
td
"
,
""
),
value
:
$
(
item
).
val
(),
};
tableData
.
push
(
row
);
});
var
onlineBookAppoint
=
$
(
"
input[name='onlineBookAppoint']:checked
"
).
val
();
if
(
onlineBookAppoint
==
1
){
// 开启预约
if
(
isNull
(
$
(
"
#onlineBookRadix
"
).
val
())){
winui
.
window
.
msg
(
'
请输入维修基数
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
tableData
.
length
==
0
){
winui
.
window
.
msg
(
'
请计算时间段
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
$
(
"
input[name='onlineBookType']:checked
"
).
val
())){
winui
.
window
.
msg
(
'
请选择类型
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
}
});
$
(
"
input:radio[name=onlineBookAppoint][value=
"
+
data
.
bean
.
onlineBookAppoint
+
"
]
"
).
attr
(
"
checked
"
,
true
);
$
(
"
input:radio[name=onlineBookType][value=
"
+
data
.
bean
.
onlineBookType
+
"
]
"
).
attr
(
"
checked
"
,
true
);
var
params
=
{
rowId
:
$
(
"
#storeId
"
).
val
(),
businessStartTime
:
$
(
"
#businessStartTime
"
).
val
(),
businessEndTime
:
$
(
"
#businessEndTime
"
).
val
(),
onlineBookAppoint
:
$
(
"
input[name='onlineBookAppoint']:checked
"
).
val
(),
onlineBookRadix
:
$
(
"
#onlineBookRadix
"
).
val
(),
onlineBookType
:
$
(
"
input[name='onlineBookType']:checked
"
).
val
(),
onlineBookJson
:
JSON
.
stringify
(
tableData
)
};
authBtn
(
'
1644129110388
'
);
matchingLanguage
();
form
.
render
();
form
.
on
(
'
submit(formSaveBean)
'
,
function
(
data
)
{
if
(
winui
.
verifyForm
(
data
.
elem
))
{
var
tableData
=
new
Array
();
$
.
each
(
$
(
"
.onlineJson
"
),
function
(
i
,
item
)
{
var
row
=
{
time
:
$
(
item
).
attr
(
"
id
"
).
replace
(
"
td
"
,
""
),
value
:
$
(
item
).
val
(),
};
tableData
.
push
(
row
);
});
var
onlineBookAppoint
=
$
(
"
input[name='onlineBookAppoint']:checked
"
).
val
();
if
(
onlineBookAppoint
==
1
){
// 开启预约
if
(
isNull
(
$
(
"
#onlineBookRadix
"
).
val
())){
winui
.
window
.
msg
(
'
请输入维修基数
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
tableData
.
length
==
0
){
winui
.
window
.
msg
(
'
请计算时间段
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
if
(
isNull
(
$
(
"
input[name='onlineBookType']:checked
"
).
val
())){
winui
.
window
.
msg
(
'
请选择类型
'
,
{
icon
:
2
,
time
:
2000
});
return
false
;
}
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
store009
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
'
保存成功
'
,
{
icon
:
1
,
time
:
2000
});
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
var
params
=
{
rowId
:
$
(
"
#storeId
"
).
val
(),
businessStartTime
:
$
(
"
#businessStartTime
"
).
val
(),
businessEndTime
:
$
(
"
#businessEndTime
"
).
val
(),
onlineBookAppoint
:
$
(
"
input[name='onlineBookAppoint']:checked
"
).
val
(),
onlineBookRadix
:
$
(
"
#onlineBookRadix
"
).
val
(),
onlineBookType
:
$
(
"
input[name='onlineBookType']:checked
"
).
val
(),
onlineBookJson
:
JSON
.
stringify
(
tableData
)
};
AjaxPostUtil
.
request
({
url
:
shopBasePath
+
"
store009
"
,
params
:
params
,
type
:
'
json
'
,
method
:
"
POST
"
,
callback
:
function
(
json
){
if
(
json
.
returnCode
==
0
){
winui
.
window
.
msg
(
'
保存成功
'
,
{
icon
:
1
,
time
:
2000
});
}
else
{
winui
.
window
.
msg
(
json
.
returnMessage
,
{
icon
:
2
,
time
:
2000
});
}
},
async
:
true
});
}
return
false
;
});
}
});
}
});
},
async
:
true
});
}
return
false
;
});
}
});
}
$
(
"
body
"
).
on
(
"
click
"
,
"
#calc
"
,
function
()
{
var
startTime
=
$
(
"
#businessStartTime
"
).
val
();
...
...
shop/src/main/resources/template/tpl/keepFitOrder/keepFitOrderAdd.html
浏览文件 @
bf19ad92
...
...
@@ -23,7 +23,7 @@
<div
class=
"layui-form-item layui-col-xs6"
>
<label
class=
"layui-form-label"
>
用户类型
<i
class=
"red"
>
*
</i></label>
<div
class=
"layui-input-block winui-radio"
>
<input
type=
"radio"
name=
"userType"
value=
"1"
title=
"匿名用户"
lay-filter=
"userType"
/
>
<!-- <input type="radio" name="userType" value="1" title="匿名用户" lay-filter="userType"/>--
>
<input
type=
"radio"
name=
"userType"
value=
"2"
title=
"会员"
lay-filter=
"userType"
checked=
"checked"
/>
</div>
</div>
...
...
shop/src/main/resources/template/tpl/mealOrder/storeMealOrderDetails.html
浏览文件 @
bf19ad92
...
...
@@ -34,7 +34,7 @@
<
/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
"
>
{{
createName
}}
<
/div
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录