| | |
| | | }, |
| | | { field: 'isShare', fixed: 'right', align: 'center', width: 100, templet: '#product-tpl-isShare', title: '共享' }, |
| | | { field: 'id', fixed: 'right', align: 'center', width: 100, toolbar: '#product-tpl-bar', title: '操作' } |
| | | ]] |
| | | ]], |
| | | done:function(res){ |
| | | permissionsInput(res,config); |
| | | } |
| | | }); |
| | | //待充值列表功能操作 |
| | | table.on('tool(product-table-temp)', function (obj) { |
| | |
| | | }; |
| | | listDetailData.push(detailData); |
| | | }) |
| | | |
| | | if (listDetailData.length > 0) { |
| | | //提交订单数据 |
| | | admin.req('api-opration/productorderdetail/saveall', JSON.stringify(listDetailData), function (data) { |
| | |
| | | if (data.code === 0) { |
| | | //现将临时数据清理 |
| | | admin.putTempData("t_tempProduct", ""); |
| | | layer.msg(data.msg, { icon: 1, time: 1000 }, function () { |
| | | layer.msg(data.msg, { icon: 1, time: 20000 }, function () { |
| | | admin.finishPopupCenter(); |
| | | }); |
| | | } |
| | |
| | | return false; |
| | | }); |
| | | }); |
| | | permissionsInput(); |
| | | </script> |