Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
C
chinafrica
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
chinafrica
Commits
345a4a84
提交
345a4a84
authored
3月 03, 2021
作者:
吴德鹏
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化英文版订单
上级
39a36180
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
25 行增加
和
16 行删除
+25
-16
tbcforderEnList.js
platform-admin/src/main/webapp/js/sys/tbcforderEnList.js
+25
-16
没有找到文件。
platform-admin/src/main/webapp/js/sys/tbcforderEnList.js
浏览文件 @
345a4a84
...
@@ -26,17 +26,18 @@ $(function () {
...
@@ -26,17 +26,18 @@ $(function () {
{
label
:
'手续费'
,
name
:
'fee'
,
index
:
'fee'
,
hidden
:
true
},
{
label
:
'手续费'
,
name
:
'fee'
,
index
:
'fee'
,
hidden
:
true
},
{
label
:
'优惠券ID'
,
name
:
'couponId'
,
index
:
'coupon_id'
,
hidden
:
true
},
{
label
:
'优惠券ID'
,
name
:
'couponId'
,
index
:
'coupon_id'
,
hidden
:
true
},
{
label
:
'优惠券名称'
,
name
:
'couponTitle'
,
index
:
'coupon_title'
,
hidden
:
true
},
{
label
:
'优惠券名称'
,
name
:
'couponTitle'
,
index
:
'coupon_title'
,
hidden
:
true
},
{
label
:
'email'
,
name
:
'email'
,
index
:
'email'
},
{
{
name
:
'operation'
,
index
:
'operate'
,
width
:
'160px'
,
name
:
'operation'
,
index
:
'operate'
,
width
:
'160px'
,
formatter
:
function
(
value
,
grid
,
rows
)
{
formatter
:
function
(
value
,
grid
,
rows
)
{
if
(
grid
.
colModel
.
formatter
.
arguments
[
2
].
orderStatus
==
10
)
{
if
(
grid
.
colModel
.
formatter
.
arguments
[
2
].
orderStatus
==
10
)
{
return
'<button onclick="closeList" style="display: inline-block;height: 30px; line-height: 25px; padding: 1px 18px; background-color: #49C8F2;font-size: 10px; '
+
return
'<button onclick="closeList" style="display: inline-block;height: 30px; line-height: 25px; padding: 1px 18px; background-color: #49C8F2;font-size: 10px; '
+
'-webkit-border-radius: 2px; border-radius: 6px; color: #fff; cursor: pointer; border: 0;margin: 1px 6px;" class="orderdescbutton">order details'
+
'-webkit-border-radius: 2px; border-radius: 6px; color: #fff; cursor: pointer; border: 0;margin: 1px 6px;" class="orderdescbutton">order details'
+
'</button> '
;
'</button> '
;
}
else
{
}
else
{
return
'<button onclick="closeList" style="display: inline-block;height: 30px; line-height: 25px; padding: 1px 18px; background-color: #49C8F2;font-size: 10px; '
+
return
'<button onclick="closeList" style="display: inline-block;height: 30px; line-height: 25px; padding: 1px 18px; background-color: #49C8F2;font-size: 10px; '
+
'-webkit-border-radius: 2px; border-radius: 6px; color: #fff; cursor: pointer; border: 0;margin: 1px 6px;" class="orderdescbutton">order details'
+
'-webkit-border-radius: 2px; border-radius: 6px; color: #fff; cursor: pointer; border: 0;margin: 1px 6px;" class="orderdescbutton">order details'
+
'</button> '
;
'</button> '
;
// } else if (grid.colModel.formatter.arguments[2].orderStatus == 40) {
// } else if (grid.colModel.formatter.arguments[2].orderStatus == 40) {
// return '<button style="display: inline-block;height: 30px; line-height: 25px; padding: 1px 18px; background-color: #49C8F2;font-size: 10px; ' +
// return '<button style="display: inline-block;height: 30px; line-height: 25px; padding: 1px 18px; background-color: #49C8F2;font-size: 10px; ' +
// '-webkit-border-radius: 2px; border-radius: 6px; color: #fff; cursor: pointer; border: 0;margin: 1px 6px;" class="orderdescbutton">查看订单' +
// '-webkit-border-radius: 2px; border-radius: 6px; color: #fff; cursor: pointer; border: 0;margin: 1px 6px;" class="orderdescbutton">查看订单' +
...
@@ -398,26 +399,32 @@ let vm = new Vue({
...
@@ -398,26 +399,32 @@ let vm = new Vue({
{
{
costtype
:
'Goods together'
,
costtype
:
'Goods together'
,
constnum
:
1
,
constnum
:
1
,
},
{
costtype
:
'Total Quantity'
,
constnum
:
1
,
},
{
},
{
costtype
:
'
f
reight charge'
,
costtype
:
'
F
reight charge'
,
constnum
:
1
,
constnum
:
1
,
},
{
},
{
costtype
:
'
t
axes and dues'
,
costtype
:
'
T
axes and dues'
,
constnum
:
1
,
constnum
:
1
,
},
{
},
{
costtype
:
'
s
ervice charge'
,
costtype
:
'
S
ervice charge'
,
constnum
:
1
,
constnum
:
1
,
},
{
},
{
costtype
:
'
d
iscount coupon'
,
costtype
:
'
D
iscount coupon'
,
constnum
:
1
,
constnum
:
1
,
},
{
},
{
costtype
:
'
c
ash coupon'
,
costtype
:
'
C
ash coupon'
,
constnum
:
''
,
constnum
:
''
,
},
{
},
costtype
:
'special offer'
,
{
costtype
:
'Full reduction'
,
constnum
:
1
,
constnum
:
1
,
},
{
},
costtype
:
'actual payment'
,
{
costtype
:
'Actual payment'
,
constnum
:
1
,
constnum
:
1
,
},
},
],
],
...
@@ -792,13 +799,15 @@ let vm = new Vue({
...
@@ -792,13 +799,15 @@ let vm = new Vue({
})
})
vm
.
costData
[
0
].
constnum
=
r
.
orderBasicVo
.
itemsPrice
;
vm
.
costData
[
0
].
constnum
=
r
.
orderBasicVo
.
itemsPrice
;
vm
.
costData
[
1
].
constnum
=
r
.
orderBasicVo
.
expressCost
;
vm
.
costData
[
1
].
constnum
=
r
.
orderBasicVo
.
num
;
vm
.
costData
[
2
].
constnum
=
r
.
orderBasicVo
.
tax
;
vm
.
costData
[
2
].
constnum
=
r
.
orderBasicVo
.
expressCost
;
vm
.
costData
[
3
].
constnum
=
r
.
orderBasicVo
.
fee
;
vm
.
costData
[
3
].
constnum
=
r
.
orderBasicVo
.
tax
;
vm
.
costData
[
4
].
constnum
=
r
.
orderBasicVo
.
fee
;
// vm.costData[4].constnum = r.orderBasicVo.couponId;
// vm.costData[4].constnum = r.orderBasicVo.couponId;
vm
.
costData
[
4
].
constnum
=
r
.
orderBasicVo
.
couponPrice
;
vm
.
costData
[
5
].
constnum
=
r
.
orderBasicVo
.
couponPrice
;
vm
.
costData
[
6
].
constnum
=
r
.
orderBasicVo
.
couponTitle
;
vm
.
costData
[
6
].
constnum
=
r
.
orderBasicVo
.
couponTitle
;
vm
.
costData
[
7
].
constnum
=
r
.
orderBasicVo
.
realityPay
;
vm
.
costData
[
7
].
constnum
=
r
.
orderBasicVo
.
reduceAmount
;
vm
.
costData
[
8
].
constnum
=
r
.
orderBasicVo
.
realityPay
;
}
}
});
});
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论