Commit 658ebb40 by 宋毅

tj

parent caebeb8a
......@@ -28,7 +28,7 @@ module.exports = {
//订单类型
"order_type": { "zzdd": "自主订单", "dkxd": "代客下单" },
//订单付款状态
"order_status": { 1: "待付款", 2: "已付款", 4: "服务中", 8: "已完成" },
"order_status": { 1: "待付款", 2: "已付款", 4: "服务中", 8: "已完成", 16: "待推送", 32: "已退款", 64: "已作废" },
//帐户类型( 支付类型)
"pay_account_type": { "cash": "现金", "bank": "银行", "wx": "微信", "alipay": "支付宝", "other": "其它" },
//订单服务付款状态
......
......@@ -4,6 +4,7 @@ const uiconfig = system.getUiConfig2(settings.appKey);
module.exports = (db, DataTypes) => {
return db.define("orderinfo", {
uapp_id :DataTypes.INTEGER,//
solutionId :DataTypes.STRING(128),// 方案ID
orderNo :DataTypes.STRING(128),// 订单号
channelServiceNo :DataTypes.STRING(128),// 渠道服务单号
channelOrderNo :DataTypes.STRING(128),// 渠道订单号(页面中列表中显示该单号)
......@@ -21,7 +22,7 @@ module.exports = (db, DataTypes) => {
this.setDataValue("orderStatus", val);
this.setDataValue("orderStatusName", uiconfig.config.pdict.order_status[val]);
}
},// 订单状态dfk: 1: 待付款, 2: 已付款, 4: 待服务, 8: 已完成
},// 订单状态: 1: 待付款, 2: 已付款,4: 服务中, 8: 已完成, 16: 待推送, 32: 已退款, 64: 已作废
totalSum :DataTypes.DECIMAL(12, 2),// 订单总额(产品价格×优惠费率×订单件数)
payTotalSum :DataTypes.DECIMAL(12, 2),// 订单付款总额
refundSum :DataTypes.DECIMAL(12, 2),// 退款金额
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment