| | |
| | | {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: 'maktx', align: 'center',title: '物料名称'}, |
| | | {field: 'processSts$', title: '工序'}, |
| | | {field: 'reportQty', align: 'center',title: '上报数量'}, |
| | | {field: 'settle$', align: 'center', title: '状态', templet: '#settleTpl', minWidth: 140, width: 140}, |
| | | {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: '物料名称', width: 180}, |
| | | {field: 'processSts$', title: '工序', hide: true}, |
| | | {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: '单据日期', hide: true, width: 180}, |
| | | //{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) { |
| | |
| | | </div> |
| | | <div class="layui-card"> |
| | | <div class="layui-card-body"> |
| | | 入库通知单:由ERP提供单据编号、类型、单据时间及物料明细,生成入库作业单,为维护系统高可用,用户可自行添加入库通知单数据,完成独立的入库作业。 |
| | | <span class="text-danger">手动添加时,请检查单据编号是否在ERP系统中已存在,避免发生数据错误问题。</span> |
| | | <div class="text-danger">手动删除或完结时,是删除或完结明细对应的订单,而不是单条订单明细。</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <script type="text/javascript" src="../../static/js/echarts/echarts.min.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/orderView/orderView.js?v=8" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/orderView/orderView.js?v=11" charset="utf-8"></script> |
| | | |
| | | <script type="text/template" id="docTypeTpl"> |
| | | <option value="">选择类型</option> |