| | |
| | | param.remove("modi_time"); |
| | | } |
| | | } |
| | | return R.ok(locDetlService.getStockOut(toPage(curr, limit, param, LocDetl.class))); |
| | | return R.ok(locDetlService.getStockOut(toPage(curr, limit, param, LocDetl.class),"2")); |
| | | } |
| | | |
| | | @RequestMapping(value = "/locDetl/list/auth")// /locDetl/list/auth 接口问题 |
| | |
| | | } |
| | | } |
| | | |
| | | return R.ok(locDetlService.getStockOut(toPage(curr, limit, param, LocDetl.class))); |
| | | return R.ok(locDetlService.getStockOut(toPage(curr, limit, param, LocDetl.class),"1")); |
| | | } |
| | | |
| | | |
| | |
| | | return R.ok("客户转换成功"); |
| | | } |
| | | |
| | | @RequestMapping("/turn/over/out/payment/start") |
| | | @ManagerAuth(memo = "货物形态转换") |
| | | public R turnOverOutStartPayment(@RequestBody EmptyPlateOutParam param) { |
| | | workService.turnOverOutPayment(param, getUserId()); |
| | | return R.ok("货物形态已转为仓储"); |
| | | } |
| | | |
| | | @RequestMapping("/empty/plate/in/start") |
| | | @ManagerAuth(memo = "空板入库") |
| | | public R emptyPlateInStart(@RequestParam Integer sourceStaNo) { |
| | |
| | | private Integer owner; |
| | | |
| | | /** |
| | | * 是否付款 |
| | | * 货物形态:0:代采、1:仓储 |
| | | */ |
| | | @ApiModelProperty(value= "是否付款0:未付款、1:已付款 ") |
| | | @ApiModelProperty(value= "货物形态:0:代采、1:仓储") |
| | | private Integer payment; |
| | | |
| | | /** |
| | |
| | | if (null == this.payment){ return null; } |
| | | switch (this.payment){ |
| | | case 1: |
| | | return "已付款"; |
| | | return "仓储"; |
| | | case 0: |
| | | return "未付款"; |
| | | return "代采"; |
| | | default: |
| | | return String.valueOf(this.payment); |
| | | } |
| | |
| | | private Integer owner; |
| | | |
| | | /** |
| | | * 是否付款 |
| | | * 货物形态:0:代采、1:仓储 |
| | | */ |
| | | @ApiModelProperty(value= "是否付款0:未付款、1:已付款 ") |
| | | @ApiModelProperty(value= "货物形态:0:代采、1:仓储") |
| | | private Integer payment; |
| | | |
| | | /** |
| | |
| | | if (null == this.payment){ return null; } |
| | | switch (this.payment){ |
| | | case 1: |
| | | return "已付款"; |
| | | return "仓储"; |
| | | case 0: |
| | | return "未付款"; |
| | | return "代采"; |
| | | default: |
| | | return String.valueOf(this.payment); |
| | | } |
| | |
| | | private Integer owner; |
| | | |
| | | /** |
| | | * 是否付款 |
| | | * 货物形态:0:代采、1:仓储 |
| | | */ |
| | | @ApiModelProperty(value= "是否付款0:未付款、1:已付款 ") |
| | | @ApiModelProperty(value= "货物形态:0:代采、1:仓储") |
| | | private Integer payment; |
| | | |
| | | /** |
| | |
| | | if (null == this.payment){ return null; } |
| | | switch (this.payment){ |
| | | case 1: |
| | | return "已付款"; |
| | | return "仓储"; |
| | | case 0: |
| | | return "未付款"; |
| | | return "代采"; |
| | | default: |
| | | return String.valueOf(this.payment); |
| | | } |
| | |
| | | private Integer owner; |
| | | |
| | | /** |
| | | * 是否付款 |
| | | * 货物形态:0:代采、1:仓储 |
| | | */ |
| | | @ApiModelProperty(value= "是否付款0:未付款、1:已付款 ") |
| | | @ApiModelProperty(value= "货物形态:0:代采、1:仓储") |
| | | private Integer payment; |
| | | |
| | | /** |
| | |
| | | if (null == this.payment){ return null; } |
| | | switch (this.payment){ |
| | | case 1: |
| | | return "已付款"; |
| | | return "仓储"; |
| | | case 0: |
| | | return "未付款"; |
| | | return "代采"; |
| | | default: |
| | | return String.valueOf(this.payment); |
| | | } |
| | |
| | | private Integer owner; |
| | | |
| | | /** |
| | | * 是否付款 |
| | | * 货物形态:0:代采、1:仓储 |
| | | */ |
| | | @ApiModelProperty(value= "是否付款0:未付款、1:已付款 ") |
| | | @ApiModelProperty(value= "货物形态:0:代采、1:仓储") |
| | | private Integer payment; |
| | | |
| | | /** |
| | |
| | | if (null == this.payment){ return null; } |
| | | switch (this.payment){ |
| | | case 1: |
| | | return "已付款"; |
| | | return "仓储"; |
| | | case 0: |
| | | return "未付款"; |
| | | return "代采"; |
| | | default: |
| | | return String.valueOf(this.payment); |
| | | } |
| | |
| | | /** |
| | | * 拥有者 |
| | | */ |
| | | @ApiModelProperty(value= "拥有者 1: 杰克 ") |
| | | @ApiModelProperty(value= "货主 1: 项目客户 ") |
| | | private Integer owner; |
| | | |
| | | /** |
| | | * 是否付款 |
| | | * 货物形态:0:代采、1:仓储 |
| | | */ |
| | | @ApiModelProperty(value= "是否付款0:未付款、1:已付款 ") |
| | | @ApiModelProperty(value= "货物形态:0:代采、1:仓储") |
| | | private Integer payment; |
| | | |
| | | /** |
| | |
| | | if (null == this.payment){ return null; } |
| | | switch (this.payment){ |
| | | case 1: |
| | | return "已付款"; |
| | | return "仓储"; |
| | | case 0: |
| | | return "未付款"; |
| | | return "代采"; |
| | | default: |
| | | return String.valueOf(this.payment); |
| | | } |
| | |
| | | // 翻包 |
| | | private String memo; |
| | | |
| | | // 翻包 |
| | | private String manu; |
| | | |
| | | } |
| | | |
| | | public Integer getOutSite() { |
| | |
| | | |
| | | Integer getStockOutPageCount(Map<String, Object> map); |
| | | |
| | | List<LocDetl> getStockOutPage2(Map<String, Object> map); |
| | | |
| | | Integer getStockOutPageCount2(Map<String, Object> map); |
| | | |
| | | @Update("update asr_loc_detl set loc_no = #{newLocNo}, modi_time=getDate() where loc_no = #{oldLocNo}") |
| | | int updateLocNo(String newLocNo, String oldLocNo); |
| | | |
| | |
| | | |
| | | LocDetl selectItem(String locNo, String matnr, String batch); |
| | | |
| | | Page<LocDetl> getStockOut(Page<LocDetl> page); |
| | | Page<LocDetl> getStockOut(Page<LocDetl> page,String view); |
| | | |
| | | /** |
| | | * 修改库存明细数量,如果数量为0,则删除记录 |
| | |
| | | void turnOverOut(EmptyPlateOutParam param, Long userId); |
| | | |
| | | /** |
| | | * 移交作业 |
| | | */ |
| | | void turnOverOutPayment(EmptyPlateOutParam param, Long userId); |
| | | |
| | | /** |
| | | * 手动完成工作档 |
| | | */ |
| | | void completeWrkMast(String workNo, Long userId); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public Page<LocDetl> getStockOut(Page<LocDetl> page) { |
| | | page.setRecords(baseMapper.getStockOutPage(page.getCondition())); |
| | | page.setTotal(baseMapper.getStockOutPageCount(page.getCondition())); |
| | | public Page<LocDetl> getStockOut(Page<LocDetl> page,String view) { |
| | | if (view.equals("1")){ |
| | | page.setRecords(baseMapper.getStockOutPage2(page.getCondition())); |
| | | page.setTotal(baseMapper.getStockOutPageCount2(page.getCondition())); |
| | | }else if (view.equals("2")){ |
| | | page.setRecords(baseMapper.getStockOutPage(page.getCondition())); |
| | | page.setTotal(baseMapper.getStockOutPageCount(page.getCondition())); |
| | | }else { |
| | | page.setRecords(baseMapper.getStockOutPage(page.getCondition())); |
| | | page.setTotal(baseMapper.getStockOutPageCount(page.getCondition())); |
| | | } |
| | | return page; |
| | | } |
| | | |
| | |
| | | @Autowired |
| | | private WrkDetlLogService wrkDetlLogService; |
| | | @Autowired |
| | | private SnowflakeIdWorker snowflakeIdWorker; |
| | | private ManLocDetlService manLocDetlService; |
| | | @Autowired |
| | | private OrderService orderService; |
| | | @Autowired |
| | |
| | | throw new CoolException("请提取明细"); |
| | | } |
| | | ArrayList<String> locNos = new ArrayList<>(); |
| | | String[][] locNos2 =new String[param.getLocDetls().size()][2]; |
| | | int i=0; |
| | | for (EmptyPlateOutParam.LocDetl locDetl : param.getLocDetls()){ |
| | | if (!locNos.contains(locDetl.getLocNo())){ |
| | | locNos.add(locDetl.getLocNo()); |
| | | locNos2[i][0]=locDetl.getLocNo(); |
| | | locNos2[i][1]=locDetl.getManu(); |
| | | i++; |
| | | } |
| | | } |
| | | LocOwner locOwner = locOwnerService.selectById(param.getOwnerId()); |
| | |
| | | String lgort = ""; |
| | | String owner=""; |
| | | List<DetlDto> detlDtos = new ArrayList<>(); |
| | | for (String locNo : locNos) { |
| | | List<LocDetl> locDetls = locDetlService.selectList(new EntityWrapper<LocDetl>().eq("loc_no", locNo)); |
| | | for (LocDetl locDetl:locDetls){ |
| | | if (Cools.isEmpty(lgort)) { |
| | | lgort = locDetl.getOrigin(); |
| | | for (String[] locNo1 : locNos2) { |
| | | String locNo = locNo1[0]; |
| | | if (locNo1[1].equals("平库")){ |
| | | List<ManLocDetl> manLocDetls = manLocDetlService.selectList(new EntityWrapper<ManLocDetl>().eq("loc_no", locNo)); |
| | | for (ManLocDetl manLocDetl:manLocDetls){ |
| | | if (Cools.isEmpty(owner)) { |
| | | owner = manLocDetl.getOwner$(); |
| | | } |
| | | detlDtos.add(new DetlDto(manLocDetl.getMatnr(), manLocDetl.getBatch(), manLocDetl.getAnfme())); |
| | | manLocDetl.setOwner(param.getOwnerId()); |
| | | try{ |
| | | manLocDetlService.update(manLocDetl,new EntityWrapper<ManLocDetl>().eq("loc_no", locNo).eq("uuid",manLocDetl.getUuid())); |
| | | }catch (Exception e){ |
| | | throw new Exception("更新库存明细拥有者字段信息出错了"); |
| | | } |
| | | } |
| | | if (Cools.isEmpty(owner)) { |
| | | owner = locDetl.getOwner$(); |
| | | }else if (locNo1[1].equals("立库")){ |
| | | List<LocDetl> locDetls = locDetlService.selectList(new EntityWrapper<LocDetl>().eq("loc_no", locNo)); |
| | | for (LocDetl locDetl:locDetls){ |
| | | if (Cools.isEmpty(lgort)) { |
| | | lgort = locDetl.getOrigin(); |
| | | } |
| | | if (Cools.isEmpty(owner)) { |
| | | owner = locDetl.getOwner$(); |
| | | } |
| | | detlDtos.add(new DetlDto(locDetl.getMatnr(), locDetl.getBatch(), locDetl.getAnfme())); |
| | | locDetl.setOwner(param.getOwnerId()); |
| | | try{ |
| | | locDetlService.update(locDetl,new EntityWrapper<LocDetl>().eq("loc_no", locNo).eq("uuid",locDetl.getUuid())); |
| | | }catch (Exception e){ |
| | | throw new Exception("更新库存明细拥有者字段信息出错了"); |
| | | } |
| | | } |
| | | detlDtos.add(new DetlDto(locDetl.getMatnr(), locDetl.getBatch(), locDetl.getAnfme())); |
| | | locDetl.setOwner(param.getOwnerId()); |
| | | try{ |
| | | locDetlService.update(locDetl,new EntityWrapper<LocDetl>().eq("loc_no", locNo).eq("matnr",locDetl.getMatnr()).eq("batch",locDetl.getBatch()).eq("anfme",locDetl.getAnfme())); |
| | | }catch (Exception e){ |
| | | throw new Exception("更新库存明细拥有者字段信息出错了"); |
| | | } |
| | | } |
| | | LocMast locMast = locMastService.selectOne(new EntityWrapper<LocMast>().eq("loc_no", locNo)); |
| | | try { |
| | | locMastService.update(locMast,new EntityWrapper<LocMast>().eq("loc_no",locMast.getLocNo())); |
| | | }catch (Exception e){ |
| | | }else { |
| | | throw new Exception("更新库位拥有者字段信息出错了"); |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | @Transactional |
| | | public void turnOverOutPayment(EmptyPlateOutParam param, Long userId) { |
| | | try { |
| | | if (param.getLocDetls().size()<=0){ |
| | | throw new CoolException("请提取明细"); |
| | | } |
| | | ArrayList<String> locNos = new ArrayList<>(); |
| | | String[][] locNos2 =new String[param.getLocDetls().size()][2]; |
| | | int i=0; |
| | | for (EmptyPlateOutParam.LocDetl locDetl : param.getLocDetls()){ |
| | | if (!locNos.contains(locDetl.getLocNo())){ |
| | | locNos.add(locDetl.getLocNo()); |
| | | locNos2[i][0]=locDetl.getLocNo(); |
| | | locNos2[i][1]=locDetl.getManu(); |
| | | i++; |
| | | } |
| | | } |
| | | for (String[] locNo1 : locNos2) { |
| | | String locNo = locNo1[0]; |
| | | if (locNo1[1].equals("平库")){ |
| | | List<ManLocDetl> manLocDetls = manLocDetlService.selectList(new EntityWrapper<ManLocDetl>().eq("loc_no", locNo)); |
| | | for (ManLocDetl manLocDetl:manLocDetls){ |
| | | manLocDetl.setPayment(1); |
| | | try{ |
| | | manLocDetlService.update(manLocDetl,new EntityWrapper<ManLocDetl>().eq("loc_no", locNo).eq("uuid",manLocDetl.getUuid())); |
| | | }catch (Exception e){ |
| | | throw new Exception("更新库存明细货物形态字段信息出错了"); |
| | | } |
| | | } |
| | | }else if (locNo1[1].equals("立库")){ |
| | | List<LocDetl> locDetls = locDetlService.selectList(new EntityWrapper<LocDetl>().eq("loc_no", locNo)); |
| | | for (LocDetl locDetl:locDetls){ |
| | | locDetl.setPayment(1); |
| | | try{ |
| | | locDetlService.update(locDetl,new EntityWrapper<LocDetl>().eq("loc_no", locNo).eq("uuid",locDetl.getUuid())); |
| | | }catch (Exception e){ |
| | | throw new Exception("更新库存明细货物形态字段信息出错了"); |
| | | } |
| | | } |
| | | }else { |
| | | throw new Exception("更新库位货物形态字段信息出错了"); |
| | | } |
| | | } |
| | | }catch (Exception e){ |
| | | throw new CoolException("货物形态转换出错了:"+e); |
| | | } |
| | | } |
| | | |
| | | } |
| | |
| | | left join asr_loc_mast b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | <choose> |
| | | <when test="owner != null and owner != 0"> |
| | | and owner = #{owner} |
| | | </when> |
| | | <otherwise> |
| | | and 1!=1 |
| | | </otherwise> |
| | | </choose> |
| | | <choose> |
| | | <when test="payment != null and payment != 0"> |
| | | and payment = #{payment} |
| | | </when> |
| | | <otherwise> |
| | | and 1!=1 |
| | | </otherwise> |
| | | </choose> |
| | | <include refid="stockOutCondition"></include> |
| | | ) t where t.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize}) |
| | | </select> |
| | |
| | | left join asr_loc_mast b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | <include refid="stockOutCondition"></include> |
| | | </select> |
| | | |
| | | <select id="getStockOutPage2" resultMap="BaseResultMap"> |
| | | select * from |
| | | ( |
| | | select |
| | | ROW_NUMBER() over (order by a.appe_time,a.matnr,a.loc_no) as row, |
| | | a.* |
| | | from asr_loc_detl_merge a |
| | | left join asr_loc_mast_man_node_merge b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | <choose> |
| | | <when test="owner != null and owner != 0"> |
| | | and owner = #{owner} |
| | |
| | | and 1!=1 |
| | | </otherwise> |
| | | </choose> |
| | | <!-- <choose>--> |
| | | <!-- <when test="payment != null and payment != 0">--> |
| | | <!-- and payment = #{payment}--> |
| | | <!-- </when>--> |
| | | <!-- <otherwise>--> |
| | | <!-- and 1!=1--> |
| | | <!-- </otherwise>--> |
| | | <!-- </choose>--> |
| | | <include refid="stockOutCondition"></include> |
| | | ) t where t.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize}) |
| | | </select> |
| | | |
| | | <select id="getStockOutPageCount2" parameterType="java.util.Map" resultType="java.lang.Integer"> |
| | | select |
| | | count(1) |
| | | from asr_loc_detl_merge a |
| | | left join asr_loc_mast_man_node_merge b on a.loc_no = b.loc_no |
| | | where 1=1 |
| | | and b.loc_sts = 'F' |
| | | <choose> |
| | | <when test="payment != null and payment != 0"> |
| | | and payment = #{payment} |
| | | <when test="owner != null and owner != 0"> |
| | | and owner = #{owner} |
| | | </when> |
| | | <otherwise> |
| | | and 1!=1 |
| | | </otherwise> |
| | | </choose> |
| | | <!-- <choose>--> |
| | | <!-- <when test="payment != null and payment != 0">--> |
| | | <!-- and payment = #{payment}--> |
| | | <!-- </when>--> |
| | | <!-- <otherwise>--> |
| | | <!-- and 1!=1--> |
| | | <!-- </otherwise>--> |
| | | <!-- </choose>--> |
| | | <include refid="stockOutCondition"></include> |
| | | </select> |
| | | |
| | |
| | | ,{field: 'source$', align: 'center',title: '制购', hide: true} |
| | | ,{field: 'check$', align: 'center',title: '要求检验', hide: true} |
| | | ,{field: 'danger$', align: 'center',title: '危险品', hide: true} |
| | | ,{field: 'owner$', align: 'center',title: '客户名称', hide: false} |
| | | ,{field: 'owner$', align: 'center',title: '货主', hide: false} |
| | | ,{field: 'payment$', align: 'center',title: '货物形态', hide: false} |
| | | ] |
| | | |
| | |
| | | ,{field: 'source$', align: 'center',title: '制购', hide: true} |
| | | ,{field: 'check$', align: 'center',title: '要求检验', hide: true} |
| | | ,{field: 'danger$', align: 'center',title: '危险品', hide: true} |
| | | ,{field: 'owner$', align: 'center',title: '货主', hide: false} |
| | | ,{field: 'payment$', align: 'center',title: '货物形态', hide: false} |
| | | |
| | | ]; |
| | | |
| | |
| | | } else { |
| | | var staNo = $("#staNoSelect").val(); |
| | | if (staNo === "" || staNo === null){ |
| | | layer.msg("请选择目标客户", {icon: 2}); |
| | | layer.msg("请选择目标货主", {icon: 2}); |
| | | return; |
| | | } |
| | | let param = { |
| | |
| | | }); |
| | | } |
| | | break; |
| | | case 'outboundPayment': |
| | | if (locDetlData.length === 0){ |
| | | layer.msg('请先提取商品库存', {icon: 2}); |
| | | } else { |
| | | // var staNo = $("#staNoSelect").val(); |
| | | // if (staNo === "" || staNo === null){ |
| | | // layer.msg("请选择目标货主", {icon: 2}); |
| | | // return; |
| | | // } |
| | | let param = { |
| | | locDetls: locDetlData |
| | | } |
| | | $.ajax({ |
| | | url: baseUrl+"/turn/over/out/payment/start", |
| | | headers: {'token': localStorage.getItem('token')}, |
| | | data: JSON.stringify(param), |
| | | contentType:'application/json;charset=UTF-8', |
| | | method: 'POST', |
| | | success: function (res) { |
| | | if (res.code === 200){ |
| | | locDetlData = []; |
| | | tableIns.reload({data: locDetlData,done:function (res) {limit();getOutBound();}}); |
| | | layer.msg(res.msg, {icon: 1}); |
| | | } else if (res.code === 403){ |
| | | top.location.href = baseUrl+"/"; |
| | | } else { |
| | | layer.msg(res.msg, {icon: 2}) |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | break; |
| | | } |
| | | }); |
| | | |
| | |
| | | <div class="layui-form"> |
| | | <div class="layui-btn-container"> |
| | | <!-- 1.选择客户 --> |
| | | <span id="staNoSpan">客户名称:</span> |
| | | <span id="staNoSpan">货主:</span> |
| | | <select id="staNoSelect" lay-verify="required"> |
| | | <option value="">请选择目标客户</option> |
| | | <option value="">请选择目标货主</option> |
| | | </select> |
| | | <!-- 2.启动出库 --> |
| | | <button class="layui-btn layui-btn-lg" id="btn-outbound" lay-event="outbound">开始转换</button> |
New file |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="en"> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | | <title></title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
| | | <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all"> |
| | | <link rel="stylesheet" href="../../static/css/admin.css?v=318" media="all"> |
| | | <link rel="stylesheet" href="../../static/css/cool.css" media="all"> |
| | | <link rel="stylesheet" href="../../static/css/common.css" media="all"> |
| | | <style> |
| | | html { |
| | | height: 100%; |
| | | padding: 10px; |
| | | background-color: #f1f1f1; |
| | | box-sizing: border-box; |
| | | } |
| | | body { |
| | | background-color: #fff; |
| | | border-radius: 5px; |
| | | box-shadow: 0 0 3px rgba(0,0,0,.3); |
| | | padding-bottom: 20px; |
| | | } |
| | | |
| | | #staNoSpan { |
| | | text-align: center; |
| | | display: inline-block; |
| | | width: 100px; |
| | | font-size: 13px; |
| | | } |
| | | .layui-btn-container .layui-form-select { |
| | | display: inline-block; |
| | | width: 150px; |
| | | height: 30px; |
| | | } |
| | | .layui-btn-container .layui-form-select.layui-form-selected { |
| | | display: inline-block; |
| | | width: 150px; |
| | | } |
| | | .layui-btn-container .layui-select-title input { |
| | | font-size: 13px; |
| | | } |
| | | .layui-btn-container .layui-anim.layui-anim-upbit dd { |
| | | font-size: 13px; |
| | | } |
| | | |
| | | #btn-outbound { |
| | | margin-left: 60px; |
| | | /*display: none;*/ |
| | | } |
| | | |
| | | /*----------------------------------*/ |
| | | .function-area { |
| | | padding: 20px 50px; |
| | | } |
| | | .function-btn { |
| | | font-size: 16px; |
| | | padding: 1px 2px; |
| | | width: 100px; |
| | | height: 50px; |
| | | border-color: #2b425b; |
| | | border-radius: 4px; |
| | | border-width: 2px; |
| | | background: none; |
| | | border-style: solid; |
| | | transition: 0.4s; |
| | | cursor: pointer; |
| | | letter-spacing: 1.5px; |
| | | } |
| | | .function-btn:hover { |
| | | background-color: #2b425b; |
| | | color: #fff; |
| | | } |
| | | |
| | | #mat-query { |
| | | /*display: none;*/ |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | |
| | | <!-- 功能区 --> |
| | | <div class="function-area"> |
| | | <button id="mat-query" class="function-btn">提取库存</button> |
| | | </div> |
| | | |
| | | <hr> |
| | | |
| | | <!-- 表格 --> |
| | | <div style="padding-bottom: 5px; margin-bottom: 45px"> |
| | | |
| | | <!-- 头部 --> |
| | | <script type="text/html" id="toolbar"> |
| | | <div class="layui-form"> |
| | | <div class="layui-btn-container"> |
| | | <!-- <!– 1.选择客户 –>--> |
| | | <!-- <span id="staNoSpan">货主:</span>--> |
| | | <!-- <select id="staNoSelect" lay-verify="required">--> |
| | | <!-- <option value="">请选择目标货主</option>--> |
| | | <!-- </select>--> |
| | | <!-- 2.启动出库 --> |
| | | <button class="layui-btn layui-btn-lg" id="btn-outbound" lay-event="outboundPayment">转换货物形态为仓储</button> |
| | | </div> |
| | | </div> |
| | | </script> |
| | | |
| | | <!-- 行 --> |
| | | <script type="text/html" id="operate"> |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="remove">移除</a> |
| | | </script> |
| | | |
| | | <table class="layui-table" id="chooseData" lay-filter="chooseData"></table> |
| | | </div> |
| | | |
| | | <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> |
| | | <script type="text/javascript" src="../../static/layui/layui.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/handlebars/handlebars-v4.5.3.js"></script> |
| | | <script type="text/javascript" src="../../static/js/pakStore/turnOver.js" charset="utf-8"></script> |
| | | |
| | | <script type="text/template" id="takeSiteSelectTemplate"> |
| | | {{#each data}} |
| | | <option value="{{siteId}}">{{desc}}</option> |
| | | {{/each}} |
| | | </script> |
| | | </body> |
| | | </html> |
| | | |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="owner" placeholder="客户" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="owner" placeholder="货主" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 待添加 --> |