Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
C
chinafrica
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
chinafrica
Commits
00b4a2c8
提交
00b4a2c8
authored
12月 06, 2019
作者:
luojie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改订单
上级
8d8eca94
全部展开
显示空白字符变更
内嵌
并排
正在显示
22 个修改的文件
包含
216 行增加
和
132 行删除
+216
-132
TbCfOrderController.java
...ain/java/com/platform/controller/TbCfOrderController.java
+0
-4
TbCfItemOrderRDao.java
...min/src/main/java/com/platform/dao/TbCfItemOrderRDao.java
+6
-1
TbCfOrderDao.java
...rm-admin/src/main/java/com/platform/dao/TbCfOrderDao.java
+5
-0
TbCfPlatformOrderDao.java
.../src/main/java/com/platform/dao/TbCfPlatformOrderDao.java
+4
-3
TbCfFinanceEntity.java
.../src/main/java/com/platform/entity/TbCfFinanceEntity.java
+10
-0
TbCfOrderListEntity.java
...rc/main/java/com/platform/entity/TbCfOrderListEntity.java
+8
-11
TbCfItemOrderRService.java
...main/java/com/platform/service/TbCfItemOrderRService.java
+2
-2
TbCfOrderService.java
.../src/main/java/com/platform/service/TbCfOrderService.java
+3
-0
TbCfPlatformOrderService.java
...n/java/com/platform/service/TbCfPlatformOrderService.java
+3
-1
TbCfItemOrderRServiceImpl.java
.../com/platform/service/impl/TbCfItemOrderRServiceImpl.java
+4
-1
TbCfOrderServiceImpl.java
.../java/com/platform/service/impl/TbCfOrderServiceImpl.java
+15
-21
TbCfPlatformOrderServiceImpl.java
...m/platform/service/impl/TbCfPlatformOrderServiceImpl.java
+4
-4
ExpressStatusTask.java
...in/src/main/java/com/platform/task/ExpressStatusTask.java
+83
-38
FeeTask.java
platform-admin/src/main/java/com/platform/task/FeeTask.java
+1
-1
TbCfFinanceDao.xml
...in/src/main/resources/com/platform/dao/TbCfFinanceDao.xml
+16
-10
TbCfItemOrderRDao.xml
...src/main/resources/com/platform/dao/TbCfItemOrderRDao.xml
+6
-0
TbCfOrderDao.xml
...dmin/src/main/resources/com/platform/dao/TbCfOrderDao.xml
+7
-2
TbCfOrderListDao.xml
.../src/main/resources/com/platform/dao/TbCfOrderListDao.xml
+12
-20
TbCfPlatformOrderDao.xml
.../main/resources/com/platform/dao/TbCfPlatformOrderDao.xml
+10
-1
tbcffinance.js
platform-admin/src/main/webapp/js/sys/tbcffinance.js
+3
-2
tbcforder.js
platform-admin/src/main/webapp/js/sys/tbcforder.js
+8
-2
tbcforderList.js
platform-admin/src/main/webapp/js/sys/tbcforderList.js
+6
-8
没有找到文件。
platform-admin/src/main/java/com/platform/controller/TbCfOrderController.java
浏览文件 @
00b4a2c8
...
...
@@ -167,10 +167,6 @@ public class TbCfOrderController {
//查询列表数据
Query
query
=
new
Query
(
params
);
List
<
TbCfOrderListEntity
>
tbCfOrderList
=
tbCfOrderListService
.
queryOrderList
(
query
);
for
(
TbCfOrderListEntity
tbCfOrder:
tbCfOrderList
){
BigDecimal
itemNum
=
BigDecimal
.
valueOf
(
tbCfOrder
.
getItemNum
());
tbCfOrder
.
setItemPrice
(
tbCfOrder
.
getItemPrice
().
multiply
(
itemNum
));
}
int
total
=
tbCfOrderListService
.
queryOrderTotal
(
query
);
PageUtils
pageUtil
=
new
PageUtils
(
tbCfOrderList
,
total
,
query
.
getLimit
(),
query
.
getPage
());
return
R
.
ok
().
put
(
"page"
,
pageUtil
);
...
...
platform-admin/src/main/java/com/platform/dao/TbCfItemOrderRDao.java
浏览文件 @
00b4a2c8
...
...
@@ -26,11 +26,16 @@ public interface TbCfItemOrderRDao extends BaseDao<TbCfItemOrderREntity> {
int
updateExpressStatus
(
String
[]
sids
);
TbCfItemOrderREntity
getOrderItemId
(
String
orderId
,
String
itemId
);
TbCfItemOrderREntity
getOrderItemId
(
@Param
(
"orderId"
)
String
orderId
,
@Param
(
"itemId"
)
String
itemId
);
Integer
getItemNum
(
String
ordersId
);
int
getOrderStatus
(
String
ordersId
);
Set
<
Integer
>
findOrderStatus
(
String
orderId
);
TbCfItemOrderREntity
findDeliveryStatus
(
String
[]
sids
);
int
updateIsSend
(
String
ordersId
);
}
platform-admin/src/main/java/com/platform/dao/TbCfOrderDao.java
浏览文件 @
00b4a2c8
...
...
@@ -58,4 +58,9 @@ public interface TbCfOrderDao extends BaseDao<TbCfOrderEntity> {
int
updateOrderStatus
(
TbCfOrderEntity
tbCfOrderEntity
);
int
updateStatus
(
TbCfOrderEntity
tbCfOrderEntity
);
String
getPhone
(
String
orderId
);
int
updateDeliveryStatus
(
String
ordersId
);
}
platform-admin/src/main/java/com/platform/dao/TbCfPlatformOrderDao.java
浏览文件 @
00b4a2c8
package
com
.
platform
.
dao
;
import
com.platform.entity.SysLogEntity
;
import
com.platform.entity.TbCfItemOrderREntity
;
import
com.platform.entity.TbCf
Platform
OrderEntity
;
import
com.platform.entity.TbCfOrderEntity
;
import
com.platform.vo.PlatformOrderVo
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 第三方平台对应订单信息Dao
*
...
...
@@ -27,5 +28,5 @@ public interface TbCfPlatformOrderDao extends BaseDao<PlatformOrderVo> {
TbCfItemOrderREntity
getOrdersId
(
String
sid
);
int
findUs
erByExpressNumber
(
String
[]
sids
);
List
<
TbCfOrderEntity
>
findOrd
erByExpressNumber
(
String
[]
sids
);
}
platform-admin/src/main/java/com/platform/entity/TbCfFinanceEntity.java
浏览文件 @
00b4a2c8
...
...
@@ -22,6 +22,8 @@ public class TbCfFinanceEntity implements Serializable {
* 订单id
*/
private
String
orderId
;
private
String
orderNo
;
/**
* 用户id
*/
...
...
@@ -151,4 +153,12 @@ public class TbCfFinanceEntity implements Serializable {
public
String
getReceiptUrl
()
{
return
receiptUrl
;
}
public
String
getOrderNo
()
{
return
orderNo
;
}
public
void
setOrderNo
(
String
orderNo
)
{
this
.
orderNo
=
orderNo
;
}
}
platform-admin/src/main/java/com/platform/entity/TbCfOrderListEntity.java
浏览文件 @
00b4a2c8
...
...
@@ -28,7 +28,7 @@ public class TbCfOrderListEntity implements Serializable {
/**
* 用户id
*/
private
String
userI
d
;
private
String
userI
nfo
;
/**
* 订单号
*/
...
...
@@ -102,18 +102,15 @@ public class TbCfOrderListEntity implements Serializable {
public
void
setItemId
(
String
itemId
)
{
this
.
itemId
=
itemId
;
}
/**
* 获取:用户id
*/
public
String
getUserId
()
{
return
userId
;
public
String
getUserInfo
()
{
return
userInfo
;
}
/**
* 设置:用户id
*/
public
void
setUserId
(
String
userId
)
{
this
.
userId
=
userId
;
public
void
setUserInfo
(
String
userInfo
)
{
this
.
userInfo
=
userInfo
;
}
/**
* 获取:订单号
*/
...
...
platform-admin/src/main/java/com/platform/service/TbCfItemOrderRService.java
浏览文件 @
00b4a2c8
package
com
.
platform
.
service
;
import
com.platform.entity.TbCfItemDetailEntity
;
import
com.platform.entity.TbCfItemOrderREntity
;
import
java.util.List
;
...
...
@@ -18,7 +17,6 @@ public interface TbCfItemOrderRService {
/**
* 根据主键查询实体
*
* @param id 主键
* @return 实体
*/
TbCfItemOrderREntity
queryObject
(
String
orderItemId
);
...
...
@@ -97,4 +95,6 @@ public interface TbCfItemOrderRService {
int
getOrderStatus
(
String
ordersId
);
Set
<
Integer
>
findOrderStatus
(
String
orderId
);
int
updateIsSend
(
String
ordersId
);
}
platform-admin/src/main/java/com/platform/service/TbCfOrderService.java
浏览文件 @
00b4a2c8
...
...
@@ -100,4 +100,7 @@ public interface TbCfOrderService {
int
updateStatus
(
TbCfOrderEntity
tbCfOrderEntity
);
String
getPhone
(
String
orderId
);
}
platform-admin/src/main/java/com/platform/service/TbCfPlatformOrderService.java
浏览文件 @
00b4a2c8
package
com
.
platform
.
service
;
import
com.platform.entity.TbCfItemOrderREntity
;
import
com.platform.entity.TbCfOrderEntity
;
import
com.platform.vo.PlatformOrderVo
;
import
java.util.List
;
...
...
@@ -73,5 +74,6 @@ public interface TbCfPlatformOrderService {
TbCfItemOrderREntity
getOrdersId
(
String
sid
);
int
findUserByExpressNumber
(
String
[]
sids
);
List
<
TbCfOrderEntity
>
findOrderByExpressNumber
(
String
[]
sids
);
}
platform-admin/src/main/java/com/platform/service/impl/TbCfItemOrderRServiceImpl.java
浏览文件 @
00b4a2c8
package
com
.
platform
.
service
.
impl
;
import
com.platform.dao.TbCfItemOrderRDao
;
import
com.platform.entity.TbCfItemDetailEntity
;
import
com.platform.entity.TbCfItemOrderREntity
;
import
com.platform.service.TbCfItemOrderRService
;
import
com.platform.utils.IdUtil
;
...
...
@@ -96,5 +95,9 @@ public class TbCfItemOrderRServiceImpl implements TbCfItemOrderRService {
return
tbCfItemOrderRDao
.
findOrderStatus
(
orderId
);
}
@Override
public
int
updateIsSend
(
String
ordersId
)
{
return
tbCfItemOrderRDao
.
updateIsSend
(
ordersId
);
}
}
platform-admin/src/main/java/com/platform/service/impl/TbCfOrderServiceImpl.java
浏览文件 @
00b4a2c8
...
...
@@ -4,7 +4,6 @@ import com.platform.dao.*;
import
com.platform.entity.TbCfItemDetailEntity
;
import
com.platform.entity.TbCfItemOrderREntity
;
import
com.platform.entity.TbCfOrderEntity
;
import
com.platform.entity.TbCfPlatformEntity
;
import
com.platform.enums.DeliveryStatusEnum
;
import
com.platform.enums.OrderStatusEnum
;
import
com.platform.service.TbCfOrderService
;
...
...
@@ -12,7 +11,6 @@ import com.platform.utils.IdUtil;
import
com.platform.utils.ShiroUtils
;
import
com.platform.utils.StringUtils
;
import
com.platform.vo.PlatformOrderVo
;
import
org.jgroups.protocols.FORK
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
...
...
@@ -103,13 +101,13 @@ public class TbCfOrderServiceImpl implements TbCfOrderService {
tbCfPlatformOrder
.
setUserName
(
sysUserDao
.
queryById
(
userId
));
res
=
tbCfPlatformOrderDao
.
save
(
tbCfPlatformOrder
);
}
//如果填写了原网站订单号,那么意味着已发货,需要更改发货状态
if
(
StringUtils
.
isNotEmpty
(
tbCfPlatformOrder
.
getpOrderId
()))
{
TbCfItemOrderREntity
tbCfItemOrderREntity
=
new
TbCfItemOrderREntity
(
);
tbCfItemOrderREntity
.
setOrderItemId
(
tbCfPlatformOrder
.
getOrdersId
());
tbCfItemOrderREntity
.
setOrderStatus
(
OrderStatusEnum
.
SHIPPED
.
getValue
());
tbCfItemOrderRDao
.
update
(
tbCfItemOrderREntity
);
//如果填写了快递单号,那么意味着已代购,需要更改发货状态
if
(
StringUtils
.
isNotEmpty
(
tbCfPlatformOrder
.
getpExpressNumber
()))
{
TbCfItemOrderREntity
tbCfItemOrderREntity2
=
new
TbCfItemOrderREntity
();
tbCfItemOrderREntity2
.
setOrderItemId
(
tbCfPlatformOrder
.
getOrdersId
()
);
tbCfItemOrderREntity
2
.
setDeliveryFlag
(
DeliveryStatusEnum
.
PURCHASE
.
getValue
());
tbCfItemOrderREntity
2
.
setOrderStatus
(
OrderStatusEnum
.
SHIPPED
.
getValue
());
tbCfItemOrderRDao
.
update
(
tbCfItemOrderREntity
2
);
List
<
TbCfItemDetailEntity
>
orderItemList
=
tbCfOrderDao
.
getOrderItemList
(
tbCfPlatformOrder
.
getOrderId
());
Set
<
Integer
>
status
=
new
HashSet
<>();
for
(
TbCfItemDetailEntity
itemList:
orderItemList
){
...
...
@@ -126,19 +124,11 @@ public class TbCfOrderServiceImpl implements TbCfOrderService {
tbCfOrderDao
.
update
(
tbCfOrderEntity
);
}
}
//更新发货时间,如果原值为空就更新,否则保留原值
TbCfItemOrderREntity
tbCfItemOrderREntity2
=
new
TbCfItemOrderREntity
();
tbCfItemOrderREntity2
.
setOrderItemId
(
tbCfPlatformOrder
.
getOrdersId
());
tbCfItemOrderREntity2
.
setDeliveryTime
(
new
Date
());
tbCfItemOrderRDao
.
updateDeliveryTime
(
tbCfItemOrderREntity2
);
}
//如果填写了快递单号,那么意味着已代购,需要更改发货状态
if
(
StringUtils
.
isNotEmpty
(
tbCfPlatformOrder
.
getpExpressNumber
()))
{
TbCfItemOrderREntity
tbCfItemOrderREntity2
=
new
TbCfItemOrderREntity
();
tbCfItemOrderREntity2
.
setOrderItemId
(
tbCfPlatformOrder
.
getOrdersId
());
tbCfItemOrderREntity2
.
setDeliveryFlag
(
DeliveryStatusEnum
.
PURCHASE
.
getValue
());
tbCfItemOrderRDao
.
update
(
tbCfItemOrderREntity2
);
TbCfItemOrderREntity
tbCfItemOrderREntity3
=
new
TbCfItemOrderREntity
();
tbCfItemOrderREntity3
.
setOrderItemId
(
tbCfPlatformOrder
.
getOrdersId
());
tbCfItemOrderREntity3
.
setDeliveryTime
(
new
Date
());
tbCfItemOrderRDao
.
updateDeliveryTime
(
tbCfItemOrderREntity3
);
}
return
res
;
}
...
...
@@ -152,5 +142,9 @@ public class TbCfOrderServiceImpl implements TbCfOrderService {
return
tbCfOrderDao
.
updateStatus
(
tbCfOrderEntity
);
}
@Override
public
String
getPhone
(
String
orderId
)
{
return
tbCfOrderDao
.
getPhone
(
orderId
);
}
}
platform-admin/src/main/java/com/platform/service/impl/TbCfPlatformOrderServiceImpl.java
浏览文件 @
00b4a2c8
...
...
@@ -2,9 +2,8 @@ package com.platform.service.impl;
import
com.platform.dao.SysUserDao
;
import
com.platform.dao.TbCfPlatformOrderDao
;
import
com.platform.entity.SysLogEntity
;
import
com.platform.entity.SysUserEntity
;
import
com.platform.entity.TbCfItemOrderREntity
;
import
com.platform.entity.TbCfOrderEntity
;
import
com.platform.service.TbCfPlatformOrderService
;
import
com.platform.utils.IdUtil
;
import
com.platform.utils.ShiroUtils
;
...
...
@@ -80,7 +79,8 @@ public class TbCfPlatformOrderServiceImpl implements TbCfPlatformOrderService {
}
@Override
public
int
findUs
erByExpressNumber
(
String
[]
sids
)
{
return
tbCfPlatformOrderDao
.
find
Us
erByExpressNumber
(
sids
);
public
List
<
TbCfOrderEntity
>
findOrd
erByExpressNumber
(
String
[]
sids
)
{
return
tbCfPlatformOrderDao
.
find
Ord
erByExpressNumber
(
sids
);
}
}
platform-admin/src/main/java/com/platform/task/ExpressStatusTask.java
浏览文件 @
00b4a2c8
差异被折叠。
点击展开。
platform-admin/src/main/java/com/platform/task/FeeTask.java
浏览文件 @
00b4a2c8
...
...
@@ -22,7 +22,7 @@ public class FeeTask {
@Autowired
private
TbCfFeeService
tbCfFeeService
;
@Scheduled
(
cron
=
"0 0/
2
0 * * * ? "
)
@Scheduled
(
cron
=
"0 0/
3
0 * * * ? "
)
public
void
FeeTask
()
{
String
url
=
"http://op.juhe.cn/onebox/exchange/currency"
;
Map
<
String
,
String
>
parameters
=
new
HashMap
<>();
...
...
platform-admin/src/main/resources/com/platform/dao/TbCfFinanceDao.xml
浏览文件 @
00b4a2c8
...
...
@@ -74,16 +74,22 @@
<select
id=
"queryList"
resultType=
"com.platform.entity.TbCfFinanceEntity"
>
select
`finace_id`,
`order_id`,
`user_id`,
`pay_account`,
`pay_id`,
`pay_way_code`,
`pay_Time`,
`receipt_url`
from tb_cf_finance
WHERE 1=1
DISTINCT
r.order_id,
f.finace_id,
r.order_no orderNo,
CONCAT_WS("_",u.nick,u.user_no) userInfo,
f.pay_account,
f.pay_id,
f.pay_way_code,
f.pay_Time,
f.receipt_url
from tb_cf_finance f
left join tb_cf_order r on r.order_id=f.order_id
left join tb_cf_user_info u on f.user_id=u.user_id
left join tb_cf_item_order_r i on i.order_id = r.order_id
WHERE 1=1 and i.enable_flag=1
<if
test=
"name != null and name.trim() != ''"
>
AND name LIKE concat('%',#{name},'%')
</if>
...
...
platform-admin/src/main/resources/com/platform/dao/TbCfItemOrderRDao.xml
浏览文件 @
00b4a2c8
...
...
@@ -153,6 +153,12 @@
select order_status from tb_cf_item_order_r where order_id=#{orderId}
</select>
<update
id=
"updateIsSend"
parameterType=
"com.platform.entity.TbCfItemOrderREntity"
>
update tb_cf_item_order_r r
set r.is_send = 1
where r.order_item_id = #{ordersId}
</update>
<!--根据快递单号id,修改物流状态为已入中国仓库 -->
<update
id=
"updateExpressStatus"
>
UPDATE tb_cf_order o,tb_cf_platform_order p,tb_cf_item_order_r i
...
...
platform-admin/src/main/resources/com/platform/dao/TbCfOrderDao.xml
浏览文件 @
00b4a2c8
...
...
@@ -157,6 +157,7 @@
<select
id=
"queryTotal"
resultType=
"int"
>
select count(*) from tb_cf_order o left join tb_cf_coupon c on c.coupon_id=o.coupon_id
left join tb_cf_item_order_r i on i.order_id=o.order_id
left join tb_cf_item_detail d on d.item_id=i.item_id
WHERE 1=1 and i.enable_flag=1 and o.enable_flag=1
<if
test=
"name != null and name.trim() != ''"
>
AND o.order_no LIKE concat('%',#{name},'%')
...
...
@@ -300,9 +301,13 @@
where order_id = #{orderId}
</update>
<select
id=
"getPhone"
resultType=
"String"
>
select delivery_phone from tb_cf_order where order_id=#{orderId}
</select>
<!--根据订单id,获取订单内商品详情-->
<select
id=
"getOrderItemList"
resultType=
"com.platform.entity.TbCfItemDetailEntity"
>
select t2.* from tb_cf_item_order_r t1,tb_cf_item_detail t2 where t1.order_i
tem_id =#{orders
Id}
select t2.* from tb_cf_item_order_r t1,tb_cf_item_detail t2 where t1.order_i
d =#{order
Id}
and t1.enable_flag=1 and t2.item_id=t1.item_id
</select>
...
...
platform-admin/src/main/resources/com/platform/dao/TbCfOrderListDao.xml
浏览文件 @
00b4a2c8
...
...
@@ -21,26 +21,20 @@
<!--查询订单列表-->
<select
id=
"queryOrderList"
resultType=
"com.platform.entity.TbCfOrderListEntity"
>
select
i.order_item_id ordersId,
DISTINCT
o.order_id,
i.item_id,
o.user_id,
o.order_no,
CONCAT_WS("_",u.nick,u.user_no) userInfo,
o.order_time,
d.item_price
,
d.item_titl
e,
d.item_num
,
o.reality_pay
,
o.delivery_nam
e,
o.delivery_phone
,
o.delivery_address,
f.pay_way_code,
p.p_express_number,
i.delivery_flag,
s.user_name
f.pay_way_code
from tb_cf_order o
left join tb_cf_item_order_r i on o.order_id=i.order_id
left join tb_cf_item_detail d on d.item_id=i.item_id
left join tb_cf_platform_order p on p.order_id=o.order_id
left join tb_cf_finance f on f.order_id=o.order_id
left join sys_user s on s.user_id=p.user_id
INNER JOIN tb_cf_item_order_r i on o.order_id=i.order_id
INNER JOIN tb_cf_finance f on f.order_id=o.order_id
INNER JOIN tb_cf_user_info u on u.user_id=o.user_id
WHERE 1=1 and i.enable_flag=1 and f.pay_way_code!='null'
<if
test=
"name != null and name.trim() != ''"
>
AND o.order_no LIKE concat('%',#{name},'%')
...
...
@@ -75,11 +69,9 @@
select
count(*)
from tb_cf_order o
left join tb_cf_item_order_r i on o.order_id=i.order_id
left join tb_cf_item_detail d on d.item_id=i.item_id
left join tb_cf_platform_order p on p.order_id=o.order_id
left join tb_cf_finance f on f.order_id=o.order_id
left join sys_user s on s.user_id=p.user_id
INNER JOIN tb_cf_item_order_r i on o.order_id=i.order_id
INNER JOIN tb_cf_finance f on f.order_id=o.order_id
INNER JOIN tb_cf_user_info u on u.user_id=o.user_id
WHERE 1=1 and i.enable_flag=1 and f.pay_way_code!='null'
<if
test=
"name != null and name.trim() != ''"
>
AND o.order_no LIKE concat('%',#{name},'%')
...
...
platform-admin/src/main/resources/com/platform/dao/TbCfPlatformOrderDao.xml
浏览文件 @
00b4a2c8
...
...
@@ -187,5 +187,14 @@
select order_id from tb_cf_platform_order where p_express_number=#{sid}
</select>
<select
id=
"findOrderByExpressNumber"
resultType=
"com.platform.entity.TbCfOrderEntity"
>
select o.delivery_phone,i.order_item_id ordersId,i.order_id
from tb_cf_platform_order p
left join tb_cf_item_order_r i on p.order_id=i.order_id
left join tb_cf_order o on o.order_id=i.order_id
where i.is_send=0 and i.delivery_flag=10 and p.p_express_number in
<foreach
collection=
"array"
item=
"sids"
open=
"("
separator=
","
close=
")"
>
#{sids}
</foreach>
</select>
</mapper>
\ No newline at end of file
platform-admin/src/main/webapp/js/sys/tbcffinance.js
浏览文件 @
00b4a2c8
...
...
@@ -3,8 +3,9 @@ $(function () {
url
:
'../tbcffinance/list'
,
colModel
:
[
{
label
:
'finaceId'
,
name
:
'finaceId'
,
index
:
'finace_id'
,
key
:
true
,
hidden
:
true
},
{
label
:
'订单id'
,
name
:
'orderId'
,
index
:
'order_id'
,
width
:
80
},
{
label
:
'用户id'
,
name
:
'userId'
,
index
:
'user_id'
,
width
:
80
},
{
label
:
'订单id'
,
name
:
'orderId'
,
index
:
'order_id'
,
width
:
80
,
hidden
:
true
},
{
label
:
'订单号'
,
name
:
'orderNo'
,
index
:
'orderNo'
,
width
:
80
},
{
label
:
'用户'
,
name
:
'userInfo'
,
index
:
'userInfo'
,
width
:
80
},
{
label
:
'支付款项'
,
name
:
'payAccount'
,
index
:
'pay_account'
,
width
:
80
},
{
label
:
'支付流水号'
,
name
:
'payId'
,
index
:
'pay_id'
,
width
:
80
},
{
label
:
'支付方式'
,
name
:
'payWayCode'
,
index
:
'pay_way_code'
,
width
:
80
},
...
...
platform-admin/src/main/webapp/js/sys/tbcforder.js
浏览文件 @
00b4a2c8
...
...
@@ -102,13 +102,19 @@ let vm = new Vue({
}],
deliveryFlagOptions
:
[{
value
:
'0'
,
label
:
'未代购'
label
:
'待采购'
},{
value
:
'10'
,
label
:
'已代购'
},{
value
:
'20'
,
label
:
'已到达中国仓'
},{
value
:
'40'
,
label
:
'已到达非洲仓'
},{
value
:
'50'
,
label
:
'买家已签收'
}],
pickerOptions
:
{
shortcuts
:
[{
...
...
platform-admin/src/main/webapp/js/sys/tbcforderList.js
浏览文件 @
00b4a2c8
...
...
@@ -7,19 +7,17 @@ $(function () {
cellurl:'../tbcforder/changeDeliveryFlag/',*/
colModel
:
[
//显示字段
{
label
:
'ordersId'
,
name
:
'ordersId'
,
index
:
'ordersId'
,
key
:
true
,
hidden
:
true
},
{
label
:
'orderId'
,
name
:
'orderId'
,
index
:
'order_id'
,
hidden
:
true
},
{
label
:
'itemId'
,
name
:
'itemId'
,
index
:
'item_id'
,
hidden
:
true
},
{
label
:
'用户id'
,
name
:
'userId'
,
index
:
'user_id'
,
width
:
120
},
{
label
:
'orderId'
,
name
:
'orderId'
,
index
:
'order_id'
,
key
:
true
,
hidden
:
true
},
{
label
:
'订单号'
,
name
:
'orderNo'
,
index
:
'order_no'
,
width
:
80
},
{
label
:
'用户'
,
name
:
'userInfo'
,
index
:
'userInfo'
,
width
:
120
},
{
label
:
'下单时间'
,
name
:
'orderTime'
,
index
:
'order_time'
,
width
:
70
},
{
label
:
'
商品总价'
,
name
:
'itemPrice'
,
index
:
'itemPrice'
,
width
:
55
,
formatter
:
"currency"
,
formatoptions
:
{
prefix
:
"$"
}
},
{
label
:
'
下单金额'
,
name
:
'realityPay'
,
index
:
'reality_pay'
,
width
:
45
},
// formatter: "currency",formatoptions: {thousandsSeparator:",",decimalSeparator:".",decimalPlaces:"2", prefix:"$"}}, //在金额前加上$,加上后,页合计无法正常显示。
{
label
:
'
商品'
,
name
:
'itemTitle'
,
index
:
'item_title'
,
width
:
9
0
},
{
label
:
'
商品数量'
,
name
:
'itemNum'
,
index
:
'item_num'
,
width
:
3
0
},
{
label
:
'
收货人'
,
name
:
'deliveryName'
,
index
:
'delivery_name'
,
width
:
10
0
},
{
label
:
'
收货地址'
,
name
:
'deliveryPhone'
,
index
:
'delivery_phone'
,
width
:
10
0
},
{
label
:
'收货地址'
,
name
:
'deliveryAddress'
,
index
:
'delivery_address'
,
width
:
100
},
{
label
:
'快递单号'
,
name
:
'pExpressNumber'
,
index
:
'p_express_number'
,
width
:
80
,
sortable
:
false
},
{
label
:
'支付方式'
,
name
:
'payWayCode'
,
index
:
'pay_way_code'
,
width
:
3
5
},
{
label
:
'支付方式'
,
name
:
'payWayCode'
,
index
:
'pay_way_code'
,
width
:
4
5
},
{
label
:
'物流状态'
,
name
:
'deliveryFlag'
,
index
:
'delivery_flag'
,
width
:
40
,
formatter
:
deliveryFlagFormat
},
{
label
:
'代购人'
,
name
:
'userName'
,
index
:
'user_name'
,
width
:
40
},
{
label
:
'总金额'
,
name
:
'totalPay'
,
index
:
'totalPay'
,
width
:
40
,
hidden
:
true
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论