| | |
| | | orderDetl.setStatus(1); |
| | | orderDetl.setQty(0.0D); |
| | | if (!orderDetlService.insert(orderDetl)) { |
| | | callApiLogSaveOrder(order,kingDeeUtilType, "生成单据明细失败,请联系管理员!订单号:"+order.getOrderNo(), false); |
| | | callApiLogSaveOrder(order,kingDeeUtilType, "生成单据明细失败,请联系管理员!合同号:"+order.getOrderNo(), false); |
| | | // throw new CoolException("生成单据明细失败,请联系管理员"); |
| | | } |
| | | } |
| | |
| | | ,{field: 'updateTime$', align: 'center',title: '修改时间', hide: true} |
| | | ,{field: 'memo', align: 'center',title: '备注', hide: true} |
| | | ,{field: 'proType', align: 'center',title: '属性', hide: false} |
| | | ,{field: 'temp1', align: 'center',title: '合同号', hide: false} |
| | | ,{field: 'temp1', align: 'center',title: '名称总称', hide: false} |
| | | ,{field: 'outOrderNo', align: 'center',title: '合同号', hide: false} |
| | | |
| | | |
| | | ] |
| | | |
| | | var detlCols = [ |
| | |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false} |
| | | ,{field: 'spgNO', align: 'center',title: '派工单号', hide:true,sort:true} |
| | | ,{field: 'batch', align: 'center',title: '批次', hide:true,sort:true} |
| | | ,{field: 'outOrderNo', align: 'center',title: '订单号', sort:true} |
| | | ,{field: 'outOrderNo', align: 'center',title: '合同号', sort:true} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: false} |
| | | ,{field: 'anfme', align: 'center',title: '数量', hide: false} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码', hide: false} |
| | |
| | | ,{field: 'check$', align: 'center',title: '要求检验', hide: true} |
| | | ,{field: 'danger$', align: 'center',title: '危险品', hide: true} |
| | | ,{field: 'proType', align: 'center',title: '属性', hide: false} |
| | | ,{field: 'temp1', align: 'center',title: '合同号', hide: false} |
| | | ,{field: 'temp1', align: 'center',title: '名称总称', hide: false} |
| | | ,{field: 'outOrderNo', align: 'center',title: '合同号', hide: false} |
| | | |
| | | ] |
| | | |
| | |
| | | ,{field: 'spgNO', align: 'center',title: '派工单号', hide:true,sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'batch', align: 'center',title: '批号', width: 200,hide:true, sort:true} |
| | | ,{field: 'outOrderNo', align: 'center',title: '订单号'} |
| | | ,{field: 'outOrderNo', align: 'center',title: '合同号'} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码'} |
| | | ,{field: 'specs', align: 'center',title: '规格'} |
| | |
| | | {field: 'specs', title:'产品规格', align: 'center'}, |
| | | {field: 'maktx', title:'产品名称', align: 'center'}, |
| | | {field: 'pgNo', title:'派工单号', align: 'center'}, |
| | | {field: 'outOrderNo', title:'订单号', align: 'center'}, |
| | | {field: 'outOrderNo', title:'合同号', align: 'center'}, |
| | | {field: 'batch', title:'批次', align: 'center'}, |
| | | {field: 'proType', title:'属性', align: 'center'}, |
| | | {field: 'color', title:'颜色', align: 'center'}, |
| | |
| | | ,{field: 'check$', align: 'center',title: '要求检验', hide: true} |
| | | ,{field: 'danger$', align: 'center',title: '危险品', hide: true} |
| | | ,{field: 'proType', align: 'center',title: '属性', hide: false} |
| | | ,{field: 'temp1', align: 'center',title: '合同号', hide: false} |
| | | ,{field: 'temp1', align: 'center',title: '名称总称', hide: false} |
| | | ,{field: 'outOrderNo', align: 'center',title: '合同号', hide: false} |
| | | |
| | | |
| | | ]; |
| | |
| | | {field: 'maktx', title: '商品名称', width: 150}, |
| | | {field: 'batch', title: '批号'}, |
| | | {field: 'proType', title: '属性'}, |
| | | {field: 'temp1', title: '合同号'}, |
| | | {field: 'outOrderNo', title: '合同号'}, |
| | | {field: 'temp1',title: '名称总称'}, |
| | | {field: 'anfme', title: '数量'}, |
| | | {field: 'workQty', title: '作业数量'}, |
| | | {field: 'qty', title: '完成数量', style: 'font-weight: bold'}, |
| | |
| | | {field: 'batch', title: '批号', edit: true}, |
| | | {field: 'proType', title: '属性', edit: true}, |
| | | {field: 'model', title: '代码', edit: true}, |
| | | {field: 'threeCode', title: '合同号', edit: true}, |
| | | {field: 'outOrderNo', title: '合同号', edit: true}, |
| | | |
| | | {field: 'threeCode', title: '第三方代码'}, |
| | | {field: 'specs', title: '规格'}, |
| | | {field: 'anfme', title: '数量(修改)', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110}, |
| | | {field: 'workQty', title: '作业数量', minWidth: 100, width: 100}, |
| | |
| | | ,{field: 'check$', align: 'center',title: '要求检验', hide: true} |
| | | ,{field: 'danger$', align: 'center',title: '危险品', hide: true} |
| | | ,{field: 'proType', align: 'center',title: '属性', hide: false} |
| | | ,{field: 'temp1', align: 'center',title: '合同号', hide: false} |
| | | ,{field: 'temp1', align: 'center',title: '名称总称', hide: false} |
| | | ,{field: 'outOrderNo', align: 'center',title: '合同号', hide: false} |
| | | |
| | | ]; |
| | | |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="out_order_no" placeholder="成品订单号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="out_order_no" placeholder="合同号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" style="width: 300px"> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="outOrderNo" placeholder="成品订单号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="outOrderNo" placeholder="合同号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="layui-inline">--> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="outOrderNo" placeholder="成品订单号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="outOrderNo" placeholder="合同号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="outOrderNo" placeholder="成品订单号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="outOrderNo" placeholder="合同号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 日期范围 --> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="outOrderNo" placeholder="成品订单号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="outOrderNo" placeholder="合同号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div id="data-search-btn" class="layui-btn-container layui-form-item"> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="outOrderNo" placeholder="成品订单号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="outOrderNo" placeholder="合同号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div id="data-search-btn" class="layui-btn-container layui-form-item"> |