|  |  |  | 
|---|
|  |  |  | {field: 'defNumber', align: 'center', title: '操作系统号', hide: true, width: 100}, | 
|---|
|  |  |  | {field: '操作单据', align: 'center', title: '操作单据', hide: true}, | 
|---|
|  |  |  | {field: '操作类型', align: 'center', title: '操作类型', hide: true}, | 
|---|
|  |  |  | {field: 'orderNo', title: '单据编号', templet: '#orderNoTpl'}, | 
|---|
|  |  |  | {field: 'orderNo', title: '单据编号', templet: '#orderNoTpl', width: 200}, | 
|---|
|  |  |  | //{field: 'itemName', align: 'center', title: '核算主体'}, | 
|---|
|  |  |  | {field: 'docType$', align: 'center', title: '单据类型'}, | 
|---|
|  |  |  | {field: 'threeCode', align: 'center',title: '销售单号'}, | 
|---|
|  |  |  | {field: 'anfme', align: 'center',title: '数量'}, | 
|---|
|  |  |  | {field: 'qty', align: 'center',title: '作业数量'}, | 
|---|
|  |  |  | {field: 'matnr', align: 'center',title: '物料号'}, | 
|---|
|  |  |  | {field: 'docType$', align: 'center', title: '单据类型', width: 180}, | 
|---|
|  |  |  | {field: 'threeCode', align: 'center',title: '销售单号', width: 130}, | 
|---|
|  |  |  | {field: 'anfme', align: 'center',title: '数量', width: 90}, | 
|---|
|  |  |  | {field: 'qty', align: 'center',title: '作业数量', width: 90}, | 
|---|
|  |  |  | {field: 'matnr', align: 'center',title: '物料号', width: 140}, | 
|---|
|  |  |  | {field: 'maktx', align: 'center',title: '物料名称'}, | 
|---|
|  |  |  | {field: 'processSts$', title: '工序'}, | 
|---|
|  |  |  | {field: 'reportQty', align: 'center',title: '上报数量'}, | 
|---|
|  |  |  | {field: 'settle$', align: 'center', title: '状态', templet: '#settleTpl',  minWidth: 140, width: 140}, | 
|---|
|  |  |  | {field: 'processSts$', title: '工序', width: 140}, | 
|---|
|  |  |  | {field: 'reportQty', align: 'center',title: '上报数量', width: 90}, | 
|---|
|  |  |  | {field: 'settle$', align: 'center', title: '状态', templet: '#settleTpl',  minWidth: 130, width: 130}, | 
|---|
|  |  |  | //{field: 'defNumber', align: 'center', title: '业务类型'}, | 
|---|
|  |  |  | //{field: 'postFee', align: 'center', title: '总数量',  minWidth: 130, width: 130}, | 
|---|
|  |  |  | //{align: 'center', title: '明细', toolbar: '#tbLook', minWidth: 160, width: 160}, | 
|---|
|  |  |  | {field: 'orderTime', align: 'center',title: '单据日期'}, | 
|---|
|  |  |  | {field: 'orderTime', align: 'center',title: '单据日期', width: 190}, | 
|---|
|  |  |  | //{field: 'shipCode', align: 'center',title: '制单人'}, | 
|---|
|  |  |  | {field: 'createBy$', title: '创建人'}, | 
|---|
|  |  |  | {field: 'createTime$', title: '创建时间'}, | 
|---|
|  |  |  | {field: 'createBy$', title: '创建人', width: 120}, | 
|---|
|  |  |  | {field: 'createTime$', title: '创建时间', hide: true, width: 180}, | 
|---|
|  |  |  | {field: 'memo', align: 'center',title: '备注', hide: true}, | 
|---|
|  |  |  | {field: 'cstmrName', align: 'center',title: '供应商/客户编码', hide: true}, | 
|---|
|  |  |  | {field: 'tel', align: 'center',title: '仓库', hide: true}, | 
|---|
|  |  |  | {field: 'operMemb', align: 'center',title: '出入库类别', hide: true}, | 
|---|
|  |  |  | {field: 'salesman', align: 'center',title: '部门', hide: true}, | 
|---|
|  |  |  | {align: 'center', title: '操作', toolbar: '#operate', width: 160} | 
|---|
|  |  |  | {align: 'center', title: '操作', toolbar: '#operate', width: 190} | 
|---|
|  |  |  | ]], | 
|---|
|  |  |  | request: { | 
|---|
|  |  |  | pageName: 'curr', | 
|---|
|  |  |  | 
|---|
|  |  |  | if (layEvent === 'edit') { | 
|---|
|  |  |  | showEditModel2(data); | 
|---|
|  |  |  | } else if (layEvent === 'del') { | 
|---|
|  |  |  | layer.confirm('确定要删除吗?', { | 
|---|
|  |  |  | layer.confirm('确定要删除该明细对应的单据吗?', { | 
|---|
|  |  |  | shade: .1, | 
|---|
|  |  |  | skin: 'layui-layer-admin' | 
|---|
|  |  |  | }, function (i) { | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // 修改订单状态 | 
|---|
|  |  |  | function doModify(orderId, settle) { | 
|---|
|  |  |  | layer.confirm('确定要手动完结吗?', { | 
|---|
|  |  |  | layer.confirm('确定要手动完结该订单吗?', { | 
|---|
|  |  |  | shade: .1, | 
|---|
|  |  |  | skin: 'layui-layer-admin' | 
|---|
|  |  |  | }, function (i) { | 
|---|