| | |
| | | for (String orderNo : param){ |
| | | res = orderDetlService.selectList(new EntityWrapper<OrderDetl>().eq("order_no", orderNo)); |
| | | } |
| | | for (OrderDetl orderDetl: |
| | | res) { |
| | | orderDetl.setAnfme(orderDetl.getAnfme()-orderDetl.getWorkQty()); |
| | | } |
| | | return R.ok().add(res); |
| | | } |
| | | |
| | |
| | | System.out.println(JSON.toJSONString(param1)); |
| | | } |
| | | |
| | | |
| | | //平库pda上架 |
| | | @RequestMapping("/manDetl/in") |
| | | public R manDetlAdd(@RequestBody JSONObject json){ |
| | | if (json == null){ |
| | |
| | | return openService.manDetlIn(json); |
| | | } |
| | | |
| | | |
| | | //平库pda下架 |
| | | @RequestMapping("/manDetl/out") |
| | | public R manDetlDelete(@RequestBody JSONObject json){ |
| | | if (json == null){ |
| | |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', width: 200} |
| | | ,{field: 'batch', align: 'center',title: '序列码'} |
| | | ,{field: 'specs', align: 'center',title: '规格'} |
| | | // ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'anfme', align: 'center',title: '总数量', style: 'font-weight: bold'} |
| | | ,{field: 'workQty', align: 'center',title: '作业数量', style: 'font-weight: bold'} |
| | | ,{field: 'anfme', align: 'center',title: '完成数量'} |
| | | // ,{field: 'name', align: 'center',title: '名称'} |
| | | // ,{field: 'model', align: 'center',title: '型号'} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: true} |
| | |
| | | <thead></thead> |
| | | <tbody style="font-weight: bold"> |
| | | <tr style="height: 30px;"> |
| | | <td align="center" scope="col" colspan="1">商品</td> |
| | | <td align="lift" colspan="4" style="padding-left: 8px;overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.maktx}}</td> |
| | | <td align="center" scope="col" colspan="1">料号</td> |
| | | <td align="lift" colspan="4" style="padding-left: 8px;overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.matnr}}</td> |
| | | <td align="center" scope="col" colspan="3" rowspan="3"> |
| | | <img class="template-code template-qrcode" src="{{this.barcodeUrl}}" width="80%"> |
| | | </td> |
| | | </tr> |
| | | <tr style="height: 30px"> |
| | | <td align="center" scope="col" colspan="1">料号</td> |
| | | <td align="center" scope="col" colspan="1">商品</td> |
| | | <!-- overflow:hidden; 溢出隐藏 white-space:nowrap; text-overflow:ellipsis;--> |
| | | <!-- word-break : break-all; 超出自动换行--> |
| | | <td align="lift" colspan="4" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.matnr}}</td> |
| | | <td align="lift" colspan="4" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.maktx}}</td> |
| | | </tr> |
| | | <tr style="height: 30px"> |
| | | <td align="center" scope="col" colspan="1">日期</td> |
| | | <td align="lift" colspan="4" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.createTime$}}</td> |
| | | </tr> |
| | | <tr style="height: 30px"> |
| | | <td align="center" scope="col" colspan="1">牌号</td> |
| | | <td align="lift" colspan="3" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.brand}}</td> |
| | | <td align="center" scope="col" colspan="1">批号</td> |
| | | <td align="lift" colspan="3" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.batch}}</td> |
| | | <td align="center" scope="col" colspan="1">规格</td> |
| | | <td align="lift" colspan="3" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.specs}}</td> |
| | | </tr> |
| | | <tr style="height: 30px"> |
| | | <td align="center" scope="col" colspan="1">数量</td> |
| | | <td align="lift" colspan="3" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.anfme}}</td> |
| | | <td align="center" scope="col" colspan="1">状态</td> |
| | | <td align="lift" colspan="3" style="padding-left: 8px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.status$}}</td> |
| | | </tr> |
| | | |
| | | |