| | |
| | | // 渲染往来单位列表 |
| | | table.render({ |
| | | elem: '#tableNotice', |
| | | url: '../../basic/inout/list-notice—in', |
| | | url: '../../basic/inout/list-notice-in', |
| | | page: false, |
| | | even: true, |
| | | method: 'POST', |
| | | contentType: "application/json;charset=UTF-8", |
| | | cols: [[{ |
| | | field: 'name', |
| | | title: '通知单名称', |
| | | width: '15%' |
| | | }, { |
| | | field: 'customerName', |
| | | title: '送货单位' |
| | | title: '发货单位' |
| | | }, { |
| | | field: 'foodVarietyName', |
| | | title: '粮食品种', |
| | | width: '15%' |
| | | width: '12%' |
| | | }, { |
| | | field: 'year', |
| | | title: '年份', |
| | | width: '15%' |
| | | width: '10%' |
| | | }, { |
| | | field: 'unitName', |
| | | title: '收货单位' |
| | | field: 'depotName', |
| | | title: "所涉仓库" |
| | | }, { |
| | | field: 'contractName', |
| | | title: '所属合同' |
| | | }]], |
| | | where: param, |
| | | parseData: function (res) { |
| | |
| | | layer.open({ |
| | | type: 1, |
| | | title: "入库通知单", |
| | | area: ['700px', '600px'], |
| | | area: ['850px', '600px'], |
| | | shade: 0, |
| | | content: $('#listNotice'), |
| | | btn: 0, |
| | |
| | | // 渲染往来单位列表 |
| | | table.render({ |
| | | elem : '#tableFoodLoaction', |
| | | url : '../../basic/common/page-food-location', |
| | | url: '../../basic/common/page-dicArea', |
| | | page : false, |
| | | toolbar : '#toolbarFoodLocaton', |
| | | even : true, |
| | |
| | | function flushFoodLocation() { |
| | | var key = $("#key2").val(); |
| | | table.reload('tableFoodLoaction', { |
| | | url : "../../basic/common/page-food-location", |
| | | url: "../../basic/common/page-dicArea", |
| | | where : { |
| | | key : key |
| | | }, |