| | |
| | | } |
| | | showEditModel(selObj.data); |
| | | } else if (obj.event === 'del') { // 删除 |
| | | if (selObj == null) { |
| | | return; |
| | | } |
| | | doDel(selObj); |
| | | } |
| | | }); |
| | |
| | | insTb.reload(); |
| | | } else if (res.code === 403){ |
| | | top.location.href = baseUrl+"/"; |
| | | }else { |
| | | } else { |
| | | layer.msg(res.msg, {icon: 2}); |
| | | } |
| | | } |
| | |
| | | data: {param: JSON.stringify(obj.data)}, |
| | | method: 'POST', |
| | | success: function (res) { |
| | | selObj = null; |
| | | layer.close(loadIndex); |
| | | if (res.code === 200){ |
| | | layer.closeAll(); |
| | |
| | | {type: 'checkbox'} |
| | | // ,{field: 'uuid', align: 'center',title: '编号'} |
| | | ,{field: 'docType$', align: 'center',title: '类别', templet: '#docTypeTpl', width: 100} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', minWidth: 200} |
| | | ,{field: 'orderTime', align: 'center',title: '单据日期'} |
| | | ,{field: 'itemName', align: 'center',title: '项目'} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', minWidth: 250} |
| | | ,{field: 'orderTime', align: 'center',title: '单据日期', width: 120} |
| | | ,{field: 'itemName', align: 'center',title: '项目', hide: true} |
| | | ,{field: 'allotItemId$', align: 'center',title: '调拨项目编号', hide: true} |
| | | ,{field: 'defNumber', align: 'center',title: '初始票据号', hide: true} |
| | | ,{field: 'number', align: 'center',title: '票据号', hide: true} |
| | | ,{field: 'cstmrName', align: 'center',title: '客户'} |
| | | ,{field: 'tel', align: 'center',title: '联系方式', hide: true} |
| | | ,{field: 'operMemb', align: 'center',title: '操作人员'} |
| | | ,{field: 'operMemb', align: 'center',title: '操作人员', hide: true} |
| | | ,{field: 'totalFee', align: 'center',title: '合计金额', hide: true} |
| | | ,{field: 'discount', align: 'center',title: '优惠率', hide: true} |
| | | ,{field: 'discountFee', align: 'center',title: '优惠金额', hide: true} |