|
@@ -41,10 +41,10 @@ $(function () {
|
|
datatype: "json",
|
|
datatype: "json",
|
|
colModel: [
|
|
colModel: [
|
|
{label: 'id', name: 'id', index: 'id', key: true, hidden: true},
|
|
{label: 'id', name: 'id', index: 'id', key: true, hidden: true},
|
|
- {label: '所属门店', name: 'storeName', index: 'storeName', width: 80},
|
|
|
|
- {label: '订单号', name: 'orderSn', index: 'order_sn', width: 100},
|
|
|
|
- {label: '会员', name: 'userName', index: 'user_name', width: 80},
|
|
|
|
- {label: '支付类型', name: 'isMergePay', index: 'is_merge_pay', width: 60,
|
|
|
|
|
|
+ {label: '所属门店', name: 'storeName', index: 'storeName',align: 'center', width: 180},
|
|
|
|
+ {label: '订单号', name: 'orderSn', index: 'order_sn', align: 'center',width: 180},
|
|
|
|
+ {label: '会员', name: 'userName', index: 'user_name',align: 'center', width: 80},
|
|
|
|
+ {label: '支付类型', name: 'isMergePay', index: 'is_merge_pay',align: 'center', width: 80,
|
|
formatter: function (value) {
|
|
formatter: function (value) {
|
|
if (value == '2') {
|
|
if (value == '2') {
|
|
return '合并支付';
|
|
return '合并支付';
|
|
@@ -56,9 +56,9 @@ $(function () {
|
|
return '-';
|
|
return '-';
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- {label: '商户订单号', name: 'merchOrderSn', index: 'merchOrderSn', width: 140},
|
|
|
|
|
|
+ {label: '商户订单号', name: 'merchOrderSn', index: 'merchOrderSn', align: 'center',width: 150},
|
|
{
|
|
{
|
|
- label: '订单业务类型', name: 'orderBizType', index: 'order_biz_type', width: 80,
|
|
|
|
|
|
+ label: '订单业务类型', name: 'orderBizType', index: 'order_biz_type', align: 'center',width: 100,
|
|
formatter: function (value) {
|
|
formatter: function (value) {
|
|
if (value == '00') {
|
|
if (value == '00') {
|
|
return '保税备货';
|
|
return '保税备货';
|
|
@@ -73,7 +73,7 @@ $(function () {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: '订单状态', name: 'orderStatus', index: 'order_status', width: 80,
|
|
|
|
|
|
+ label: '订单状态', name: 'orderStatus', index: 'order_status', align: 'center',width: 120,
|
|
formatter: function (value) {
|
|
formatter: function (value) {
|
|
if (value == '0') {
|
|
if (value == '0') {
|
|
return '订单创建成功等待付款';
|
|
return '订单创建成功等待付款';
|
|
@@ -98,7 +98,7 @@ $(function () {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: '订付人核验', name: 'buyerPayCheck', index: 'buyer_pay_check', width: 80,
|
|
|
|
|
|
+ label: '订付人核验', name: 'buyerPayCheck', index: 'buyer_pay_check', align: 'center',width: 80,
|
|
formatter: function (value) {//订购人支付人校验,0:未知,1:一致,2:不一致,3:校验异常
|
|
formatter: function (value) {//订购人支付人校验,0:未知,1:一致,2:不一致,3:校验异常
|
|
if (value == '0') {
|
|
if (value == '0') {
|
|
return '未知';
|
|
return '未知';
|
|
@@ -111,7 +111,7 @@ $(function () {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: '付款状态', name: 'payStatus', index: 'pay_status', width: 80,
|
|
|
|
|
|
+ label: '付款状态', name: 'payStatus', index: 'pay_status', align: 'center',width: 80,
|
|
formatter: function (value) {
|
|
formatter: function (value) {
|
|
if (value == '0') {
|
|
if (value == '0') {
|
|
return '未付款';
|
|
return '未付款';
|
|
@@ -130,19 +130,19 @@ $(function () {
|
|
// {label: '收货人', name: 'consignee', index: 'consignee', width: 80},
|
|
// {label: '收货人', name: 'consignee', index: 'consignee', width: 80},
|
|
// {label: '收货地址', name: 'address', index: 'address', width: 80},
|
|
// {label: '收货地址', name: 'address', index: 'address', width: 80},
|
|
// {label: '联系电话', name: 'mobile', index: 'mobile', width: 80},
|
|
// {label: '联系电话', name: 'mobile', index: 'mobile', width: 80},
|
|
- {label: '实际支付', name: 'actualPrice', index: 'actual_price', width: 60},
|
|
|
|
- {label: '订单总价', name: 'orderPrice', index: 'order_price', width: 60},
|
|
|
|
|
|
+ {label: '实际支付', name: 'actualPrice', index: 'actual_price', align: 'right',width: 80},
|
|
|
|
+ {label: '订单总价', name: 'orderPrice', index: 'order_price', align: 'right',width: 80},
|
|
{
|
|
{
|
|
- label: '下单时间', name: 'addTime', index: 'add_time', width: 120,
|
|
|
|
|
|
+ label: '下单时间', name: 'addTime', index: 'add_time',align: 'center', width: 160,
|
|
formatter: function (value) {
|
|
formatter: function (value) {
|
|
return transDate(value, 'yyyy-MM-dd hh:mm:ss');
|
|
return transDate(value, 'yyyy-MM-dd hh:mm:ss');
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- {label: '快递公司', name: 'shippingName', index: 'shipping_name', width: 80},
|
|
|
|
- {label: '配送单号', name: 'shippingNo', index: 'shipping_No', width: 80},
|
|
|
|
|
|
+ {label: '快递公司', name: 'shippingName', index: 'shipping_name', align: 'center',width: 80},
|
|
|
|
+ {label: '配送单号', name: 'shippingNo', index: 'shipping_No',align: 'center', width: 180},
|
|
{label: '快递费用', name: 'shippingFee', index: 'shipping_fee', width: 80},
|
|
{label: '快递费用', name: 'shippingFee', index: 'shipping_fee', width: 80},
|
|
{
|
|
{
|
|
- label: '发货状态', name: 'shippingStatus', index: 'shipping_status', width: 60,
|
|
|
|
|
|
+ label: '发货状态', name: 'shippingStatus', index: 'shipping_status', align: 'center',width: 80,
|
|
formatter: function (value) {
|
|
formatter: function (value) {
|
|
if (value == '0') {
|
|
if (value == '0') {
|
|
return '未发货';
|
|
return '未发货';
|
|
@@ -156,9 +156,9 @@ $(function () {
|
|
return value;
|
|
return value;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- {label: '修改人', name: 'moderSn', index: 'moderSn', width: 80},
|
|
|
|
|
|
+ {label: '修改人', name: 'moderSn', index: 'moderSn', align: 'center',width: 80},
|
|
{
|
|
{
|
|
- label: '操作', width: 180, sortable: false,
|
|
|
|
|
|
+ label: '操作', width: 180, sortable: false,align: 'center',
|
|
formatter: function (value, col, row) {
|
|
formatter: function (value, col, row) {
|
|
let htmlStr = '<button class="btn btn-outline btn-info" onclick="vm.lookDetail(' + row.id + ')"><i class="fa fa-info-circle"></i>详情</button> ';
|
|
let htmlStr = '<button class="btn btn-outline btn-info" onclick="vm.lookDetail(' + row.id + ')"><i class="fa fa-info-circle"></i>详情</button> ';
|
|
//订单状态: 0订单创建成功等待付款, 101订单已取消, 102订单已删除,201订单已付款,等待发货,300订单已发货, 301用户确认收货,401 没有发货,退款 402 已收货,退款退货
|
|
//订单状态: 0订单创建成功等待付款, 101订单已取消, 102订单已删除,201订单已付款,等待发货,300订单已发货, 301用户确认收货,401 没有发货,退款 402 已收货,退款退货
|
|
@@ -188,6 +188,9 @@ $(function () {
|
|
rownumbers: true,
|
|
rownumbers: true,
|
|
rownumWidth: 25,
|
|
rownumWidth: 25,
|
|
autowidth: true,
|
|
autowidth: true,
|
|
|
|
+ shrinkToFit: false,
|
|
|
|
+ autoScroll: true, //开启水平滚动条
|
|
|
|
+ width: 1500,
|
|
multiselect: true,
|
|
multiselect: true,
|
|
pager: "#jqGridPager",
|
|
pager: "#jqGridPager",
|
|
jsonReader: {
|
|
jsonReader: {
|
|
@@ -202,7 +205,7 @@ $(function () {
|
|
order: "order"
|
|
order: "order"
|
|
},
|
|
},
|
|
gridComplete: function () {
|
|
gridComplete: function () {
|
|
- $("#jqGrid").closest(".ui-jqgrid-bdiv").css({"overflow-x": "hidden"});
|
|
|
|
|
|
+ $("#jqGrid").closest(".ui-jqgrid-bdiv").css({"overflow-x": "scroll"});
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
});
|