| | |
| | | */ |
| | | TQuestion.initColumn = function () { |
| | | return [ |
| | | {field: 'selectItem', checkbox: true}, |
| | | {field: 'selectItem', radio: true}, |
| | | {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '所在省市', field: 'provinceAndCity', visible: role==1?true:false, align: 'center', valign: 'middle'}, |
| | | {title: '门店名称', field: 'storeName', visible: true, align: 'center', valign: 'middle'}, |
| | |
| | | TQuestion.unfreeze = function () { |
| | | if (this.check()) { |
| | | var selected = $('#' + this.id).bootstrapTable('getSelections'); |
| | | |
| | | console.log("看看选择") |
| | | console.log(selected) |
| | | const data1 = { |
| | | ids:[], |
| | | ids:TQuestion.seItem.id, |
| | | payUserName:"" |
| | | }; |
| | | selected.forEach(function(obj) { |
| | | if (obj.payStatus == 2){ |
| | | if (TQuestion.seItem.payStatus == 2){ |
| | | Feng.error("订单已支付!不能再手动支付了") |
| | | return; |
| | | } |
| | | var id = ""; |
| | | id = obj.id; |
| | | console.log(obj.id); |
| | | data1.ids.push(id); |
| | | }); |
| | | console.log(data1) |
| | | $.ajax({ |
| | | url: Feng.ctxPath + "/cpPayment/pay", |