| | |
| | | map.put("addr", order.getNumber()); |
| | | map.put("allocate", order.getItemName()); |
| | | map.put("type", "order"); |
| | | map.put("memo",order.getMemo()); |
| | | result.add(map); |
| | | } |
| | | return R.ok(result); |
| | |
| | | now, // 添加时间 |
| | | 9527L, // 修改人员 |
| | | now, // 修改时间 |
| | | null // 备注 |
| | | param.getCMemo() // 备注 |
| | | ); |
| | | if (!orderService.insert(order)) { |
| | | throw new CoolException("生成单据主档失败,请联系管理员"); |
| | |
| | | option.allocate = list[i].allocate; |
| | | option.weight = list[i].weight; |
| | | option.type = list[i].type; |
| | | option.memo = list[i].memo; |
| | | selectDom.options[i+1] = option; |
| | | } |
| | | selectDom.style.display='block'; |
| | |
| | | } |
| | | if(selectOptionDom[0].type === "order" || selectOptionDom[0].type === "locOwner"){ |
| | | $('#allocate').val(selectOptionDom[0].allocate ? selectOptionDom[0].allocate : ""); |
| | | $('#memo').val(selectOptionDom[0].memo ? selectOptionDom[0].memo : ""); |
| | | $('#customer').val(selectOptionDom[0].customer ? selectOptionDom[0].customer : ""); |
| | | $('#phone').val(selectOptionDom[0].phone ? selectOptionDom[0].phone : ""); |
| | | $('#addr').val(selectOptionDom[0].addr ? selectOptionDom[0].addr : ""); |
| | |
| | | {field: 'settle$', align: 'center', title: '状态', templet: '#settleTpl', minWidth: 160, width: 160}, |
| | | {field: 'cstmrName', align: 'center',title: '客户名称'}, |
| | | {field: 'itemName', align: 'center',title: '调拨到'}, |
| | | {field: 'memo', align: 'center',title: '备注', hide: true}, |
| | | {field: 'memo', align: 'center',title: '备注'}, |
| | | {field: 'createBy$', align: 'center', title: '操作员', minWidth: 160, width: 160}, |
| | | {align: 'center', title: '操作', toolbar: '#operate', width: 260} |
| | | ]], |