发单管理页面
This commit is contained in:
parent
9a2524bbde
commit
cc2abf126a
|
|
@ -412,17 +412,16 @@
|
||||||
title: '订单信息',
|
title: '订单信息',
|
||||||
formatter: function (value, row) {
|
formatter: function (value, row) {
|
||||||
return '<div style="display:flex;justify-content: center;align-items: center;">'
|
return '<div style="display:flex;justify-content: center;align-items: center;">'
|
||||||
// + '<img decoding="async" src="' + value.goodsImgUrl + '" width="100" height="100" />'
|
+ '<img decoding="async" src="' + value.goodsImgUrl + '" width="100" height="100" />'
|
||||||
+ '<div>'
|
+ '<div>'
|
||||||
+ '<small> 订单编号:' + row.code + '<small/> <br>'
|
+ '<small>' + row.code + '<small/> <br>'
|
||||||
// + '<h4> ' + value.goodsName + '<h4/>'
|
+ '<small> ' + row.consoleGoodsName + '<small/> <br>'
|
||||||
// + '<small> ' + value.goodsDesc + '</small> <br>'
|
|
||||||
+ '<small> 联系人:' + row.addressName + '</small> <br>'
|
+ '<small> 联系人:' + row.addressName + '</small> <br>'
|
||||||
+ '<small> 联系电话:' + row.addressPhone + '</small> <br>'
|
+ '<small> 联系电话:' + row.addressPhone + '</small> <br>'
|
||||||
+ '<small> 联系地址:' + row.address + '</small> <br>'
|
+ '<small> 联系地址:' + row.address + '</small> <br>'
|
||||||
+ '<small> 下单时间:' + row.createTime + '</small> <br>'
|
+ '<small> 下单时间:' + row.createTime + '</small> <br>'
|
||||||
+ '<small> 预约时间:' + row.expectTimeStart + ' - ' + row.expectTimeEnd + '</small> <br>'
|
+ '<small> 预约时间:' + row.expectTimeStart + ' - ' + row.expectTimeEnd + '</small> <br>'
|
||||||
+ '<small> 总金额:' + row.financialMasterMoney + '元</small> <br>'
|
+ '<small> 下单总金额:' + row.financialMasterMoney + '元,师傅实收金额: '+ row.financialMasterPayMoney + ' </small> <br>'
|
||||||
+ '</div>'
|
+ '</div>'
|
||||||
+ '</div>';
|
+ '</div>';
|
||||||
}
|
}
|
||||||
|
|
@ -445,12 +444,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'lastCallTime',
|
||||||
|
title: '最近联系时间'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
formatter: function (value, row, index) {
|
formatter: function (value, row, index) {
|
||||||
var actions = [];
|
var actions = [];
|
||||||
actions.push('<a class="btn btn-success btn-xs " href="javascript:void(0)" onclick="detail(\'' + row.id + '\')"><i class="fa fa-info"></i>查看</a> ');
|
actions.push('<a class="btn btn-success btn-xs " href="javascript:void(0)" onclick="detail(\'' + row.id + '\')"><i class="fa fa-info"></i>查看</a> ');
|
||||||
|
actions.push('<a class="btn btn-success btn-xs " href="javascript:void(0)" onclick="callDetail(\'' + row.id + '\')"><i class="fa fa-info"></i>拨号详情</a> ');
|
||||||
if(row.orderStatus == 0 || row.orderStatus == 1){
|
if(row.orderStatus == 0 || row.orderStatus == 1){
|
||||||
actions.push('<a class="btn btn-success btn-xs " href="javascript:void(0)" onclick="orderMasterCancel(\'' + row.id + '\')"></i>商家退单</a> ');
|
actions.push('<a class="btn btn-success btn-xs " href="javascript:void(0)" onclick="orderMasterCancel(\'' + row.id + '\')"></i>商家退单</a> ');
|
||||||
}
|
}
|
||||||
|
|
@ -539,6 +543,11 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function callDetail(id) {
|
||||||
|
var url = "order/record?orderId=" + id;
|
||||||
|
$.modal.open("拨号记录", url);
|
||||||
|
}
|
||||||
|
|
||||||
// 商家退单
|
// 商家退单
|
||||||
function orderMasterCancel(id){
|
function orderMasterCancel(id){
|
||||||
$.modal.confirm("确定要取消订单吗?", function() {
|
$.modal.confirm("确定要取消订单吗?", function() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue