| | |
| | | function getCol() { |
| | | var cols = []; |
| | | cols.push( |
| | | {field: 'orderNo', align: 'center', title: '订单编号'} |
| | | , {field: 'col1', align: 'center', title: '订单名称'} |
| | | , {field: 'col2', align: 'center', title: '订单详情'} |
| | | , {field: 'col3', align: 'center', title: '订单客户'} |
| | | , {field: 'col4', align: 'center', title: '订单状态'} |
| | | {field: 'orderCode', align: 'center', title: '订单编号'} |
| | | , {field: 'orderDate', align: 'center', title: '订单日期'} |
| | | , {field: 'invCode', align: 'center', title: '物料编码'} |
| | | , {field: 'invName', align: 'center', title: '物料名称'} |
| | | , {field: 'invStd', align: 'center', title: '规格型号'} |
| | | , {field: 'invUnit', align: 'center', title: '单位'} |
| | | , {field: 'orderQty', align: 'center', title: '订单数量'} |
| | | , {field: 'izMrp', align: 'center', title: '是否mrp计算', hide: true} |
| | | , {field: 'productQty', align: 'center', title: '生产任务单数量'} |
| | | , {field: 'izReceive', align: 'center', title: '是否收料', hide: true} |
| | | , {field: 'inQty', align: 'center', title: '产成品入库数量'} |
| | | , {field: 'outQty', align: 'center', title: '发货数量'} |
| | | , {fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width: 80} |
| | | ); |
| | | return cols; |
| | |
| | | // url: baseUrl+'/matCode/list/auth', |
| | | data: [ |
| | | { |
| | | "orderNo": 20210315000001, |
| | | "col1": "西班牙xx 210315号", |
| | | "col2": "兰博基尼童车 5000台", |
| | | "col3": "西班牙xx儿童玩具公司", |
| | | "col4": "生产中", |
| | | "orderCode": 20210315000001, |
| | | "orderDate": "2021-03-26 13:40", |
| | | "invCode": "CPXXX00123", |
| | | "invName": "兰博基尼授权儿童车", |
| | | "invStd": "21×25", |
| | | "invUnit": "辆", |
| | | "orderQty": 300, |
| | | "izMrp": "否", |
| | | "productQty": 150, |
| | | "izReceive": "是", |
| | | "inQty": 50, |
| | | "outQty": 0, |
| | | } |
| | | ], |
| | | page: true, |