|
@@ -3,6 +3,15 @@ $(function () {
|
|
|
url: '../mkstoretopicstat/list',
|
|
|
datatype: "json",
|
|
|
colModel: [
|
|
|
+ {
|
|
|
+ label: '操作', width: 160, align: 'center', sortable: false, frozen: true, formatter: function (value, col, row) {
|
|
|
+ let htmlStr = "<button class='btn btn-outline btn-primary' " +
|
|
|
+ "onclick='vm.getOrderInfo(" + row.storeTopicId + ")'><i class='fa fa-qrcode'></i>订单明细</button> " +
|
|
|
+ "<button class='btn btn-outline btn-primary' " +
|
|
|
+ "onclick='vm.updateById(" + row.storeTopicStatId + ")'><i class='fa fa-qrcode'></i>明细</button>";
|
|
|
+ return htmlStr;
|
|
|
+ }
|
|
|
+ },
|
|
|
{label: 'storeTopicStatId', name: 'storeTopicStatId', index: 'store_topic_stat_id', key: true, hidden: true},
|
|
|
{label: '活动名称', name: 'storeTopicName', index: 'storeTopicName', width: 180, align: 'center'},
|
|
|
{label: '活动类型', name: 'storeTopicType', index: 'storeTopicType', width: 180, align: 'center'},
|
|
@@ -30,7 +39,7 @@ $(function () {
|
|
|
// {label: '连带支付件数', name: 'relaPayCaseNum', index: 'rela_pay_case_num', width: 80},
|
|
|
{label: '应收金额', name: 'receivMoney', index: 'receiv_money', width: 100, align: 'right'},
|
|
|
// {label: '连带应收金额', name: 'relaReceivMoney', index: 'rela_receiv_money', width: 80},
|
|
|
- {label: '实收金额', name: 'actMoney', index: 'act_money', width: 100, align: 'right'},
|
|
|
+ {label: '实收金额', name: 'actMoney', index: 'act_money', width: 100, align: 'right'}
|
|
|
// {label: '连带实收金额', name: 'relaActMoney', index: 'rela_act_money', width: 80, align: 'center'},
|
|
|
// {label: '是否有效,0:有效,1:无效', name: 'isValid', index: 'is_valid', width: 80},
|
|
|
// {label: '备注', name: 'note', index: 'note', width: 80, align: 'center'},
|
|
@@ -39,15 +48,6 @@ $(function () {
|
|
|
// {label: '修改人编号', name: 'moderSn', index: 'moder_sn', width: 80},
|
|
|
// {label: '修改时间', name: 'modTime', index: 'mod_time', width: 80},
|
|
|
// {label: '时间戳', name: 'tstm', index: 'tstm', width: 80}
|
|
|
- {
|
|
|
- label: '操作', width: 160, align: 'center', sortable: false, formatter: function (value, col, row) {
|
|
|
- let htmlStr = "<button class='btn btn-outline btn-primary' " +
|
|
|
- "onclick='vm.getOrderInfo(" + row.storeTopicId + ")'><i class='fa fa-qrcode'></i>订单明细</button> " +
|
|
|
- "<button class='btn btn-outline btn-primary' " +
|
|
|
- "onclick='vm.updateById(" + row.storeTopicStatId + ")'><i class='fa fa-qrcode'></i>明细</button>";
|
|
|
- return htmlStr;
|
|
|
- }
|
|
|
- }
|
|
|
],
|
|
|
viewrecords: true,
|
|
|
height: 670,
|
|
@@ -77,6 +77,8 @@ $(function () {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
+ // 启动冻结列
|
|
|
+ $("#jqGrid").jqGrid("setFrozenColumns");
|
|
|
|
|
|
$("#jqGridOrder").jqGrid({
|
|
|
url: '../mkstoretopicstat/storeTopicOrderList',
|