|
@@ -123,23 +123,19 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','clipboard'],
|
|
|
// {field: 'id', title: __('ID'),operate:false,},
|
|
|
{field: 'order_no', title: __('订单号'),visible:false,operate: 'like'},
|
|
|
{field: 'out_order_no', title: __('外部订单号'),visible:false,operate: 'like'},
|
|
|
- // {field: 'logistics_numbers', title: __('支付单号'),visible: false,operate: '='},
|
|
|
- // {field: 'pay_type', title: __('支付方式'),searchList: payType,visible: false, operate: is_proxy_operate},
|
|
|
- {field: 'produce_id', title: __('商品名称'),visible: false,operate: 'LIKE', addClass: 'selectpage', extend: "data-source='produce/index' data-field='name'"},
|
|
|
+ {field: 'produce_id', title: __('商品名称'),visible: false,operate: 'LIKE', addClass: 'selectpage', extend: "data-source='produce/index' data-field='local_code'"},
|
|
|
{field: 'is_arrearage', title: __('是否欠费'), searchList: {"1":__('是'),"0":__('否')},visible: false},
|
|
|
{field: 'produce_activation', title: __('是否激活'), searchList: {"1":__('是'),"0":__('否')},visible: false},
|
|
|
{field: 'produce_is_recharge', title: __('是否首充'), searchList: {"1":__('是'),"0":__('否')},visible: false},
|
|
|
- {field: 'flag', title: __('旗帜'), searchList: {"#FF0000":'红色',"#FFFF00":'黄色',"#00FF33":'绿色',"#0033FF":'蓝色',"#9900FF":'紫色',"#00CCFF":'青色'},visible: false},
|
|
|
- {field: 'supplier', title: __('分销商'),visible: false,operate: 'LIKE'},
|
|
|
+ {field: 'flag', title: __('旗帜'), searchList: {"#FF0000":'红色',"#FFFF00":'黄色',"#00FF33":'绿色',"#0033FF":'蓝色',"#9900FF":'紫色',"#00CCFF":'青色'},visible: false},
|
|
|
{field: 'no', title: __('生产号码'),visible: false,operate: 'LIKE'},
|
|
|
{field: 'phone', title: __('收货人手机'),visible: false,operate: 'LIKE'},
|
|
|
- {field: 'name', title: __('收货人'),visible: false,operate: 'LIKE'},
|
|
|
- {field: 'id_no', title: __('收货人身份证'),visible: false,operate: "like"},
|
|
|
- {field: 'is_auto', title: __('是否是自动订单'),visible: false},
|
|
|
- {field: 'no', title: __('订单来源'),visible: false,operate: 'LIKE'},
|
|
|
- {field: 'no', title: __('外部订单号'),visible: false,operate: 'LIKE'},
|
|
|
- {field: 'no', title: __('商品编码'),visible: false,operate: 'LIKE'},
|
|
|
- {field: 'create_time', title: __('订单生成时间'),visible: false,operate: 'LIKE'},
|
|
|
+ {field: 'address_name', title: __('收货人'),visible: false,operate: 'LIKE'},
|
|
|
+ {field: 'id_no', title: __('身份证'),visible: false,operate: "like"},
|
|
|
+ {field: 'is_auto', title: __('是否首充'), searchList: {"1":__('是'),"0":__('否')},visible: false},
|
|
|
+ {field: 'platform_source', title: __('订单来源'),visible: false,operate: 'LIKE'},
|
|
|
+ {field: 'create_time', title: __('订单生成时间'),visible: false,operate: 'RANGE', addclass: 'datetimerange', formatter: Table.api.formatter.datetime, type: 'datetime'},
|
|
|
+ {field: 'state', title: __('订单状态'),visible: false, searchList: {'1':'激活','2':'退单(激活前)','3':'转套餐','4':'销户','6':'首充数据同步','C1':'开户完成','E0':'发货'},operate: 'LIKE'},
|
|
|
// {field: 'no', title: __('订单更新时间'),visible: false,operate: 'LIKE'},
|
|
|
{field: 'order_no', title: __('订单信息'),operate: false,formatter(_,order){
|
|
|
let a=[]
|
|
@@ -190,10 +186,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','clipboard'],
|
|
|
},width:'20%',valign:'top',align:'left'},
|
|
|
{field: 'create_time', title: __('订单状态'),operate: false,formatter(_,order){
|
|
|
let a=[]
|
|
|
- a.push(`<div class="btn-order_link" data-link="${order.name}">订单状态:</div>`)
|
|
|
- a.push(`<div class="btn-order_link" data-link="${order.phone}">激活状态:</div>`)
|
|
|
- a.push(`<div class="btn-order_link" data-link="${order.address}">是否首充:</div>`)
|
|
|
- a.push(`<div>首充金额:</div>`)
|
|
|
+ a.push(`<div class="btn-order_link" data-link="${order.state_name}">订单状态:${order.state_name}</div>`)
|
|
|
+ a.push(`<div class="btn-order_link" data-link="${order.produce_activation_name}">激活状态:${order.produce_activation_name}</div>`)
|
|
|
+ a.push(`<div class="btn-order_link" data-link="${order.produce_is_recharge_name}">是否首充:${order.produce_is_recharge_name}</div>`)
|
|
|
+ a.push(`<div>首充金额:${order.first_amount}</div>`)
|
|
|
a.push(`<div>创建时间:${order.create_time}</div>`)
|
|
|
a.push(`<div>更新时间:${order.update_time}</div>`)
|
|
|
// a.push(`<a class="btn btn-link btn-click-show-open" style="color: #00a2ff;" data-id="${order.id}" data-open="${order.open_uploaded}">查看资料</a>`)
|
|
@@ -202,9 +198,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','clipboard'],
|
|
|
{field: 'create_time', title: __('生产信息'),operate: false,formatter(_,order){
|
|
|
let a=[]
|
|
|
a.push(`<div class="btn-order_link" data-link="${order.no}">生产号码:${order.no}</div>`)
|
|
|
- a.push(`<div class="btn-order_link" data-link="${order.phone}">订单来源:</div>`)
|
|
|
- a.push(`<div class="btn-order_link" data-link="${order.address}">物流名称:</div>`)
|
|
|
- a.push(`<div>物流单号:</div>`)
|
|
|
+ a.push(`<div class="btn-order_link" data-link="${order.platform_source}">订单来源:${order.platform_source}</div>`)
|
|
|
+ a.push(`<div class="btn-order_link" data-link="${order.logistics_numbers}">物流名称:</div>`)
|
|
|
+ a.push(`<div>物流单号:${order.logistics_numbers}</div>`)
|
|
|
a.push(`<div>物流状态:</div>`)
|
|
|
// a.push(`<a class="btn btn-link btn-click-show-open" style="color: #00a2ff;" data-id="${order.id}" data-open="${order.open_uploaded}">查看资料</a>`)
|
|
|
return `<div style="max-width: 200px;text-align: left;" class="break-words">${a.join('')}</div>`
|
|
@@ -219,7 +215,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','clipboard'],
|
|
|
{field: 'failure_reason', title: __('失败原因'), operate: false,align:'left', class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
// {field: 'title', title: __('Title'), operate: 'LIKE',align:'left', class: 'autocontent', formatter: Table.api.formatter.content},
|
|
|
// {field: 'remark', title: '失败原因&备注',formatter: Table.api.formatter.datetime,addClass:'datetimerange',operate: 'range'},
|
|
|
- {field: 'trans_no', title: __('Trans_no'),visible: false,operate: "like"},
|
|
|
+ {field: 'logistics_numbers', title: __('物流单号'),visible: false,operate: "like"},
|
|
|
{
|
|
|
field: 'operate',
|
|
|
title: __('Operate'),
|