| | |
| | | |
| | | // 打印 |
| | | @RequestMapping(value = "/mat/print/auth") |
| | | @ManagerAuth(memo = "商品编码打印") |
| | | @ManagerAuth(memo = "物料号打印") |
| | | public R matCodePrint(@RequestParam(value = "param[]") String[] param) { |
| | | if(Cools.isEmpty(param)) { |
| | | return R.parse(CodeRes.EMPTY); |
| | |
| | | Row row = sheet.getRow(i); |
| | | // 订单编号 |
| | | String uuid = dataFormatter.formatCellValue(row.getCell(0)); |
| | | // 商品名称 |
| | | // 品号 |
| | | String maktx = dataFormatter.formatCellValue(row.getCell(1)); |
| | | // 商品编码 |
| | | // 物料号 |
| | | String matnr = dataFormatter.formatCellValue(row.getCell(2)); |
| | | // 商品编码 |
| | | // 物料号 |
| | | String batch = dataFormatter.formatCellValue(row.getCell(3)); |
| | | // 数量 |
| | | Double anfme = Double.parseDouble(dataFormatter.formatCellValue(row.getCell(4))); |
| | |
| | | |
| | | Mat mat = matService.selectByMatnr(matnr); |
| | | if (null == mat) { |
| | | throw new CoolException(matnr + "商品编码的商品不存在,请重新导入!"); |
| | | throw new CoolException(matnr + "物料号的商品不存在,请重新导入!"); |
| | | } |
| | | |
| | | Order order = orderService.selectByNo(uuid); |
| | |
| | | } |
| | | wrapper.eq("status", 1); |
| | | Page<OrderDetl> orderDetlPage = orderDetlService.selectPage(new Page<>(curr, limit), wrapper); |
| | | // 根据商品编号和批号,分别在立库和平库库存表中查询其存量,并存入两个临时属性中 |
| | | // 根据物料号和批号,分别在立库和平库库存表中查询其存量,并存入两个临时属性中 |
| | | orderDetlPage.getRecords().forEach(orderDetl -> { |
| | | Map<String, Long> map = orderDetlService.selectCountByMatnr(orderDetl.getMatnr(), orderDetl.getBatch()); |
| | | orderDetl.setSupp(String.valueOf(map.get("asrCount"))); |
| | |
| | | private String locNo; |
| | | |
| | | /** |
| | | * 商品编号 |
| | | * 物料号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | /** |
| | |
| | | private String docName; |
| | | |
| | | /** |
| | | * 商品编号 |
| | | * 物料号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | /** |
| | |
| | | // null, // 单据编号 |
| | | // null, // 单据类型 |
| | | // null, // 单据名称 |
| | | // null, // 商品编号 |
| | | // null, // 物料号 |
| | | // null, // 上报数量 |
| | | // null, // 结果 |
| | | // null, // 上报时间 |
| | |
| | | @ExcelProperty("数量") |
| | | private Double anfme; |
| | | |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ExcelProperty("商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | @ExcelProperty("物料号") |
| | | private String matnr; |
| | | |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ExcelProperty("商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | @ExcelProperty("品号") |
| | | private String maktx; |
| | | |
| | | @ApiModelProperty(value= "批号") |
| | |
| | | private Double anfme; |
| | | |
| | | /** |
| | | * 商品编号 |
| | | * 物料号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | @TableId(value = "matnr", type = IdType.INPUT) |
| | | @ExcelProperty(value = "商品编号") |
| | | @ExcelProperty(value = "物料号") |
| | | private String matnr; |
| | | |
| | | /** |
| | | * 商品名称 |
| | | * 品号 |
| | | */ |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ExcelProperty(value = "商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | @ExcelProperty(value = "品号") |
| | | private String maktx; |
| | | |
| | | /** |
| | |
| | | // null, // 所属货位 |
| | | // null, // 托盘码 |
| | | // null, // 库存余量[非空] |
| | | // null, // 商品编号[非空] |
| | | // null, // 商品名称 |
| | | // null, // 物料号[非空] |
| | | // null, // 品号 |
| | | // null, // 名称 |
| | | // null, // 规格 |
| | | // null, // 型号 |
| | |
| | | private String locNo; |
| | | |
| | | /** |
| | | * 商品编码 |
| | | * 物料号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编码") |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | /** |
| | | * 商品名称 |
| | | * 品号 |
| | | */ |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | private String maktx; |
| | | |
| | | /** |
| | |
| | | private Long tagId; |
| | | |
| | | /** |
| | | * 商品编号 |
| | | * 物料号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ExcelProperty(value = "商品编码") |
| | | @ApiModelProperty(value= "物料号") |
| | | @ExcelProperty(value = "物料号") |
| | | private String matnr; |
| | | |
| | | |
| | | /** |
| | | * 商品名称 |
| | | * 品号 |
| | | */ |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ExcelProperty(value = "商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | @ExcelProperty(value = "品号") |
| | | private String maktx; |
| | | |
| | | /** |
| | |
| | | // Mat mat = new Mat( |
| | | // null, // 编号 |
| | | // null, // 所属归类 |
| | | // null, // 商品编号 |
| | | // null, // 商品名称 |
| | | // null, // 物料号 |
| | | // null, // 品号 |
| | | // null, // 别名 |
| | | // null, // 规格 |
| | | // null, // 型号 |
| | |
| | | public class MatCodePrint { |
| | | |
| | | /** |
| | | * 商品编号 |
| | | * 物料号 |
| | | */ |
| | | private String matNo; |
| | | |
| | |
| | | private String barcode; |
| | | |
| | | /** |
| | | * 商品名称 |
| | | * 品号 |
| | | */ |
| | | private String matName; |
| | | |
| | |
| | | private String tagId; |
| | | |
| | | @ApiModelProperty(value= "") |
| | | @ExcelProperty(value = "商品编码") |
| | | @ExcelProperty(value = "物料号") |
| | | private String matnr; |
| | | |
| | | @ApiModelProperty(value= "") |
| | | @ExcelProperty(value = "商品名称") |
| | | @ExcelProperty(value = "品号") |
| | | private String maktx; |
| | | |
| | | @ApiModelProperty(value= "") |
| | |
| | | private Double qty; |
| | | |
| | | /** |
| | | * 商品编码 |
| | | * 物料号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编码") |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | /** |
| | | * 商品名称 |
| | | * 品号 |
| | | */ |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | private String maktx; |
| | | |
| | | /** |
| | |
| | | private String barcode; |
| | | |
| | | /** |
| | | * 商品编号 |
| | | * 物料号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | /** |
| | |
| | | |
| | | // Pack pack = new Pack( |
| | | // null, // 条码[非空] |
| | | // null, // 商品编号 |
| | | // null, // 物料号 |
| | | // null, // 序列码 |
| | | // null, // 订单状态 |
| | | // null, // 状态 |
| | |
| | | @ApiModelProperty(value= "数量") |
| | | private Double anfme; |
| | | |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | private String maktx; |
| | | |
| | | @ApiModelProperty(value= "批号") |
| | |
| | | @ApiModelProperty(value= "数量") |
| | | private Double anfme; |
| | | |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | private String maktx; |
| | | |
| | | @ApiModelProperty(value= "批号") |
| | |
| | | private String locNo; |
| | | |
| | | @TableId("matnr") |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | private String maktx; |
| | | |
| | | @TableId("batch") |
| | |
| | | @TableField("loc_no") |
| | | private String locNo; |
| | | |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | private String maktx; |
| | | |
| | | @ApiModelProperty(value= "批号") |
| | |
| | | /** |
| | | * 物料 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | /** |
| | | * 物料描述 |
| | | */ |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | private String maktx; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 物料 |
| | | */ |
| | | @ApiModelProperty(value= "商品编号") |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | /** |
| | | * 物料描述 |
| | | */ |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | private String maktx; |
| | | |
| | | /** |
| | |
| | | @Data |
| | | public static class LocDetlAdjust { |
| | | |
| | | // 商品编号 |
| | | // 物料号 |
| | | private String matnr; |
| | | |
| | | // 序列码 |
| | |
| | | @Data |
| | | public static class MatParam{ |
| | | /** |
| | | * 商品编号 |
| | | * 物料号 |
| | | */ |
| | | private String matnr; |
| | | |
| | | /** |
| | | * 商品名称 |
| | | * 品号 |
| | | */ |
| | | private String maktx; |
| | | |
| | |
| | | // 库位号 |
| | | private String locNo; |
| | | |
| | | // 商品编号 |
| | | // 物料号 |
| | | private String matnr; |
| | | |
| | | // 序列码 |
| | |
| | | private String locNo; |
| | | |
| | | /** |
| | | * 商品编码 |
| | | * 物料号 |
| | | */ |
| | | @ApiModelProperty(value= "商品编码") |
| | | @ExcelProperty(value = "商品编码") |
| | | @ApiModelProperty(value= "物料号") |
| | | @ExcelProperty(value = "物料号") |
| | | private String matnr; |
| | | |
| | | /** |
| | | * 商品名称 |
| | | * 品号 |
| | | */ |
| | | @ApiModelProperty(value= "商品名称") |
| | | @ExcelProperty(value = "商品名称") |
| | | @ApiModelProperty(value= "品号") |
| | | @ExcelProperty(value = "品号") |
| | | private String maktx; |
| | | |
| | | /** |
| | |
| | | // null, // 入库数量 |
| | | // null, // 关联货位[非空] |
| | | // null, // 货位[非空] |
| | | // null, // 商品编码[非空] |
| | | // null, // 商品名称 |
| | | // null, // 物料号[非空] |
| | | // null, // 品号 |
| | | // null, // 名称 |
| | | // null, // 规格 |
| | | // null, // 型号 |
| | |
| | | int increaseAnfme(@Param("orderId")Long orderId, @Param("matnr")String matnr, @Param("batch")String batch, @Param("qty")Double qty); |
| | | |
| | | /** |
| | | * 根据商品编码和批号分别查询在平库该物料库存 |
| | | * @param matnr 商品编号 |
| | | * 根据物料号和批号分别查询在平库该物料库存 |
| | | * @param matnr 物料号 |
| | | * @param batch 批号 |
| | | * @return 库存数量 |
| | | */ |
| | | Long selectCountToAsrByMatnr(@Param("matnr") String matnr,@Param("batch") String batch); |
| | | |
| | | /** |
| | | * 根据商品编码和批号分别查询在立库该物料库存 |
| | | * @param matnr 商品编号 |
| | | * 根据物料号和批号分别查询在立库该物料库存 |
| | | * @param matnr 物料号 |
| | | * @param batch 批号 |
| | | * @return 库存数量 |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 获取当天相同规格货物的深库位号 |
| | | * @param matnr 商品编号 |
| | | * @param matnr 物料号 |
| | | * @return locNo 库位号 |
| | | */ |
| | | List<String> getSameDetlToday(String matnr, Integer start, Integer end); |
| | |
| | | |
| | | /** |
| | | * 获取当天相同规格货物的深库位号 |
| | | * @param matnr 商品编号 |
| | | * @param matnr 物料号 |
| | | * @return locNo 库位号 |
| | | */ |
| | | List<String> getSameDetlToday(String matnr, Integer start, Integer end); |
| | |
| | | boolean increaseAnfme(Long orderId, String matnr, String batch, Double qty); |
| | | |
| | | /** |
| | | * 根据商品编码和批号分别查询在平库和立库该物料库存 |
| | | * @param matnr 商品编码 |
| | | * 根据物料号和批号分别查询在平库和立库该物料库存 |
| | | * @param matnr 物料号 |
| | | * @param batch 批号 |
| | | * @return 返回两个键值对,asrCount在立库库存,manCount在平库库存 |
| | | */ |
| | |
| | | Date now = new Date(); |
| | | pack = new Pack( |
| | | param.getBarcode(), // 条码[非空] |
| | | analyse.getMatnr(), // 商品编号 |
| | | analyse.getMatnr(), // 物料号 |
| | | analyse.getBarcode(), // 序列码 |
| | | 1L, // 订单状态 |
| | | 1, // 状态 |
| | |
| | | if (!matService.insert(mat)) { |
| | | throw new CoolException("服务器内部错误,请联系管理员"); |
| | | } else { |
| | | log.info("打包上线添加新物料[商品编号:{}]", mat.getMatnr()); |
| | | log.info("打包上线添加新物料[物料号:{}]", mat.getMatnr()); |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | for (MatSyncParam.MatParam matParam : param.getMatDetails()) { |
| | | if (Cools.isEmpty(matParam.getMatnr())) { |
| | | throw new CoolException("商品编码不能为空"); |
| | | throw new CoolException("物料号不能为空"); |
| | | } |
| | | |
| | | Date now = new Date(); |
| | |
| | | if (!matService.insert(mat)) { |
| | | throw new CoolException("服务器内部错误,请联系管理员"); |
| | | } else { |
| | | log.info("同步新物料[商品编号:{}]", mat.getMatnr()); |
| | | log.info("同步新物料[物料号:{}]", mat.getMatnr()); |
| | | } |
| | | } else { |
| | | // mat.sync(param); |
| | |
| | | mat = excel; |
| | | mat.setTagId(tagId); |
| | | if (!matService.insert(mat)) { |
| | | throw new CoolException("保存商品信息失败,商品编码:" + excel.getMatnr()); |
| | | throw new CoolException("保存商品信息失败,物料号:" + excel.getMatnr()); |
| | | } |
| | | total++; |
| | | } |
| | |
| | | matV2.setUuid(uuid); |
| | | matV2.setTagId(tagId); |
| | | if (!matV2Service.insert(matV2)) { |
| | | throw new CoolException("保存商品信息失败,商品编码:" + excel.getMatnr()); |
| | | throw new CoolException("保存商品信息失败,物料号:" + excel.getMatnr()); |
| | | } |
| | | total++; |
| | | } else { |
| | |
| | | matV2.setUuid(uuid); |
| | | matV2.setTagId(tagId); |
| | | if (!matV2Service.update(matV2,new EntityWrapper<MatV2>().eq("matnr",matV2.getMatnr()))) { |
| | | throw new CoolException("保存商品信息失败,商品编码:" + excel.getMatnr()); |
| | | throw new CoolException("保存商品信息失败,物料号:" + excel.getMatnr()); |
| | | } |
| | | total++; |
| | | } |
| | |
| | | * @param whsType 类型 1:双深式货架 |
| | | * @param staDescId 路径工作类型 |
| | | * @param sourceStaNo 源站 |
| | | * @param matNos 商品编号集合 |
| | | * @param matNos 物料号集合 |
| | | * @return locNo 检索到的库位号 |
| | | */ |
| | | @Transactional |
| | |
| | | * @param whsType 类型 1:双深式货架 |
| | | * @param staDescId 路径工作类型 |
| | | * @param sourceStaNo 源站 |
| | | * @param matnr 商品编号集合 |
| | | * @param matnr 物料号集合 |
| | | * @return locNo 检索到的库位号 |
| | | */ |
| | | @Transactional |
| | |
| | | |
| | | |
| | | @RequestMapping(value = "/barcode/qrcode/auth") |
| | | // @ManagerAuth(memo = "商品编号条形码获取(type:1(条形码);2(二维码)") |
| | | // @ManagerAuth(memo = "物料号条形码获取(type:1(条形码);2(二维码)") |
| | | public R matCodeBarcode(@RequestParam(defaultValue = "1") Integer type |
| | | , @RequestParam String param |
| | | , @RequestParam(required = false) Integer width |
| | |
| | | datasource: |
| | | driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | # url: jdbc:sqlserver://192.168.4.15:1433;databasename=phpsasrs |
| | | # url: jdbc:sqlserver://127.0.0.1:1433;databasename=flsbasrs |
| | | url: jdbc:sqlserver://10.10.10.200:1433;databasename=flsbasrs |
| | | url: jdbc:sqlserver://127.0.0.1:1433;databasename=flsbasrs |
| | | # url: jdbc:sqlserver://10.10.10.200:1433;databasename=flsbasrs |
| | | |
| | | username: sa |
| | | password: sa@123 |
| | |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"05f6":function(t,n,e){"use strict";e.r(n);var i=e("1fec"),a=e("fac2");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("098b");var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"58e7869c",null,!1,i["a"],void 0);n["default"]=r.exports},"098b":function(t,n,e){"use strict";var i=e("45d8"),a=e.n(i);a.a},"1fec":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));var i={uniTransition:e("9b17").default},a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.showPopup?e("v-uni-view",{staticClass:"uni-popup",class:[t.popupstyle,t.isDesktop?"fixforpc-z-index":""],on:{touchmove:function(n){n.stopPropagation(),n.preventDefault(),arguments[0]=n=t.$handleEvent(n),t.clear.apply(void 0,arguments)}}},[e("v-uni-view",{on:{touchstart:function(n){arguments[0]=n=t.$handleEvent(n),t.touchstart.apply(void 0,arguments)}}},[t.maskShow?e("uni-transition",{key:"1",attrs:{name:"mask","mode-class":"fade",styles:t.maskClass,duration:t.duration,show:t.showTrans},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onTap.apply(void 0,arguments)}}}):t._e(),e("uni-transition",{key:"2",attrs:{"mode-class":t.ani,name:"content",styles:t.transClass,duration:t.duration,show:t.showTrans},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onTap.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"uni-popup__wrapper",class:[t.popupstyle],style:{backgroundColor:t.bg},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.clear.apply(void 0,arguments)}}},[t._t("default")],2)],1)],1),t.maskShow?e("keypress",{on:{esc:function(n){arguments[0]=n=t.$handleEvent(n),t.onTap.apply(void 0,arguments)}}}):t._e()],1):t._e()},o=[]},"309e":function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={data:function(){return{}},created:function(){this.popup=this.getParent()},methods:{getParent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniPopup",n=this.$parent,e=n.$options.name;while(e!==t){if(n=n.$parent,!n)return!1;e=n.$options.name}return n}}};n.default=i},"3e54":function(t,n,e){"use strict";e.r(n);var i=e("8b3f"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},"3f77":function(t,n,e){var i=e("9b37");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("e26222a6",i,!0,{sourceMap:!1,shadowMode:!1})},"45d8":function(t,n,e){var i=e("5652");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("6f84f74c",i,!0,{sourceMap:!1,shadowMode:!1})},5652:function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-popup[data-v-58e7869c]{position:fixed;z-index:99}.uni-popup.top[data-v-58e7869c], .uni-popup.left[data-v-58e7869c], .uni-popup.right[data-v-58e7869c]{top:var(--window-top)}.uni-popup .uni-popup__wrapper[data-v-58e7869c]{display:block;position:relative\r\n /* iphonex 等安全区设置,底部安全区适配 */}.uni-popup .uni-popup__wrapper.left[data-v-58e7869c], .uni-popup .uni-popup__wrapper.right[data-v-58e7869c]{padding-top:var(--window-top);flex:1}.fixforpc-z-index[data-v-58e7869c]{z-index:999}.fixforpc-top[data-v-58e7869c]{top:0}',""]),t.exports=n},5691:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));var i={qiunDataCharts:e("1f58").default,uniPopup:e("05f6").default,uniPopupDialog:e("c6dc").default},a=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("v-uni-view",{staticClass:"container"},[i("v-uni-view",{staticClass:"floor-screen",class:t.floorMove},[i("v-uni-view",{staticClass:"head"},[i("v-uni-text",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.port()}}},[t._v("自动仓库WCS监控平台")]),i("v-uni-view",{staticClass:"time-tools"},[t._v(t._s(t.year)+"-"+t._s(t.month)+"-"+t._s(t.day)+" "+t._s(t.hours)+":"+t._s(t.minutes)+":"+t._s(t.seconds)+" "+t._s(t.week))]),i("v-uni-view",{staticClass:"button-left",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"button-right",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ledId()}}})],1),i("v-uni-view",{staticClass:"main"},[i("v-uni-view",{staticClass:"main-sides",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"box",staticStyle:{height:"90%"}},[i("v-uni-view",{staticClass:"box-border box-border1"}),i("v-uni-view",{staticClass:"box-border box-border2"}),i("v-uni-view",{staticClass:"box-border box-border3"}),i("v-uni-view",{staticClass:"box-border box-border4"}),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!t.errorShow,expression:"!errorShow"}],staticStyle:{width:"100%",height:"100%"}},[i("v-uni-view",{class:t.width},[i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.title))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.staNo))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.maknx))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.specs))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.count))])],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.orderShow,expression:"orderShow"}],staticStyle:{width:"50%",height:"100%",display:"inline-block",float:"left"}},[i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.orderNo))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.doneOfTray))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.totalOfTray))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.doneOfUnit))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.totalOfUnit))])],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.errorShow,expression:"errorShow"}],staticStyle:{width:"100%",height:"100%"}},[i("v-uni-view",{staticStyle:{"line-height":"700px","font-size":"175rpx"}},[t._v(t._s(t.errorMsg))])],1)],1)],1)],1)],1),i("v-uni-view",{staticClass:"top-screen",class:t.topMove},[i("v-uni-view",{staticClass:"head"},[i("v-uni-text",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.port()}}},[t._v("自动仓库WCS监控平台")]),i("v-uni-view",{staticClass:"time-tools"},[t._v(t._s(t.year)+"-"+t._s(t.month)+"-"+t._s(t.day)+" "+t._s(t.hours)+":"+t._s(t.minutes)+":"+t._s(t.seconds)+" "+t._s(t.week))]),i("v-uni-view",{staticClass:"button-left",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"button-right",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ledId()}}})],1),i("v-uni-view",{staticClass:"main"},[i("v-uni-view",{staticClass:"main-sides"},[i("v-uni-view",{staticClass:"box box-lg"},[i("v-uni-view",{staticClass:"box-border box-border1"}),i("v-uni-view",{staticClass:"box-border box-border2"}),i("v-uni-view",{staticClass:"box-border box-border3"}),i("v-uni-view",{staticClass:"box-border box-border4"}),i("v-uni-view",{staticClass:"box-item introduce"},[i("h3",[t._v("自动化立体仓库")]),i("p",{staticClass:"english"},[t._v("Automatic Storageand Retrieval System")]),i("p",{staticClass:"introduce-content"},[t._v("利用立体仓库设备可实现仓库高层合理化、存取自动化、操作简便化;自动化立体仓库是当前技术水平较高的形式。\n\t\t\t\t\t\t自动化立体仓库的主体由货架、巷道式堆垛起重机、入(出)库工作台和自动运进(出)及操作控制系统组成。\n\t\t\t\t\t\t货架是钢结构或钢筋混凝土结构的建筑物或结构体,货架内是标准尺寸的货位空间,巷道堆垛起重机穿行于货架之间的巷道中,完成存、取货的工作。管理上采用计算机及条形码技术。")])]),i("v-uni-view",{staticClass:"box-item charge-info"},[i("h3",[t._v("仓库数据")]),i("p",{staticClass:"english"},[t._v("warehouse data")]),i("v-uni-view",{staticClass:"charge-info-item"},[i("v-uni-image",{attrs:{src:e("7be7"),mode:"aspectFit"}}),i("v-uni-view",[i("v-uni-text",{staticClass:"count"},[t._v(t._s(t.xDistance))]),i("v-uni-text",{staticClass:"unit"},[t._v("m")])],1),i("v-uni-view",[t._v("累计走行距离(米)")])],1),i("v-uni-view",{staticClass:"charge-info-item"},[i("v-uni-image",{attrs:{src:e("feb8"),mode:"aspectFit"}}),i("v-uni-view",[i("v-uni-text",{staticClass:"count"},[t._v(t._s(t.yDistance))]),i("v-uni-text",{staticClass:"unit"},[t._v("m")])],1),i("v-uni-view",[t._v("累计升降距离(米)")])],1),i("v-uni-view",{staticClass:"charge-info-item"},[i("v-uni-image",{attrs:{src:e("00ce"),mode:"aspectFit"}}),i("v-uni-view",[i("v-uni-text",{staticClass:"count"},[t._v(t._s(t.xDuration))]),i("v-uni-text",{staticClass:"unit"},[t._v("m")])],1),i("v-uni-view",[t._v("累计走行时长(秒)")])],1),i("v-uni-view",{staticClass:"charge-info-item"},[i("v-uni-image",{attrs:{src:e("05a1"),mode:"aspectFit"}}),i("v-uni-view",[i("v-uni-text",{staticClass:"count"},[t._v(t._s(t.yDuration))]),i("v-uni-text",{staticClass:"unit"},[t._v("m")])],1),i("v-uni-view",[t._v("累计升降时长(秒)")])],1)],1),i("v-uni-view",{staticClass:"box-item use-info"},[i("v-uni-view",{staticClass:"use-left"},[i("h3",[t._v("库位使用率")]),i("p",{staticClass:"english"},[t._v("EQUIPMENT USAGE THIS MONTH")])]),i("v-uni-view",{staticClass:"use-right"},[i("h3",[t._v(t._s(t.usedPr)+"%")]),i("p",{staticClass:"english"},[t._v("同比上月 + 5%")])]),i("v-uni-view",{staticClass:"use-main"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"progressBar"},[i("v-uni-view",{staticClass:"progress",style:"width:"+t.usedPr+"%"})],1)],1),i("v-uni-view",{staticClass:"right"},[t._v(t._s(t.used))])],1)],1)],1)],1),i("v-uni-view",{staticClass:"main-sides"},[i("v-uni-view",{staticClass:"box box-tp"},[i("v-uni-view",{staticClass:"box-border box-border1"}),i("v-uni-view",{staticClass:"box-border box-border2"}),i("v-uni-view",{staticClass:"box-border box-border3"}),i("v-uni-view",{staticClass:"box-border box-border4"}),i("v-uni-view",{staticClass:"box-item right-item"},[i("v-uni-view",{staticClass:"sub-left"},[i("h3",[t._v("入出库统计")]),i("p",{staticClass:"english"},[t._v("ORDER STATISTICS")])]),i("v-uni-view",{staticClass:"sub-right"},[i("h3",[t._v("31")]),i("p",{staticClass:"english"},[t._v("今日订单数")])]),i("v-uni-view",{staticClass:"sub-main"},[i("v-uni-view",{staticClass:"charts-box"},[i("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0}})],1)],1)],1)],1),i("v-uni-view",{staticClass:"box box-md"},[i("v-uni-view",{staticClass:"box-border box-border1"}),i("v-uni-view",{staticClass:"box-border box-border2"}),i("v-uni-view",{staticClass:"box-border box-border3"}),i("v-uni-view",{staticClass:"box-border box-border4"}),i("v-uni-view",{staticClass:"box-item right-item"},[i("v-uni-view",{staticClass:"sub-left"},[i("h3",[t._v("库存类型")]),i("p",{staticClass:"english"},[t._v("INCOME DATE")])]),i("v-uni-view",{staticClass:"sub-right"},[i("h3",[t._v("今天")]),i("p",{staticClass:"english"},[t._v("Today")])]),i("v-uni-view",{staticClass:"sub-main"},[i("v-uni-view",{staticClass:"charts-box ring"},[i("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0}})],1),i("v-uni-view",{staticClass:"sub-main-right"},[i("v-uni-view",{staticClass:"sub-info"},[i("v-uni-image",{attrs:{src:e("82fe"),mode:"aspectFit"}}),i("v-uni-text",[t._v("在库")]),i("v-uni-text",[t._v(t._s(t.stockCount))])],1),i("v-uni-view",{staticClass:"sub-info"},[i("v-uni-image",{attrs:{src:e("1cd5"),mode:"aspectFit"}}),i("v-uni-text",[t._v("空库")]),i("v-uni-text",[t._v(t._s(t.emptyCount))])],1),i("v-uni-view",{staticClass:"sub-info"},[i("v-uni-image",{attrs:{src:e("b64b0"),mode:"aspectFit"}}),i("v-uni-text",[t._v("禁用")]),i("v-uni-text",[t._v(t._s(t.noneCount))])],1)],1)],1)],1)],1),i("v-uni-view",{staticClass:"box box-bt"},[i("v-uni-view",{staticClass:"box-border box-border1"}),i("v-uni-view",{staticClass:"box-border box-border2"}),i("v-uni-view",{staticClass:"box-border box-border3"}),i("v-uni-view",{staticClass:"box-border box-border4"}),i("v-uni-view",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.crn()}}},[t._v("嘉善边锋机械股份有限公司")])],1)],1)],1)],1),i("v-uni-view",[i("uni-popup",{ref:"url",attrs:{type:"dialog"}},[i("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"配置url",value:t.baseIP,placeholder:"示例:192.168.1.1"},on:{confirm:function(n){arguments[0]=n=t.$handleEvent(n),t.baseUrlConfirm.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",[i("uni-popup",{ref:"ledId",attrs:{type:"dialog"}},[i("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"配置ledId",value:t.baseLedId,placeholder:"示例:188"},on:{confirm:function(n){arguments[0]=n=t.$handleEvent(n),t.ledIdConfirm.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",[i("uni-popup",{ref:"port",attrs:{type:"dialog"}},[i("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"配置端口号",value:t.basePort,placeholder:"示例:9090"},on:{confirm:function(n){arguments[0]=n=t.$handleEvent(n),t.portConfirm.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",[i("uni-popup",{ref:"crnId",attrs:{type:"dialog"}},[i("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"配置堆垛机",value:t.crnId,placeholder:"示例:1"},on:{confirm:function(n){arguments[0]=n=t.$handleEvent(n),t.crnConfirm.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.ejectShow,expression:"ejectShow"}],staticClass:"eject-mask"},[i("v-uni-view",{staticClass:"eject"},[i("v-uni-view",{staticClass:"eject-title"},[t._v("修改 / 配置")]),i("v-uni-view",{staticClass:"eject-input"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("ip:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseIP,callback:function(n){t.baseIP=n},expression:"baseIP"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("port:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.basePort,callback:function(n){t.basePort=n},expression:"basePort"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("ledId:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseLedId,callback:function(n){t.baseLedId=n},expression:"baseLedId"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("CrnId:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseCrnId,callback:function(n){t.baseCrnId=n},expression:"baseCrnId"}})],1)],1)],1),i("v-uni-view",{staticClass:"eject-button"},[i("v-uni-view",{staticClass:"button-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejectClose.apply(void 0,arguments)}}},[t._v("取 消")]),i("v-uni-view",{staticClass:"button-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejectConfirm.apply(void 0,arguments)}}},[t._v("确 认")])],1)],1)],1)],1)},o=[]},"608f":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"確定","uni-popup.placeholder":"請輸入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},"6b2c":function(t,n,e){"use strict";var i=e("3f77"),a=e.n(i);a.a},"75f2":function(t,n,e){var i=e("e64a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("fb8ea27a",i,!0,{sourceMap:!1,shadowMode:!1})},7714:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("e9c4");var a=i(e("6bf8")),o=i(e("f887")),s={data:function(){return{commonUrl:null,show:!0,modeClass:"fade",styles:{},baseIP:"",baseLedId:"",basePort:"",crnId:"",value:"",xDistance:0,yDistance:0,xDuration:0,yDuration:0,used:317,usedPr:90,stockCount:0,emptyCount:0,noneCount:0,chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},chartsDataLine1:{},chartsDataPie2:{},ringOpts:{},year:2022,month:4,day:14,hours:13,minutes:38,seconds:13,week:"星期四",ani:"",move:!1,topMove:"topUp",floorMove:"",version:"",newspaper:"",errorPaper:"",title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",orderNo:null,doneOfTray:"",totalOfTray:"",doneOfUnit:"",totalOfUnit:"",errorMsg:null,width:"full-width",errorShow:"",pakinShow:"",pakinGun:"",orderShow:!1,swiper:"swiper-here",autoplay:!0,interval:1e3,duration:8e3,matList:[],ejectShow:!1}},mounted:function(){var t=uni.getStorageSync("BaseIp"),n=uni.getStorageSync("BaseLedId"),e=uni.getStorageSync("BasePort"),i=uni.getStorageSync("BaseCrnId");this.baseIP=t,this.baseLedId=n,this.basePort=e,this.baseCrnId=i,this.getUrl()},onLoad:function(){},onReady:function(){var t=this;setInterval((function(){t.initlineChart(),t.initPieChart(),t.getServerData(),t.getOther(),t.getDate(),t.getPakin(),t.getError(),t.animation(),t.getUrl()}),1e3)},methods:{getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+this.baseUrl,this.chartsDataLine1=JSON.parse(JSON.stringify(o.default.Line))},getYYY:function(){var t=a.default.dataEEE,n=t.data;if(n.data&&""!==n.data)this.errorMsg=n.data,this.errorShow=!0,this.move=!1;else{if(this.errorPaper="",this.errorShow=!1,this.pakinShow)return;this.move=!0}},getEEE:function(){var t=a.default.dataYYY,n=t.data;if(n.data&&null!==n.data){if(101===n.data[0].ioType?this.title="全板出库":103===n.data[0].ioType&&(this.title="检料出库"),this.staNo="目标站:"+n.data[0].staNo,this.matnr="商品编号:"+n.data[0].matDtos[0].matnr,this.maknx="商品名称:"+n.data[0].matDtos[0].maknx,this.count="出库数量:"+n.data[0].matDtos[0].count,n.data[0].orderNo?(this.orderNo="订单号:"+n.data[0].orderNo,this.orderShow=!0,this.width="half-width"):(this.orderNo=null,this.orderShow=!1,this.width="full-width"),this.doneOfTray="已出托盘数:"+n.data[0].doneOfTray,this.totalOfTray="托盘总数量:"+n.data[0].totalOfTray,this.doneOfUnit="已出箱数:"+n.data[0].doneOfUnit,this.totalOfUnit="总箱数:"+n.data[0].totalOfUnit,this.errorShow)return;this.newspaper="",this.move=!1}else this.move=!0},getError:function(){var t,n=this;uni.request({url:n.commonUrl+"/monitor/led/error",data:{ledId:n.baseLedId},method:"GET",success:function(e){t=e.data,t.data&&""!==t.data?(n.errorMsg=t.data,n.errorShow=!0,n.move=!1):n.errorShow=!1}})},getPakin:function(){var t=this;t.matList=[];var n;uni.request({url:t.commonUrl+"/monitor/led",data:{ledId:t.baseLedId},method:"GET",success:function(e){n=e.data,t.errorShow||(n.data&&null!==n.data?(101===n.data[0].ioType?t.title="全板出库":103===n.data[0].ioType?t.title="检料出库":t.title=n.data[0].title,t.staNo="目标站:"+n.data[0].staNo,t.matnr="商品编号:"+n.data[0].matDtos[0].matnr,t.maknx="商品名称:"+n.data[0].matDtos[0].maknx,t.specs="规格:"+n.data[0].matDtos[0].specs,t.count="出库数量:"+n.data[0].matDtos[0].count,n.data[0].orderNo?(t.orderNo="订单号:"+n.data[0].orderNo,t.orderShow=!0,t.width="half-width"):(t.orderNo=null,t.orderShow=!1,t.width="full-width"),t.doneOfTray="已出托盘数:"+n.data[0].doneOfTray,t.totalOfTray="托盘总数量:"+n.data[0].totalOfTray,t.doneOfUnit="已出箱数:"+n.data[0].doneOfUnit,t.totalOfUnit="总箱数:"+n.data[0].totalOfUnit,t.newspaper="",t.move=!1):t.move=!0)}})},animation:function(){this.move?(this.topMove="topUp",this.floorMove="floorUp"):(this.topMove="topDown",this.floorMove="floorDown")},getDateFormat:function(t){var n=new Date;n.setDate(n.getDate()+t);var e=n.getMonth()+1,i=n.getDate(),a=e+"-"+i;return a},initlineChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/line/charts",method:"GET",success:function(n){var e=n.data;console.log(n),200===e.code&&(t.chartsData.Line.categories=[t.getDateFormat(-11),t.getDateFormat(-10),t.getDateFormat(-9),t.getDateFormat(-8),t.getDateFormat(-7),t.getDateFormat(-6),t.getDateFormat(-5),t.getDateFormat(-4),t.getDateFormat(-3),t.getDateFormat(-2),t.getDateFormat(-1),t.getDateFormat(0)],t.chartsData.Line.series=e.data.rows)}})},initPieChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/loc/rep",method:"GET",success:function(n){var e=n.data;200===e.code&&(t.chartsData.Pie.series[0].data=e.data.pie,t.stockCount=e.data.stockCunt,t.emptyCount=e.data.emptyCount,t.noneCount=e.data.noneCount,t.used=e.data.used,t.usedPr=e.data.usedPr)}})},getOther:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/other",data:{crnId:t.baseCrnId,ledId:1},success:function(n){console.log(n);var e=n.data;200===e.code?(t.xDistance=e.data.xDistance,t.yDistance=e.data.yDistance,t.xDuration=e.data.xDuration,t.yDuration=e.data.yDuration):e.code}})},ejected:function(){this.ejectShow=!0},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),this.getUrl(),this.ejectShow=!1},ejectClose:function(){this.ejectShow=!1},getServerData:function(){this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie))},complete:function(t){console.log("渲染完成事件",t)},getDate:function(){var t=new Date;switch(this.year=t.getFullYear(),this.month=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,this.day=t.getDate()<10?"0"+t.getDate():t.getDate(),this.hours=t.getHours()<10?"0"+t.getHours():t.getHours(),this.minutes=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),this.seconds=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds(),this.weeks=t.getDay(),this.weeks){case 0:this.week="星期日";break;case 1:this.week="星期一";break;case 2:this.week="星期二";break;case 3:this.week="星期三";break;case 4:this.week="星期四";break;case 5:this.week="星期五";break;default:this.week="星期六"}}}};n.default=s},"8b3f":function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("a9e3");var a=i(e("309e")),o=e("37dc"),s=i(e("db2a")),r=(0,o.initVueI18n)(s.default),l=r.t,c={name:"uniPopupDialog",mixins:[a.default],emits:["confirm","close"],props:{value:{type:[String,Number],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""}},data:function(){return{dialogType:"error",focus:!1,val:""}},computed:{okText:function(){return this.confirmText||l("uni-popup.ok")},closeText:function(){return this.cancelText||l("uni-popup.cancel")},placeholderText:function(){return this.placeholder||l("uni-popup.placeholder")},titleText:function(){return this.title||l("uni-popup.title")}},watch:{type:function(t){this.dialogType=t},mode:function(t){"input"===t&&(this.dialogType="info")},value:function(t){this.val=t}},created:function(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value):this.dialogType=this.type},mounted:function(){this.focus=!0},methods:{onOk:function(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog:function(){this.$emit("close"),this.beforeClose||this.popup.close()},close:function(){this.popup.close()}}};n.default=c},"9ac9":function(t,n,e){"use strict";var i=e("75f2"),a=e.n(i);a.a},"9b37":function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-popup-dialog[data-v-99b3946c]{width:300px;border-radius:11px;background-color:#fff}.uni-dialog-title[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;padding-top:25px}.uni-dialog-title-text[data-v-99b3946c]{font-size:16px;font-weight:500}.uni-dialog-content[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:20px}.uni-dialog-content-text[data-v-99b3946c]{font-size:14px;color:#6c6c6c}.uni-dialog-button-group[data-v-99b3946c]{display:flex;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button[data-v-99b3946c]{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:45px}.uni-border-left[data-v-99b3946c]{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text[data-v-99b3946c]{font-size:16px;color:#333}.uni-button-color[data-v-99b3946c]{color:#007aff}.uni-dialog-input[data-v-99b3946c]{flex:1;font-size:14px;border:1px #eee solid;height:40px;padding:0 10px;border-radius:5px;color:#555}.uni-popup__success[data-v-99b3946c]{color:#4cd964}.uni-popup__warn[data-v-99b3946c]{color:#f0ad4e}.uni-popup__error[data-v-99b3946c]{color:#dd524d}.uni-popup__info[data-v-99b3946c]{color:#909399}',""]),t.exports=n},a65d:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("7db0"),e("d3b7"),e("b64b"),e("caad"),e("2532");var i={name:"Keypress",props:{disable:{type:Boolean,default:!1}},mounted:function(){var t=this,n={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]};document.addEventListener("keyup",(function(e){if(!t.disable){var i=Object.keys(n).find((function(t){var i=e.key,a=n[t];return a===i||Array.isArray(a)&&a.includes(i)}));i&&setTimeout((function(){t.$emit(i,{})}),0)}}))},render:function(){}};n.default=i},a750:function(t,n,e){"use strict";e.r(n);var i=e("7714"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},aad2:function(t,n,e){"use strict";e.r(n);var i=e("5691"),a=e("a750");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("9ac9");var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"f53b5424",null,!1,i["a"],void 0);n["default"]=r.exports},bac9:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"uni-popup-dialog"},[e("v-uni-view",{staticClass:"uni-dialog-title"},[e("v-uni-text",{staticClass:"uni-dialog-title-text",class:["uni-popup__"+t.dialogType]},[t._v(t._s(t.titleText))])],1),"base"===t.mode?e("v-uni-view",{staticClass:"uni-dialog-content"},[t._t("default",[e("v-uni-text",{staticClass:"uni-dialog-content-text"},[t._v(t._s(t.content))])])],2):e("v-uni-view",{staticClass:"uni-dialog-content"},[t._t("default",[e("v-uni-input",{staticClass:"uni-dialog-input",attrs:{type:"text",placeholder:t.placeholderText,focus:t.focus},model:{value:t.val,callback:function(n){t.val=n},expression:"val"}})])],2),e("v-uni-view",{staticClass:"uni-dialog-button-group"},[e("v-uni-view",{staticClass:"uni-dialog-button",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.closeDialog.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"uni-dialog-button-text"},[t._v(t._s(t.closeText))])],1),e("v-uni-view",{staticClass:"uni-dialog-button uni-border-left",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onOk.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"uni-dialog-button-text uni-button-color"},[t._v(t._s(t.okText))])],1)],1)],1)},a=[]},c3ae:function(t){t.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"确定","uni-popup.placeholder":"请输入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},c6dc:function(t,n,e){"use strict";e.r(n);var i=e("bac9"),a=e("3e54");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("6b2c");var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"99b3946c",null,!1,i["a"],void 0);n["default"]=r.exports},db2a:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("fbad")),o=i(e("c3ae")),s=i(e("608f")),r={en:a.default,"zh-Hans":o.default,"zh-Hant":s.default};n.default=r},dbf0:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("c975");var a=i(e("a65d")),o={name:"uniPopup",components:{keypress:a.default},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"}},watch:{type:{handler:function(t){this.config[t]&&this[this.config[t]](!0)},immediate:!0},isDesktop:{handler:function(t){this.config[t]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(t){this.mkclick=t},immediate:!0},isMaskClick:{handler:function(t){this.mkclick=t},immediate:!0},showPopup:function(t){document.getElementsByTagName("body")[0].style.overflow=t?"hidden":"visible"}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:this.isDesktop?"fixforpc-top":"top"}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},bg:function(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted:function(){var t=this;(function(){var n=uni.getSystemInfoSync(),e=n.windowWidth,i=n.windowHeight,a=n.windowTop,o=n.safeArea,s=(n.screenHeight,n.safeAreaInsets);t.popupWidth=e,t.popupHeight=i+a,t.safeAreaInsets=o?s.bottom:0})()},created:function(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{closeMask:function(){this.maskShow=!1},disableMask:function(){this.mkclick=!1},clear:function(t){t.stopPropagation(),this.clearPropagation=!0},open:function(t){t&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(t)||(t=this.type),this.config[t]?(this[this.config[t]](),this.$emit("change",{show:!0,type:t})):console.error("缺少类型:",t)},close:function(t){var n=this;this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((function(){n.showPopup=!1}),300)},touchstart:function(){this.clearPropagation=!1},onTap:function(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top:function(t){var n=this;this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((function(){n.messageChild&&"message"===n.type&&n.messageChild.timerClose()})))},bottom:function(t){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0)},center:function(t){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"},t||(this.showPopup=!0,this.showTrans=!0)},left:function(t){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)},right:function(t){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)}}};n.default=o},e64a:function(t,n,e){var i=e("24fb"),a=e("1de5"),o=e("2617"),s=e("88ac");n=i(!1);var r=a(o),l=a(s);n.push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* 弹出:配置区域 */.eject-mask[data-v-f53b5424]{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:999;display:flex;align-items:center;justify-content:center}.eject[data-v-f53b5424]{position:relative;width:600px;height:350px;background-color:#eaeaea;border-radius:%?25?%}.eject-title[data-v-f53b5424]{width:100%;height:100px;line-height:100px;font-size:20px;font-weight:700;color:#606266;text-align:center}.item[data-v-f53b5424]{display:flex;align-items:center;margin:10px 0 0 0}.desc[data-v-f53b5424]{display:inline-block;width:40%;text-align:right;color:#606266;font-size:18px}.input[data-v-f53b5424]{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:30px;border:1px solid #c0c4cc;margin-right:50px}.eject-input uni-input[data-v-f53b5424]{width:100%}.eject-button[data-v-f53b5424]{display:flex;align-items:center;position:absolute;bottom:0;height:60px;line-height:60px;width:100%;border-top:1px solid #ccc}.button-item[data-v-f53b5424]{width:50%;height:100%;font-size:20px;font-weight:700;text-align:center;color:#909399}.button-item[data-v-f53b5424]:last-child{color:#67c23a;border-left:1px solid #ccc}.full-width[data-v-f53b5424]{width:100%;height:100%;display:inline-block;float:left}.half-width[data-v-f53b5424]{width:50%;height:100%;display:inline-block;float:left}.box-items[data-v-f53b5424]{height:20%;width:100%;\n\t/* background-color: #233751; */line-height:%?300?%}\n/* 当前页面无 orderNo */.swiper-here[data-v-f53b5424]{display:inline-block;margin:0 auto;width:100%;height:100%}\n/* 当前页面有 orderNo */.swiper-here-oN[data-v-f53b5424]{display:inline-block;\n\t/* background-color: #063A7B; */margin:0 auto;width:100%;height:90%}\n/* 当前页面有 error提示 */.swiper-here-error[data-v-f53b5424]{display:inline-block;\n\t/* background-color: #063A7B; */\n\t/* margin: 0 auto; */margin-top:20%;width:100%;height:100%}.animate[data-v-f53b5424]{display:inline-block;\n /* white-space: nowrap; */-webkit-animation:25s wordsLoop-data-v-f53b5424 linear infinite normal;animation:25s wordsLoop-data-v-f53b5424 linear infinite normal}@keyframes wordsLoop-data-v-f53b5424{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}@-webkit-keyframes wordsLoop-data-v-f53b5424{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}\n/* animation:upMove 1.5s 1; */\n/* downMove */\n/* 上层向上 */.topUp[data-v-f53b5424]{-webkit-animation:topUp-data-v-f53b5424 1.5s 1;animation:topUp-data-v-f53b5424 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topUp-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:-1080px}to{opacity:1;\n\t\t/* background-color:red; */top:0}}@keyframes topUp-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:-1080px}to{opacity:1;\n\t\t/* background-color:red; */top:0}}\n/* 上层向下 */.topDown[data-v-f53b5424]{-webkit-animation:topDown-data-v-f53b5424 1.5s 1;animation:topDown-data-v-f53b5424 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topDown-data-v-f53b5424{from{opacity:1;\n\t\t/* background-color:red; */top:0}to{opacity:.5;\n\t\t/* background-color:blue; */top:-1080px}}@keyframes topDown-data-v-f53b5424{from{opacity:1;\n\t\t/* background-color:red; */top:0}to{opacity:.5;\n\t\t/* background-color:blue; */top:-1080px}}\n/* 下层向上 */.floorUp[data-v-f53b5424]{-webkit-animation:floorUp-data-v-f53b5424 1.5s 1;animation:floorUp-data-v-f53b5424 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorUp-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:0}to{opacity:1;\n\t\t/* background-color:red; */top:1080px}}@keyframes floorUp-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:0}to{opacity:1;\n\t\t/* background-color:red; */top:1080px}}\n/* 下层向下 */.floorDown[data-v-f53b5424]{-webkit-animation:floorDown-data-v-f53b5424 1.5s 1;animation:floorDown-data-v-f53b5424 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorDown-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:1080px}to{opacity:1;\n\t\t/* background-color:red; */top:0}}@keyframes floorDown-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:1080px}to{opacity:1;\n\t\t/* background-color:red; */top:0}}.top-screen[data-v-f53b5424]{position:fixed;width:1920px;height:1080px;\n\t/* top: -1000px; */background-image:url("+r+");\n\t/* background:red; */\n\t/* animation:upMove 1.5s 1; */z-index:999}.floor-screen[data-v-f53b5424]{width:1920px;height:1080px;position:relative;color:#fff;text-align:center;font-size:%?120?%;letter-spacing:%?5?%;background-image:url("+r+")}.container[data-v-f53b5424]{width:1920px;height:1080px;position:relative\n\t/* background: #000428; \n\tbackground: -webkit-linear-gradient(to right, #004e92, #000428); \n\tbackground: linear-gradient(to right, #004e92, #000428); */}.head[data-v-f53b5424]{\n\t/* background-color: #55aaff; */width:100%;height:10%;text-align:center;line-height:110px;color:#fff;font-size:40px;font-weight:700;letter-spacing:5px}.head uni-text[data-v-f53b5424]{-webkit-transform:scaleY(.9);transform:scaleY(.9)}.time-tools[data-v-f53b5424]{height:5%;\n\t/* background-color: #007AFF; */position:absolute;top:0;float:right;right:50px;font-size:16px;font-weight:400;line-height:70px;letter-spacing:1px}.button-left[data-v-f53b5424]{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right[data-v-f53b5424]{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.main[data-v-f53b5424]{\n\t/* background-color: #3F536E; */position:relative;width:100%;height:90%}.main-sides[data-v-f53b5424]{\n\t/* background-color: #004E92; */position:relative;display:inline-block;float:left;width:50%;height:100%\n\t/* margin: 2% auto 0 3.2%;\n\tborder: 1px solid rgba(20, 80, 136, 1); */}.box[data-v-f53b5424]{position:relative;\n\t/* background-color: #ffffff; */margin:3% 2% 0 2%;width:96%;height:30%;border:1px solid #145088;overflow:hidden}.box-lg[data-v-f53b5424]{height:94%}.box-border[data-v-f53b5424]{position:absolute;\n\t/* background-color: #4CD964; */width:10px;height:10px}.box-border1[data-v-f53b5424]{top:0;left:0;border-left:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border2[data-v-f53b5424]{top:0;right:0;border-right:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border3[data-v-f53b5424]{bottom:0;left:0;border-bottom:2px solid #31c4c4;border-left:2px solid #31c4c4}.box-border4[data-v-f53b5424]{bottom:0;right:0;border-right:2px solid #31c4c4;border-bottom:2px solid #31c4c4}.content[data-v-f53b5424]{display:flex;flex-direction:column;flex:1}.charts-box[data-v-f53b5424]{width:80%;height:230px;margin-left:10%\n /* background-color: #fff; */}.ring[data-v-f53b5424]{display:inline-block;float:left;width:60%;height:300px;margin-left:-10%}.box-item[data-v-f53b5424]{\n\t/* background-color: #2C405A; */width:92%;height:20%;margin-left:4%;padding-top:1em;color:#fff}.introduce[data-v-f53b5424]{height:30%}.introduce h2[data-v-f53b5424]{letter-spacing:5px}.english[data-v-f53b5424]{font-size:14px}.introduce-content[data-v-f53b5424]{font-size:20px;padding-top:2em;text-indent:2em;line-height:2em}.charge-info[data-v-f53b5424]{\n\t/* background-color: #2C405A; */height:45%}.charge-info-item[data-v-f53b5424]{\n\t/* background-color: #EE6666; */display:inline-block;width:50%;height:40%}.charge-info-item uni-image[data-v-f53b5424]{display:inline-block;float:left;\n\t/* background-color: #4CD964; */height:100%;width:20%}.charge-info-item uni-view[data-v-f53b5424]{display:inline-block;position:relative;margin-left:10%;width:70%;height:49%\n\t/* background-color: #1890FF; */}.charge-info-item .count[data-v-f53b5424], .charge-info-item .unit[data-v-f53b5424]{position:absolute;display:inline-block;font-size:32px;bottom:0;padding-left:5%}.charge-info-item .unit[data-v-f53b5424]{font-size:16px;float:right;right:20%}.footer[data-v-f53b5424]{position:absolute;border:1px solid #145088;height:15%}.use-info[data-v-f53b5424]{\n\t/* background-color: #007AFF; */}.use-left[data-v-f53b5424]{display:inline-block;\n\t/* background-color: #2C405A; */width:40%}.use-right[data-v-f53b5424]{display:inline-block;\n\t/* background-color: #2C405A; */float:right;width:20%}.use-main[data-v-f53b5424]{width:100%;height:75%\n\t/* background-color: #4CD964; */}.use-main .left[data-v-f53b5424]{\n\t/* background-color: #ffaa7f; */display:inline-block;float:left;height:100%;width:70%;line-height:20px}.left .progressBar[data-v-f53b5424]{\n\t/* margin-left: ; */margin-top:9%;width:100%;height:20%;background-color:#233751;border-radius:20px}.left .progress[data-v-f53b5424]{\n\t/* width: 90%; */height:100%;background-color:#ff5722;border-radius:20px}.left uni-progress[data-v-f53b5424]{margin-left:10%;margin-top:10%;display:block}.use-main .right[data-v-f53b5424]{\n\t/* background-color: #ffaaff; */display:inline-block;float:right;height:100%;width:20%;font-size:40px;color:#ff5722;line-height:130px}.box-tp[data-v-f53b5424]{height:30%}.box-tp .sub-main[data-v-f53b5424]{\n\t/* background-color: #FFFFFF; */}.box-md[data-v-f53b5424]{height:43%}.sub-main-right[data-v-f53b5424]{display:inline-block;height:100%;width:50%}.sub-info[data-v-f53b5424]{width:100%;height:33%}.sub-info uni-image[data-v-f53b5424]{display:inline-block;float:left;height:100%;width:15%}.sub-info uni-text[data-v-f53b5424]{display:inline-block;width:40%;height:100%;text-align:center;line-height:120px;font-size:20px}.box-bt[data-v-f53b5424]{background-color:#063a7b;border:none;height:15%;color:#fff}.box-bt uni-image[data-v-f53b5424]{position:absolute;float:right;right:0;top:0;width:20%;height:100%}.box-bt[data-v-f53b5424]{font-size:36px;line-height:140px;text-indent:5em}.right-item[data-v-f53b5424]{height:94%}.sub-left[data-v-f53b5424]{display:inline-block;float:left;width:40%}.sub-right[data-v-f53b5424]{display:inline-block;float:right;width:20%}.sub-main[data-v-f53b5424]{position:absolute;\n\t/* background-color: #31C4C4; */width:92%;height:80%;bottom:0}",""]),t.exports=n},fac2:function(t,n,e){"use strict";e.r(n);var i=e("dbf0"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},fbad:function(t){t.exports=JSON.parse('{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"}')}}]); |
| | | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"05f6":function(t,n,e){"use strict";e.r(n);var i=e("1fec"),a=e("fac2");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("098b");var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"58e7869c",null,!1,i["a"],void 0);n["default"]=r.exports},"098b":function(t,n,e){"use strict";var i=e("45d8"),a=e.n(i);a.a},"1fec":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));var i={uniTransition:e("9b17").default},a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return t.showPopup?e("v-uni-view",{staticClass:"uni-popup",class:[t.popupstyle,t.isDesktop?"fixforpc-z-index":""],on:{touchmove:function(n){n.stopPropagation(),n.preventDefault(),arguments[0]=n=t.$handleEvent(n),t.clear.apply(void 0,arguments)}}},[e("v-uni-view",{on:{touchstart:function(n){arguments[0]=n=t.$handleEvent(n),t.touchstart.apply(void 0,arguments)}}},[t.maskShow?e("uni-transition",{key:"1",attrs:{name:"mask","mode-class":"fade",styles:t.maskClass,duration:t.duration,show:t.showTrans},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onTap.apply(void 0,arguments)}}}):t._e(),e("uni-transition",{key:"2",attrs:{"mode-class":t.ani,name:"content",styles:t.transClass,duration:t.duration,show:t.showTrans},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onTap.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"uni-popup__wrapper",class:[t.popupstyle],style:{backgroundColor:t.bg},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.clear.apply(void 0,arguments)}}},[t._t("default")],2)],1)],1),t.maskShow?e("keypress",{on:{esc:function(n){arguments[0]=n=t.$handleEvent(n),t.onTap.apply(void 0,arguments)}}}):t._e()],1):t._e()},o=[]},"309e":function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={data:function(){return{}},created:function(){this.popup=this.getParent()},methods:{getParent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniPopup",n=this.$parent,e=n.$options.name;while(e!==t){if(n=n.$parent,!n)return!1;e=n.$options.name}return n}}};n.default=i},"3e54":function(t,n,e){"use strict";e.r(n);var i=e("8b3f"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},"3f77":function(t,n,e){var i=e("9b37");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("e26222a6",i,!0,{sourceMap:!1,shadowMode:!1})},"45d8":function(t,n,e){var i=e("5652");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("6f84f74c",i,!0,{sourceMap:!1,shadowMode:!1})},5652:function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-popup[data-v-58e7869c]{position:fixed;z-index:99}.uni-popup.top[data-v-58e7869c], .uni-popup.left[data-v-58e7869c], .uni-popup.right[data-v-58e7869c]{top:var(--window-top)}.uni-popup .uni-popup__wrapper[data-v-58e7869c]{display:block;position:relative\r\n /* iphonex 等安全区设置,底部安全区适配 */}.uni-popup .uni-popup__wrapper.left[data-v-58e7869c], .uni-popup .uni-popup__wrapper.right[data-v-58e7869c]{padding-top:var(--window-top);flex:1}.fixforpc-z-index[data-v-58e7869c]{z-index:999}.fixforpc-top[data-v-58e7869c]{top:0}',""]),t.exports=n},5691:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return i}));var i={qiunDataCharts:e("1f58").default,uniPopup:e("05f6").default,uniPopupDialog:e("c6dc").default},a=function(){var t=this,n=t.$createElement,i=t._self._c||n;return i("v-uni-view",{staticClass:"container"},[i("v-uni-view",{staticClass:"floor-screen",class:t.floorMove},[i("v-uni-view",{staticClass:"head"},[i("v-uni-text",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.port()}}},[t._v("自动仓库WCS监控平台")]),i("v-uni-view",{staticClass:"time-tools"},[t._v(t._s(t.year)+"-"+t._s(t.month)+"-"+t._s(t.day)+" "+t._s(t.hours)+":"+t._s(t.minutes)+":"+t._s(t.seconds)+" "+t._s(t.week))]),i("v-uni-view",{staticClass:"button-left",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"button-right",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ledId()}}})],1),i("v-uni-view",{staticClass:"main"},[i("v-uni-view",{staticClass:"main-sides",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"box",staticStyle:{height:"90%"}},[i("v-uni-view",{staticClass:"box-border box-border1"}),i("v-uni-view",{staticClass:"box-border box-border2"}),i("v-uni-view",{staticClass:"box-border box-border3"}),i("v-uni-view",{staticClass:"box-border box-border4"}),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!t.errorShow,expression:"!errorShow"}],staticStyle:{width:"100%",height:"100%"}},[i("v-uni-view",{class:t.width},[i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.title))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.staNo))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.maknx))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.specs))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.count))])],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.orderShow,expression:"orderShow"}],staticStyle:{width:"50%",height:"100%",display:"inline-block",float:"left"}},[i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.orderNo))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.doneOfTray))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.totalOfTray))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.doneOfUnit))]),i("v-uni-view",{staticClass:"box-items"},[t._v(t._s(t.totalOfUnit))])],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.errorShow,expression:"errorShow"}],staticStyle:{width:"100%",height:"100%"}},[i("v-uni-view",{staticStyle:{"line-height":"700px","font-size":"175rpx"}},[t._v(t._s(t.errorMsg))])],1)],1)],1)],1)],1),i("v-uni-view",{staticClass:"top-screen",class:t.topMove},[i("v-uni-view",{staticClass:"head"},[i("v-uni-text",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.port()}}},[t._v("自动仓库WCS监控平台")]),i("v-uni-view",{staticClass:"time-tools"},[t._v(t._s(t.year)+"-"+t._s(t.month)+"-"+t._s(t.day)+" "+t._s(t.hours)+":"+t._s(t.minutes)+":"+t._s(t.seconds)+" "+t._s(t.week))]),i("v-uni-view",{staticClass:"button-left",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejected()}}}),i("v-uni-view",{staticClass:"button-right",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ledId()}}})],1),i("v-uni-view",{staticClass:"main"},[i("v-uni-view",{staticClass:"main-sides"},[i("v-uni-view",{staticClass:"box box-lg"},[i("v-uni-view",{staticClass:"box-border box-border1"}),i("v-uni-view",{staticClass:"box-border box-border2"}),i("v-uni-view",{staticClass:"box-border box-border3"}),i("v-uni-view",{staticClass:"box-border box-border4"}),i("v-uni-view",{staticClass:"box-item introduce"},[i("h3",[t._v("自动化立体仓库")]),i("p",{staticClass:"english"},[t._v("Automatic Storageand Retrieval System")]),i("p",{staticClass:"introduce-content"},[t._v("利用立体仓库设备可实现仓库高层合理化、存取自动化、操作简便化;自动化立体仓库是当前技术水平较高的形式。\n\t\t\t\t\t\t自动化立体仓库的主体由货架、巷道式堆垛起重机、入(出)库工作台和自动运进(出)及操作控制系统组成。\n\t\t\t\t\t\t货架是钢结构或钢筋混凝土结构的建筑物或结构体,货架内是标准尺寸的货位空间,巷道堆垛起重机穿行于货架之间的巷道中,完成存、取货的工作。管理上采用计算机及条形码技术。")])]),i("v-uni-view",{staticClass:"box-item charge-info"},[i("h3",[t._v("仓库数据")]),i("p",{staticClass:"english"},[t._v("warehouse data")]),i("v-uni-view",{staticClass:"charge-info-item"},[i("v-uni-image",{attrs:{src:e("7be7"),mode:"aspectFit"}}),i("v-uni-view",[i("v-uni-text",{staticClass:"count"},[t._v(t._s(t.xDistance))]),i("v-uni-text",{staticClass:"unit"},[t._v("m")])],1),i("v-uni-view",[t._v("累计走行距离(米)")])],1),i("v-uni-view",{staticClass:"charge-info-item"},[i("v-uni-image",{attrs:{src:e("feb8"),mode:"aspectFit"}}),i("v-uni-view",[i("v-uni-text",{staticClass:"count"},[t._v(t._s(t.yDistance))]),i("v-uni-text",{staticClass:"unit"},[t._v("m")])],1),i("v-uni-view",[t._v("累计升降距离(米)")])],1),i("v-uni-view",{staticClass:"charge-info-item"},[i("v-uni-image",{attrs:{src:e("00ce"),mode:"aspectFit"}}),i("v-uni-view",[i("v-uni-text",{staticClass:"count"},[t._v(t._s(t.xDuration))]),i("v-uni-text",{staticClass:"unit"},[t._v("m")])],1),i("v-uni-view",[t._v("累计走行时长(秒)")])],1),i("v-uni-view",{staticClass:"charge-info-item"},[i("v-uni-image",{attrs:{src:e("05a1"),mode:"aspectFit"}}),i("v-uni-view",[i("v-uni-text",{staticClass:"count"},[t._v(t._s(t.yDuration))]),i("v-uni-text",{staticClass:"unit"},[t._v("m")])],1),i("v-uni-view",[t._v("累计升降时长(秒)")])],1)],1),i("v-uni-view",{staticClass:"box-item use-info"},[i("v-uni-view",{staticClass:"use-left"},[i("h3",[t._v("库位使用率")]),i("p",{staticClass:"english"},[t._v("EQUIPMENT USAGE THIS MONTH")])]),i("v-uni-view",{staticClass:"use-right"},[i("h3",[t._v(t._s(t.usedPr)+"%")]),i("p",{staticClass:"english"},[t._v("同比上月 + 5%")])]),i("v-uni-view",{staticClass:"use-main"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"progressBar"},[i("v-uni-view",{staticClass:"progress",style:"width:"+t.usedPr+"%"})],1)],1),i("v-uni-view",{staticClass:"right"},[t._v(t._s(t.used))])],1)],1)],1)],1),i("v-uni-view",{staticClass:"main-sides"},[i("v-uni-view",{staticClass:"box box-tp"},[i("v-uni-view",{staticClass:"box-border box-border1"}),i("v-uni-view",{staticClass:"box-border box-border2"}),i("v-uni-view",{staticClass:"box-border box-border3"}),i("v-uni-view",{staticClass:"box-border box-border4"}),i("v-uni-view",{staticClass:"box-item right-item"},[i("v-uni-view",{staticClass:"sub-left"},[i("h3",[t._v("入出库统计")]),i("p",{staticClass:"english"},[t._v("ORDER STATISTICS")])]),i("v-uni-view",{staticClass:"sub-right"},[i("h3",[t._v("31")]),i("p",{staticClass:"english"},[t._v("今日订单数")])]),i("v-uni-view",{staticClass:"sub-main"},[i("v-uni-view",{staticClass:"charts-box"},[i("qiun-data-charts",{attrs:{type:"line",chartData:t.chartsDataLine1,echartsH5:!0,echartsApp:!0}})],1)],1)],1)],1),i("v-uni-view",{staticClass:"box box-md"},[i("v-uni-view",{staticClass:"box-border box-border1"}),i("v-uni-view",{staticClass:"box-border box-border2"}),i("v-uni-view",{staticClass:"box-border box-border3"}),i("v-uni-view",{staticClass:"box-border box-border4"}),i("v-uni-view",{staticClass:"box-item right-item"},[i("v-uni-view",{staticClass:"sub-left"},[i("h3",[t._v("库存类型")]),i("p",{staticClass:"english"},[t._v("INCOME DATE")])]),i("v-uni-view",{staticClass:"sub-right"},[i("h3",[t._v("今天")]),i("p",{staticClass:"english"},[t._v("Today")])]),i("v-uni-view",{staticClass:"sub-main"},[i("v-uni-view",{staticClass:"charts-box ring"},[i("qiun-data-charts",{attrs:{type:"ring",opts:{legend:{position:"bottom"}},eopts:t.ringOpts,chartData:t.chartsDataPie2,echartsH5:!0,echartsApp:!0}})],1),i("v-uni-view",{staticClass:"sub-main-right"},[i("v-uni-view",{staticClass:"sub-info"},[i("v-uni-image",{attrs:{src:e("82fe"),mode:"aspectFit"}}),i("v-uni-text",[t._v("在库")]),i("v-uni-text",[t._v(t._s(t.stockCount))])],1),i("v-uni-view",{staticClass:"sub-info"},[i("v-uni-image",{attrs:{src:e("1cd5"),mode:"aspectFit"}}),i("v-uni-text",[t._v("空库")]),i("v-uni-text",[t._v(t._s(t.emptyCount))])],1),i("v-uni-view",{staticClass:"sub-info"},[i("v-uni-image",{attrs:{src:e("b64b0"),mode:"aspectFit"}}),i("v-uni-text",[t._v("禁用")]),i("v-uni-text",[t._v(t._s(t.noneCount))])],1)],1)],1)],1)],1),i("v-uni-view",{staticClass:"box box-bt"},[i("v-uni-view",{staticClass:"box-border box-border1"}),i("v-uni-view",{staticClass:"box-border box-border2"}),i("v-uni-view",{staticClass:"box-border box-border3"}),i("v-uni-view",{staticClass:"box-border box-border4"}),i("v-uni-view",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.crn()}}},[t._v("嘉善边锋机械股份有限公司")])],1)],1)],1)],1),i("v-uni-view",[i("uni-popup",{ref:"url",attrs:{type:"dialog"}},[i("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"配置url",value:t.baseIP,placeholder:"示例:192.168.1.1"},on:{confirm:function(n){arguments[0]=n=t.$handleEvent(n),t.baseUrlConfirm.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",[i("uni-popup",{ref:"ledId",attrs:{type:"dialog"}},[i("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"配置ledId",value:t.baseLedId,placeholder:"示例:188"},on:{confirm:function(n){arguments[0]=n=t.$handleEvent(n),t.ledIdConfirm.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",[i("uni-popup",{ref:"port",attrs:{type:"dialog"}},[i("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"配置端口号",value:t.basePort,placeholder:"示例:9090"},on:{confirm:function(n){arguments[0]=n=t.$handleEvent(n),t.portConfirm.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",[i("uni-popup",{ref:"crnId",attrs:{type:"dialog"}},[i("uni-popup-dialog",{ref:"inputClose",attrs:{mode:"input",title:"配置堆垛机",value:t.crnId,placeholder:"示例:1"},on:{confirm:function(n){arguments[0]=n=t.$handleEvent(n),t.crnConfirm.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:t.ejectShow,expression:"ejectShow"}],staticClass:"eject-mask"},[i("v-uni-view",{staticClass:"eject"},[i("v-uni-view",{staticClass:"eject-title"},[t._v("修改 / 配置")]),i("v-uni-view",{staticClass:"eject-input"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("ip:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseIP,callback:function(n){t.baseIP=n},expression:"baseIP"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("port:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.basePort,callback:function(n){t.basePort=n},expression:"basePort"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("ledId:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseLedId,callback:function(n){t.baseLedId=n},expression:"baseLedId"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"desc"},[t._v("CrnId:")]),i("v-uni-view",{staticClass:"input"},[i("v-uni-input",{attrs:{type:"text"},model:{value:t.baseCrnId,callback:function(n){t.baseCrnId=n},expression:"baseCrnId"}})],1)],1)],1),i("v-uni-view",{staticClass:"eject-button"},[i("v-uni-view",{staticClass:"button-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejectClose.apply(void 0,arguments)}}},[t._v("取 消")]),i("v-uni-view",{staticClass:"button-item",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.ejectConfirm.apply(void 0,arguments)}}},[t._v("确 认")])],1)],1)],1)],1)},o=[]},"608f":function(t){t.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"確定","uni-popup.placeholder":"請輸入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},"6b2c":function(t,n,e){"use strict";var i=e("3f77"),a=e.n(i);a.a},"75f2":function(t,n,e){var i=e("e64a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("fb8ea27a",i,!0,{sourceMap:!1,shadowMode:!1})},7714:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("e9c4");var a=i(e("6bf8")),o=i(e("f887")),s={data:function(){return{commonUrl:null,show:!0,modeClass:"fade",styles:{},baseIP:"",baseLedId:"",basePort:"",crnId:"",value:"",xDistance:0,yDistance:0,xDuration:0,yDuration:0,used:317,usedPr:90,stockCount:0,emptyCount:0,noneCount:0,chartsData:{Line:{categories:[],series:[]},Pie:{series:[{data:[]}]}},chartsDataLine1:{},chartsDataPie2:{},ringOpts:{},year:2022,month:4,day:14,hours:13,minutes:38,seconds:13,week:"星期四",ani:"",move:!1,topMove:"topUp",floorMove:"",version:"",newspaper:"",errorPaper:"",title:"",staNo:"",matnr:"",maknx:"",specs:"",count:"",orderNo:null,doneOfTray:"",totalOfTray:"",doneOfUnit:"",totalOfUnit:"",errorMsg:null,width:"full-width",errorShow:"",pakinShow:"",pakinGun:"",orderShow:!1,swiper:"swiper-here",autoplay:!0,interval:1e3,duration:8e3,matList:[],ejectShow:!1}},mounted:function(){var t=uni.getStorageSync("BaseIp"),n=uni.getStorageSync("BaseLedId"),e=uni.getStorageSync("BasePort"),i=uni.getStorageSync("BaseCrnId");this.baseIP=t,this.baseLedId=n,this.basePort=e,this.baseCrnId=i,this.getUrl()},onLoad:function(){},onReady:function(){var t=this;setInterval((function(){t.initlineChart(),t.initPieChart(),t.getServerData(),t.getOther(),t.getDate(),t.getPakin(),t.getError(),t.animation(),t.getUrl()}),1e3)},methods:{getUrl:function(){this.commonUrl=this.baseHttp+this.baseIP+":"+this.basePort+this.baseUrl,this.chartsDataLine1=JSON.parse(JSON.stringify(o.default.Line))},getYYY:function(){var t=a.default.dataEEE,n=t.data;if(n.data&&""!==n.data)this.errorMsg=n.data,this.errorShow=!0,this.move=!1;else{if(this.errorPaper="",this.errorShow=!1,this.pakinShow)return;this.move=!0}},getEEE:function(){var t=a.default.dataYYY,n=t.data;if(n.data&&null!==n.data){if(101===n.data[0].ioType?this.title="全板出库":103===n.data[0].ioType&&(this.title="检料出库"),this.staNo="目标站:"+n.data[0].staNo,this.matnr="物料号:"+n.data[0].matDtos[0].matnr,this.maknx="品号:"+n.data[0].matDtos[0].maknx,this.count="出库数量:"+n.data[0].matDtos[0].count,n.data[0].orderNo?(this.orderNo="订单号:"+n.data[0].orderNo,this.orderShow=!0,this.width="half-width"):(this.orderNo=null,this.orderShow=!1,this.width="full-width"),this.doneOfTray="已出托盘数:"+n.data[0].doneOfTray,this.totalOfTray="托盘总数量:"+n.data[0].totalOfTray,this.doneOfUnit="已出箱数:"+n.data[0].doneOfUnit,this.totalOfUnit="总箱数:"+n.data[0].totalOfUnit,this.errorShow)return;this.newspaper="",this.move=!1}else this.move=!0},getError:function(){var t,n=this;uni.request({url:n.commonUrl+"/monitor/led/error",data:{ledId:n.baseLedId},method:"GET",success:function(e){t=e.data,t.data&&""!==t.data?(n.errorMsg=t.data,n.errorShow=!0,n.move=!1):n.errorShow=!1}})},getPakin:function(){var t=this;t.matList=[];var n;uni.request({url:t.commonUrl+"/monitor/led",data:{ledId:t.baseLedId},method:"GET",success:function(e){n=e.data,t.errorShow||(n.data&&null!==n.data?(101===n.data[0].ioType?t.title="全板出库":103===n.data[0].ioType?t.title="检料出库":t.title=n.data[0].title,t.staNo="目标站:"+n.data[0].staNo,t.matnr="物料号:"+n.data[0].matDtos[0].matnr,t.maknx="品号:"+n.data[0].matDtos[0].maknx,t.specs="规格:"+n.data[0].matDtos[0].specs,t.count="出库数量:"+n.data[0].matDtos[0].count,n.data[0].orderNo?(t.orderNo="订单号:"+n.data[0].orderNo,t.orderShow=!0,t.width="half-width"):(t.orderNo=null,t.orderShow=!1,t.width="full-width"),t.doneOfTray="已出托盘数:"+n.data[0].doneOfTray,t.totalOfTray="托盘总数量:"+n.data[0].totalOfTray,t.doneOfUnit="已出箱数:"+n.data[0].doneOfUnit,t.totalOfUnit="总箱数:"+n.data[0].totalOfUnit,t.newspaper="",t.move=!1):t.move=!0)}})},animation:function(){this.move?(this.topMove="topUp",this.floorMove="floorUp"):(this.topMove="topDown",this.floorMove="floorDown")},getDateFormat:function(t){var n=new Date;n.setDate(n.getDate()+t);var e=n.getMonth()+1,i=n.getDate(),a=e+"-"+i;return a},initlineChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/line/charts",method:"GET",success:function(n){var e=n.data;console.log(n),200===e.code&&(t.chartsData.Line.categories=[t.getDateFormat(-11),t.getDateFormat(-10),t.getDateFormat(-9),t.getDateFormat(-8),t.getDateFormat(-7),t.getDateFormat(-6),t.getDateFormat(-5),t.getDateFormat(-4),t.getDateFormat(-3),t.getDateFormat(-2),t.getDateFormat(-1),t.getDateFormat(0)],t.chartsData.Line.series=e.data.rows)}})},initPieChart:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/loc/rep",method:"GET",success:function(n){var e=n.data;200===e.code&&(t.chartsData.Pie.series[0].data=e.data.pie,t.stockCount=e.data.stockCunt,t.emptyCount=e.data.emptyCount,t.noneCount=e.data.noneCount,t.used=e.data.used,t.usedPr=e.data.usedPr)}})},getOther:function(){var t=this;uni.request({url:t.commonUrl+"/monitor/other",data:{crnId:t.baseCrnId,ledId:1},success:function(n){console.log(n);var e=n.data;200===e.code?(t.xDistance=e.data.xDistance,t.yDistance=e.data.yDistance,t.xDuration=e.data.xDuration,t.yDuration=e.data.yDuration):e.code}})},ejected:function(){this.ejectShow=!0},ejectConfirm:function(){uni.setStorageSync("BaseIp",this.baseIP),uni.setStorageSync("BaseLedId",this.baseLedId),uni.setStorageSync("BasePort",this.basePort),uni.setStorageSync("BaseCrnId",this.baseCrnId),this.getUrl(),this.ejectShow=!1},ejectClose:function(){this.ejectShow=!1},getServerData:function(){this.chartsDataLine1=JSON.parse(JSON.stringify(this.chartsData.Line)),this.chartsDataPie2=JSON.parse(JSON.stringify(this.chartsData.Pie))},complete:function(t){console.log("渲染完成事件",t)},getDate:function(){var t=new Date;switch(this.year=t.getFullYear(),this.month=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,this.day=t.getDate()<10?"0"+t.getDate():t.getDate(),this.hours=t.getHours()<10?"0"+t.getHours():t.getHours(),this.minutes=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),this.seconds=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds(),this.weeks=t.getDay(),this.weeks){case 0:this.week="星期日";break;case 1:this.week="星期一";break;case 2:this.week="星期二";break;case 3:this.week="星期三";break;case 4:this.week="星期四";break;case 5:this.week="星期五";break;default:this.week="星期六"}}}};n.default=s},"8b3f":function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("a9e3");var a=i(e("309e")),o=e("37dc"),s=i(e("db2a")),r=(0,o.initVueI18n)(s.default),l=r.t,c={name:"uniPopupDialog",mixins:[a.default],emits:["confirm","close"],props:{value:{type:[String,Number],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1},cancelText:{type:String,default:""},confirmText:{type:String,default:""}},data:function(){return{dialogType:"error",focus:!1,val:""}},computed:{okText:function(){return this.confirmText||l("uni-popup.ok")},closeText:function(){return this.cancelText||l("uni-popup.cancel")},placeholderText:function(){return this.placeholder||l("uni-popup.placeholder")},titleText:function(){return this.title||l("uni-popup.title")}},watch:{type:function(t){this.dialogType=t},mode:function(t){"input"===t&&(this.dialogType="info")},value:function(t){this.val=t}},created:function(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value):this.dialogType=this.type},mounted:function(){this.focus=!0},methods:{onOk:function(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog:function(){this.$emit("close"),this.beforeClose||this.popup.close()},close:function(){this.popup.close()}}};n.default=c},"9ac9":function(t,n,e){"use strict";var i=e("75f2"),a=e.n(i);a.a},"9b37":function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-popup-dialog[data-v-99b3946c]{width:300px;border-radius:11px;background-color:#fff}.uni-dialog-title[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;padding-top:25px}.uni-dialog-title-text[data-v-99b3946c]{font-size:16px;font-weight:500}.uni-dialog-content[data-v-99b3946c]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:20px}.uni-dialog-content-text[data-v-99b3946c]{font-size:14px;color:#6c6c6c}.uni-dialog-button-group[data-v-99b3946c]{display:flex;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button[data-v-99b3946c]{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:45px}.uni-border-left[data-v-99b3946c]{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text[data-v-99b3946c]{font-size:16px;color:#333}.uni-button-color[data-v-99b3946c]{color:#007aff}.uni-dialog-input[data-v-99b3946c]{flex:1;font-size:14px;border:1px #eee solid;height:40px;padding:0 10px;border-radius:5px;color:#555}.uni-popup__success[data-v-99b3946c]{color:#4cd964}.uni-popup__warn[data-v-99b3946c]{color:#f0ad4e}.uni-popup__error[data-v-99b3946c]{color:#dd524d}.uni-popup__info[data-v-99b3946c]{color:#909399}',""]),t.exports=n},a65d:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("7db0"),e("d3b7"),e("b64b"),e("caad"),e("2532");var i={name:"Keypress",props:{disable:{type:Boolean,default:!1}},mounted:function(){var t=this,n={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]};document.addEventListener("keyup",(function(e){if(!t.disable){var i=Object.keys(n).find((function(t){var i=e.key,a=n[t];return a===i||Array.isArray(a)&&a.includes(i)}));i&&setTimeout((function(){t.$emit(i,{})}),0)}}))},render:function(){}};n.default=i},a750:function(t,n,e){"use strict";e.r(n);var i=e("7714"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},aad2:function(t,n,e){"use strict";e.r(n);var i=e("5691"),a=e("a750");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("9ac9");var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"f53b5424",null,!1,i["a"],void 0);n["default"]=r.exports},bac9:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"uni-popup-dialog"},[e("v-uni-view",{staticClass:"uni-dialog-title"},[e("v-uni-text",{staticClass:"uni-dialog-title-text",class:["uni-popup__"+t.dialogType]},[t._v(t._s(t.titleText))])],1),"base"===t.mode?e("v-uni-view",{staticClass:"uni-dialog-content"},[t._t("default",[e("v-uni-text",{staticClass:"uni-dialog-content-text"},[t._v(t._s(t.content))])])],2):e("v-uni-view",{staticClass:"uni-dialog-content"},[t._t("default",[e("v-uni-input",{staticClass:"uni-dialog-input",attrs:{type:"text",placeholder:t.placeholderText,focus:t.focus},model:{value:t.val,callback:function(n){t.val=n},expression:"val"}})])],2),e("v-uni-view",{staticClass:"uni-dialog-button-group"},[e("v-uni-view",{staticClass:"uni-dialog-button",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.closeDialog.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"uni-dialog-button-text"},[t._v(t._s(t.closeText))])],1),e("v-uni-view",{staticClass:"uni-dialog-button uni-border-left",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onOk.apply(void 0,arguments)}}},[e("v-uni-text",{staticClass:"uni-dialog-button-text uni-button-color"},[t._v(t._s(t.okText))])],1)],1)],1)},a=[]},c3ae:function(t){t.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"确定","uni-popup.placeholder":"请输入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},c6dc:function(t,n,e){"use strict";e.r(n);var i=e("bac9"),a=e("3e54");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("6b2c");var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"99b3946c",null,!1,i["a"],void 0);n["default"]=r.exports},db2a:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("fbad")),o=i(e("c3ae")),s=i(e("608f")),r={en:a.default,"zh-Hans":o.default,"zh-Hant":s.default};n.default=r},dbf0:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("c975");var a=i(e("a65d")),o={name:"uniPopup",components:{keypress:a.default},emits:["change","maskClick"],props:{animation:{type:Boolean,default:!0},type:{type:String,default:"center"},isMaskClick:{type:Boolean,default:null},maskClick:{type:Boolean,default:null},backgroundColor:{type:String,default:"none"},safeArea:{type:Boolean,default:!0},maskBackgroundColor:{type:String,default:"rgba(0, 0, 0, 0.4)"}},watch:{type:{handler:function(t){this.config[t]&&this[this.config[t]](!0)},immediate:!0},isDesktop:{handler:function(t){this.config[t]&&this[this.config[this.type]](!0)},immediate:!0},maskClick:{handler:function(t){this.mkclick=t},immediate:!0},isMaskClick:{handler:function(t){this.mkclick=t},immediate:!0},showPopup:function(t){document.getElementsByTagName("body")[0].style.overflow=t?"hidden":"visible"}},data:function(){return{duration:300,ani:[],showPopup:!1,showTrans:!1,popupWidth:0,popupHeight:0,config:{top:"top",bottom:"bottom",center:"center",left:"left",right:"right",message:"top",dialog:"center",share:"bottom"},maskClass:{position:"fixed",bottom:0,top:0,left:0,right:0,backgroundColor:"rgba(0, 0, 0, 0.4)"},transClass:{position:"fixed",left:0,right:0},maskShow:!0,mkclick:!0,popupstyle:this.isDesktop?"fixforpc-top":"top"}},computed:{isDesktop:function(){return this.popupWidth>=500&&this.popupHeight>=500},bg:function(){return""===this.backgroundColor||"none"===this.backgroundColor?"transparent":this.backgroundColor}},mounted:function(){var t=this;(function(){var n=uni.getSystemInfoSync(),e=n.windowWidth,i=n.windowHeight,a=n.windowTop,o=n.safeArea,s=(n.screenHeight,n.safeAreaInsets);t.popupWidth=e,t.popupHeight=i+a,t.safeAreaInsets=o?s.bottom:0})()},created:function(){null===this.isMaskClick&&null===this.maskClick?this.mkclick=!0:this.mkclick=null!==this.isMaskClick?this.isMaskClick:this.maskClick,this.animation?this.duration=300:this.duration=0,this.messageChild=null,this.clearPropagation=!1,this.maskClass.backgroundColor=this.maskBackgroundColor},methods:{closeMask:function(){this.maskShow=!1},disableMask:function(){this.mkclick=!1},clear:function(t){t.stopPropagation(),this.clearPropagation=!0},open:function(t){t&&-1!==["top","center","bottom","left","right","message","dialog","share"].indexOf(t)||(t=this.type),this.config[t]?(this[this.config[t]](),this.$emit("change",{show:!0,type:t})):console.error("缺少类型:",t)},close:function(t){var n=this;this.showTrans=!1,this.$emit("change",{show:!1,type:this.type}),clearTimeout(this.timer),this.timer=setTimeout((function(){n.showPopup=!1}),300)},touchstart:function(){this.clearPropagation=!1},onTap:function(){this.clearPropagation?this.clearPropagation=!1:(this.$emit("maskClick"),this.mkclick&&this.close())},top:function(t){var n=this;this.popupstyle=this.isDesktop?"fixforpc-top":"top",this.ani=["slide-top"],this.transClass={position:"fixed",left:0,right:0,backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0,this.$nextTick((function(){n.messageChild&&"message"===n.type&&n.messageChild.timerClose()})))},bottom:function(t){this.popupstyle="bottom",this.ani=["slide-bottom"],this.transClass={position:"fixed",left:0,right:0,bottom:0,paddingBottom:this.safeAreaInsets+"px",backgroundColor:this.bg},t||(this.showPopup=!0,this.showTrans=!0)},center:function(t){this.popupstyle="center",this.ani=["zoom-out","fade"],this.transClass={position:"fixed",display:"flex",flexDirection:"column",bottom:0,left:0,right:0,top:0,justifyContent:"center",alignItems:"center"},t||(this.showPopup=!0,this.showTrans=!0)},left:function(t){this.popupstyle="left",this.ani=["slide-left"],this.transClass={position:"fixed",left:0,bottom:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)},right:function(t){this.popupstyle="right",this.ani=["slide-right"],this.transClass={position:"fixed",bottom:0,right:0,top:0,backgroundColor:this.bg,display:"flex",flexDirection:"column"},t||(this.showPopup=!0,this.showTrans=!0)}}};n.default=o},e64a:function(t,n,e){var i=e("24fb"),a=e("1de5"),o=e("2617"),s=e("88ac");n=i(!1);var r=a(o),l=a(s);n.push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* 弹出:配置区域 */.eject-mask[data-v-f53b5424]{width:100%;height:100%;background-color:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:999;display:flex;align-items:center;justify-content:center}.eject[data-v-f53b5424]{position:relative;width:600px;height:350px;background-color:#eaeaea;border-radius:%?25?%}.eject-title[data-v-f53b5424]{width:100%;height:100px;line-height:100px;font-size:20px;font-weight:700;color:#606266;text-align:center}.item[data-v-f53b5424]{display:flex;align-items:center;margin:10px 0 0 0}.desc[data-v-f53b5424]{display:inline-block;width:40%;text-align:right;color:#606266;font-size:18px}.input[data-v-f53b5424]{display:flex;align-items:center;padding-left:5px;padding-right:5px;width:100%;height:30px;border:1px solid #c0c4cc;margin-right:50px}.eject-input uni-input[data-v-f53b5424]{width:100%}.eject-button[data-v-f53b5424]{display:flex;align-items:center;position:absolute;bottom:0;height:60px;line-height:60px;width:100%;border-top:1px solid #ccc}.button-item[data-v-f53b5424]{width:50%;height:100%;font-size:20px;font-weight:700;text-align:center;color:#909399}.button-item[data-v-f53b5424]:last-child{color:#67c23a;border-left:1px solid #ccc}.full-width[data-v-f53b5424]{width:100%;height:100%;display:inline-block;float:left}.half-width[data-v-f53b5424]{width:50%;height:100%;display:inline-block;float:left}.box-items[data-v-f53b5424]{height:20%;width:100%;\n\t/* background-color: #233751; */line-height:%?300?%}\n/* 当前页面无 orderNo */.swiper-here[data-v-f53b5424]{display:inline-block;margin:0 auto;width:100%;height:100%}\n/* 当前页面有 orderNo */.swiper-here-oN[data-v-f53b5424]{display:inline-block;\n\t/* background-color: #063A7B; */margin:0 auto;width:100%;height:90%}\n/* 当前页面有 error提示 */.swiper-here-error[data-v-f53b5424]{display:inline-block;\n\t/* background-color: #063A7B; */\n\t/* margin: 0 auto; */margin-top:20%;width:100%;height:100%}.animate[data-v-f53b5424]{display:inline-block;\n /* white-space: nowrap; */-webkit-animation:25s wordsLoop-data-v-f53b5424 linear infinite normal;animation:25s wordsLoop-data-v-f53b5424 linear infinite normal}@keyframes wordsLoop-data-v-f53b5424{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}@-webkit-keyframes wordsLoop-data-v-f53b5424{0%{transform:translateY(100px);-webkit-transform:translateY(100px)}100%{transform:translateY(-100%);-webkit-transform:translateY(-100%)}}\n/* animation:upMove 1.5s 1; */\n/* downMove */\n/* 上层向上 */.topUp[data-v-f53b5424]{-webkit-animation:topUp-data-v-f53b5424 1.5s 1;animation:topUp-data-v-f53b5424 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topUp-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:-1080px}to{opacity:1;\n\t\t/* background-color:red; */top:0}}@keyframes topUp-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:-1080px}to{opacity:1;\n\t\t/* background-color:red; */top:0}}\n/* 上层向下 */.topDown[data-v-f53b5424]{-webkit-animation:topDown-data-v-f53b5424 1.5s 1;animation:topDown-data-v-f53b5424 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes topDown-data-v-f53b5424{from{opacity:1;\n\t\t/* background-color:red; */top:0}to{opacity:.5;\n\t\t/* background-color:blue; */top:-1080px}}@keyframes topDown-data-v-f53b5424{from{opacity:1;\n\t\t/* background-color:red; */top:0}to{opacity:.5;\n\t\t/* background-color:blue; */top:-1080px}}\n/* 下层向上 */.floorUp[data-v-f53b5424]{-webkit-animation:floorUp-data-v-f53b5424 1.5s 1;animation:floorUp-data-v-f53b5424 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorUp-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:0}to{opacity:1;\n\t\t/* background-color:red; */top:1080px}}@keyframes floorUp-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:0}to{opacity:1;\n\t\t/* background-color:red; */top:1080px}}\n/* 下层向下 */.floorDown[data-v-f53b5424]{-webkit-animation:floorDown-data-v-f53b5424 1.5s 1;animation:floorDown-data-v-f53b5424 1.5s 1;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes floorDown-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:1080px}to{opacity:1;\n\t\t/* background-color:red; */top:0}}@keyframes floorDown-data-v-f53b5424{from{opacity:.5;\n\t\t/* background-color:blue; */top:1080px}to{opacity:1;\n\t\t/* background-color:red; */top:0}}.top-screen[data-v-f53b5424]{position:fixed;width:1920px;height:1080px;\n\t/* top: -1000px; */background-image:url("+r+");\n\t/* background:red; */\n\t/* animation:upMove 1.5s 1; */z-index:999}.floor-screen[data-v-f53b5424]{width:1920px;height:1080px;position:relative;color:#fff;text-align:center;font-size:%?120?%;letter-spacing:%?5?%;background-image:url("+r+")}.container[data-v-f53b5424]{width:1920px;height:1080px;position:relative\n\t/* background: #000428; \n\tbackground: -webkit-linear-gradient(to right, #004e92, #000428); \n\tbackground: linear-gradient(to right, #004e92, #000428); */}.head[data-v-f53b5424]{\n\t/* background-color: #55aaff; */width:100%;height:10%;text-align:center;line-height:110px;color:#fff;font-size:40px;font-weight:700;letter-spacing:5px}.head uni-text[data-v-f53b5424]{-webkit-transform:scaleY(.9);transform:scaleY(.9)}.time-tools[data-v-f53b5424]{height:5%;\n\t/* background-color: #007AFF; */position:absolute;top:0;float:right;right:50px;font-size:16px;font-weight:400;line-height:70px;letter-spacing:1px}.button-left[data-v-f53b5424]{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:21.3%;width:13.5%;height:8.5%;-webkit-transform:scaleX(-1);transform:scaleX(-1)}.button-right[data-v-f53b5424]{position:absolute;background-image:url("+l+");background-size:100% 100%;top:1.8%;left:65%;width:13.5%;height:8.5%}.main[data-v-f53b5424]{\n\t/* background-color: #3F536E; */position:relative;width:100%;height:90%}.main-sides[data-v-f53b5424]{\n\t/* background-color: #004E92; */position:relative;display:inline-block;float:left;width:50%;height:100%\n\t/* margin: 2% auto 0 3.2%;\n\tborder: 1px solid rgba(20, 80, 136, 1); */}.box[data-v-f53b5424]{position:relative;\n\t/* background-color: #ffffff; */margin:3% 2% 0 2%;width:96%;height:30%;border:1px solid #145088;overflow:hidden}.box-lg[data-v-f53b5424]{height:94%}.box-border[data-v-f53b5424]{position:absolute;\n\t/* background-color: #4CD964; */width:10px;height:10px}.box-border1[data-v-f53b5424]{top:0;left:0;border-left:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border2[data-v-f53b5424]{top:0;right:0;border-right:2px solid #31c4c4;border-top:2px solid #31c4c4}.box-border3[data-v-f53b5424]{bottom:0;left:0;border-bottom:2px solid #31c4c4;border-left:2px solid #31c4c4}.box-border4[data-v-f53b5424]{bottom:0;right:0;border-right:2px solid #31c4c4;border-bottom:2px solid #31c4c4}.content[data-v-f53b5424]{display:flex;flex-direction:column;flex:1}.charts-box[data-v-f53b5424]{width:80%;height:230px;margin-left:10%\n /* background-color: #fff; */}.ring[data-v-f53b5424]{display:inline-block;float:left;width:60%;height:300px;margin-left:-10%}.box-item[data-v-f53b5424]{\n\t/* background-color: #2C405A; */width:92%;height:20%;margin-left:4%;padding-top:1em;color:#fff}.introduce[data-v-f53b5424]{height:30%}.introduce h2[data-v-f53b5424]{letter-spacing:5px}.english[data-v-f53b5424]{font-size:14px}.introduce-content[data-v-f53b5424]{font-size:20px;padding-top:2em;text-indent:2em;line-height:2em}.charge-info[data-v-f53b5424]{\n\t/* background-color: #2C405A; */height:45%}.charge-info-item[data-v-f53b5424]{\n\t/* background-color: #EE6666; */display:inline-block;width:50%;height:40%}.charge-info-item uni-image[data-v-f53b5424]{display:inline-block;float:left;\n\t/* background-color: #4CD964; */height:100%;width:20%}.charge-info-item uni-view[data-v-f53b5424]{display:inline-block;position:relative;margin-left:10%;width:70%;height:49%\n\t/* background-color: #1890FF; */}.charge-info-item .count[data-v-f53b5424], .charge-info-item .unit[data-v-f53b5424]{position:absolute;display:inline-block;font-size:32px;bottom:0;padding-left:5%}.charge-info-item .unit[data-v-f53b5424]{font-size:16px;float:right;right:20%}.footer[data-v-f53b5424]{position:absolute;border:1px solid #145088;height:15%}.use-info[data-v-f53b5424]{\n\t/* background-color: #007AFF; */}.use-left[data-v-f53b5424]{display:inline-block;\n\t/* background-color: #2C405A; */width:40%}.use-right[data-v-f53b5424]{display:inline-block;\n\t/* background-color: #2C405A; */float:right;width:20%}.use-main[data-v-f53b5424]{width:100%;height:75%\n\t/* background-color: #4CD964; */}.use-main .left[data-v-f53b5424]{\n\t/* background-color: #ffaa7f; */display:inline-block;float:left;height:100%;width:70%;line-height:20px}.left .progressBar[data-v-f53b5424]{\n\t/* margin-left: ; */margin-top:9%;width:100%;height:20%;background-color:#233751;border-radius:20px}.left .progress[data-v-f53b5424]{\n\t/* width: 90%; */height:100%;background-color:#ff5722;border-radius:20px}.left uni-progress[data-v-f53b5424]{margin-left:10%;margin-top:10%;display:block}.use-main .right[data-v-f53b5424]{\n\t/* background-color: #ffaaff; */display:inline-block;float:right;height:100%;width:20%;font-size:40px;color:#ff5722;line-height:130px}.box-tp[data-v-f53b5424]{height:30%}.box-tp .sub-main[data-v-f53b5424]{\n\t/* background-color: #FFFFFF; */}.box-md[data-v-f53b5424]{height:43%}.sub-main-right[data-v-f53b5424]{display:inline-block;height:100%;width:50%}.sub-info[data-v-f53b5424]{width:100%;height:33%}.sub-info uni-image[data-v-f53b5424]{display:inline-block;float:left;height:100%;width:15%}.sub-info uni-text[data-v-f53b5424]{display:inline-block;width:40%;height:100%;text-align:center;line-height:120px;font-size:20px}.box-bt[data-v-f53b5424]{background-color:#063a7b;border:none;height:15%;color:#fff}.box-bt uni-image[data-v-f53b5424]{position:absolute;float:right;right:0;top:0;width:20%;height:100%}.box-bt[data-v-f53b5424]{font-size:36px;line-height:140px;text-indent:5em}.right-item[data-v-f53b5424]{height:94%}.sub-left[data-v-f53b5424]{display:inline-block;float:left;width:40%}.sub-right[data-v-f53b5424]{display:inline-block;float:right;width:20%}.sub-main[data-v-f53b5424]{position:absolute;\n\t/* background-color: #31C4C4; */width:92%;height:80%;bottom:0}",""]),t.exports=n},fac2:function(t,n,e){"use strict";e.r(n);var i=e("dbf0"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},fbad:function(t){t.exports=JSON.parse('{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"}')}}]); |
| | |
| | | // ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80} |
| | | // {field: 'adjId', align: 'center',title: '序号'} |
| | | {field: 'locNo', align: 'center',title: '库位号'} |
| | | ,{field: 'matnr', align: 'center',title: '商品编号'} |
| | | ,{field: 'matnr', align: 'center',title: '物料号'} |
| | | ,{field: 'batch', align: 'center',title: '批号'} |
| | | // ,{field: 'oriCtns', align: 'center',title: '原箱数'} |
| | | ,{field: 'oriQty', align: 'center',title: '原数量'} |
| | |
| | | } |
| | | |
| | | var matCols = [ |
| | | {field: 'matnr', align: 'center',title: '商品编号', width: 180} |
| | | {field: 'matnr', align: 'center',title: '物料号', width: 180} |
| | | // {field: 'id', align: 'center',title: 'ID'} |
| | | // ,{field: 'uuid', align: 'center',title: '编号'} |
| | | // ,{field: 'tagId$', align: 'center',title: '所属归类'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', width: 200} |
| | | ,{field: 'maktx', align: 'center',title: '品号', width: 200} |
| | | // ,{field: 'name', align: 'center',title: '别名'} |
| | | ,{field: 'specs', align: 'center',title: '规格'} |
| | | ,{field: 'model', align: 'center',title: '代码', hide: true} |
| | |
| | | ] |
| | | |
| | | var detlCols = [ |
| | | {field: 'matnr', align: 'center',title: '商品编号', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', sort:true} |
| | | {field: 'matnr', align: 'center',title: '物料号', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '品号', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'batch', align: 'center',title: '批号', sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'locNo$', align: 'center',title: '库位号'}, |
| | | {field: 'matnr', align: 'center',title: '商品编号', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false} |
| | | ,{field: 'batch', align: 'center',title: '批号', width: 300, sort:true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | {field: 'matnr', align: 'center',title: '物料号', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '品号', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'batch', align: 'center',title: '批号', hide: true} |
| | | ,{field: 'anfme', align: 'center',title: '数量', sort:true} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘条码'} |
| | | ,{field: 'specs', align: 'center',title: '规格'} |
| | | ,{field: 'model', align: 'center',title: '代码', hide: true} |
| | | ,{field: 'color', align: 'center',title: '颜色', hide: true} |
| | | ,{field: 'brand', align: 'center',title: '类型', hide: false} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: false} |
| | | ,{field: 'price', align: 'center',title: '单价', hide: true} |
| | | ,{field: 'sku', align: 'center',title: 'sku', hide: true} |
| | | ,{field: 'units', align: 'center',title: '单位量', hide: true} |
| | |
| | | ,{field: 'length', align: 'center',title: '单箱毛重', hide: true} |
| | | ,{field: 'volume', align: 'center',title: '单箱体积', hide: true} |
| | | ,{field: 'threeCode', align: 'center',title: '箱子尺寸', hide: true} |
| | | ,{field: 'supp', align: 'center',title: '供应商', hide: true} |
| | | ,{field: 'supp', align: 'center',title: '供应商', hide: false} |
| | | ,{field: 'suppCode', align: 'center',title: '供应商编码', hide: true} |
| | | ,{field: 'beBatch$', align: 'center',title: '是否批次', hide: true} |
| | | ,{field: 'deadTime', align: 'center',title: '保质期', hide: true} |
| | |
| | | |
| | | // cols.push.apply(cols, detlCols); |
| | | cols.push({field: 'modiUser$', align: 'center',title: '修改人员',hide: true} |
| | | ,{field: 'modiTime$', align: 'center',title: '修改时间'} |
| | | ,{field: 'modiTime$', align: 'center',title: '修改时间', sort:true} |
| | | ) |
| | | return cols; |
| | | } |
| | |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'locNo', align: 'center',title: '库位号'}, |
| | | {field: 'matnr', align: 'center',title: '商品编号', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', sort:true} |
| | | {field: 'matnr', align: 'center',title: '物料号', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '品号', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: true} |
| | | ,{field: 'specs', align: 'center',title: '规格'} |
| | | ,{field: 'weight', align: 'center',title: '单箱净重', hide: false} |
| | |
| | | success: function (layero, dIndex) { |
| | | // 回显表单数据 |
| | | form.val('detail', mData); |
| | | // 新增自动生成商品编号 |
| | | // 新增自动生成物料号 |
| | | if (!mData) { |
| | | http.get(baseUrl + "/mat/auto/matnr/auth", null, function (res) { |
| | | $('#matnr').val(res.data); |
| | |
| | | ,{field: 'id', align: 'center',title: 'ID',hide: true} |
| | | ,{field: 'uuid', align: 'center',title: '上级序号',hide: false} |
| | | ,{field: 'tagId', align: 'center',title: '当前序号',hide: false} |
| | | ,{field: 'matnr', align: 'center',title: '商品编码',hide: false} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称',hide: false} |
| | | ,{field: 'matnr', align: 'center',title: '物料号',hide: false} |
| | | ,{field: 'maktx', align: 'center',title: '品号',hide: false} |
| | | ,{field: 'name', align: 'center',title: '',hide: true} |
| | | ,{field: 'specs', align: 'center',title: '规格',hide: false} |
| | | ,{field: 'model', align: 'center',title: '',hide: true} |
| | |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | {type: 'numbers'}, |
| | | {field: 'matnr', title: '商品编码', width: 160}, |
| | | {field: 'maktx', title: '商品名称', width: 160}, |
| | | {field: 'matnr', title: '物料号', width: 160}, |
| | | {field: 'maktx', title: '品号', width: 160}, |
| | | {field: 'batch', title: '批号'}, |
| | | {field: 'anfme', title: '数量'}, |
| | | {field: 'supp', title: '立库库存', templet: function (item){ |
| | |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | {type: 'numbers', title: '#'}, |
| | | {field: 'matnr', title: '商品编码', width: 160}, |
| | | {field: 'maktx', title: '商品名称', width: 200}, |
| | | {field: 'matnr', title: '物料号', width: 160}, |
| | | {field: 'maktx', title: '品号', width: 200}, |
| | | {field: 'batch', title: '批号', edit: true}, |
| | | {field: 'specs', title: '规格'}, |
| | | {field: 'anfme', title: '数量(修改)', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110}, |
| | |
| | | {type: 'checkbox'} |
| | | ,{type: 'numbers', title: '#'} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', templet: '#orderNoTpl', width: 160} |
| | | ,{field: 'matnr', align: 'center',title: '商品编码', width: 160} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', width: 200} |
| | | ,{field: 'matnr', align: 'center',title: '物料号', width: 160} |
| | | ,{field: 'maktx', align: 'center',title: '品号', width: 200} |
| | | ,{field: 'batch', align: 'center',title: '序列码'} |
| | | ,{field: 'specs', align: 'center',title: '规格'} |
| | | ,{field: 'anfme', align: 'center',title: '总数量', style: 'font-weight: bold'} |
| | |
| | | ,{field: 'id', align: 'center',title: 'ID'} |
| | | ,{field: 'orderId$', align: 'center',title: '订单内码'} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'matnr', align: 'center',title: '商品编码'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称'} |
| | | ,{field: 'matnr', align: 'center',title: '物料号'} |
| | | ,{field: 'maktx', align: 'center',title: '品号'} |
| | | ,{field: 'name', align: 'center',title: '名称'} |
| | | ,{field: 'specs', align: 'center',title: '规格'} |
| | | ,{field: 'model', align: 'center',title: '型号'} |
| | |
| | | {type: 'checkbox'} |
| | | // ,{field: 'id', align: 'center',title: 'ID'} |
| | | ,{field: 'barcode',title: '条码'} |
| | | ,{field: 'matnr', align: 'center',title: '商品编号', minWidth: 250, width: 250} |
| | | ,{field: 'matnr', align: 'center',title: '物料号', minWidth: 250, width: 250} |
| | | ,{field: 'batch', align: 'center',title: '批号', hide: true} |
| | | ,{field: 'settle$', align: 'center',title: '状态', templet: '#settleTpl', minWidth: 160, width: 160} |
| | | // ,{field: 'status$', align: 'center',title: '状态'} |
| | |
| | | width: 120, |
| | | style: 'color: blue;font-weight: bold' |
| | | }, |
| | | {field: 'matnr', align: 'center', title: '商品编号'}, |
| | | {field: 'maktx', align: 'center', title: '商品名称'}, |
| | | {field: 'matnr', align: 'center', title: '物料号'}, |
| | | {field: 'maktx', align: 'center', title: '品号'}, |
| | | {field: 'specs', align: 'center', title: '规格'}, |
| | | {fixed: 'right', title: '操作', align: 'center', toolbar: '#operate', width: 200} |
| | | ]] |
| | |
| | | ,{field: 'docNum', align: 'center',title: '拣货单号'} |
| | | ,{field: 'locNo', align: 'center',title: '库位'} |
| | | ,{field: 'matnr', align: 'center',title: '物料号'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称'} |
| | | ,{field: 'maktx', align: 'center',title: '品号'} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ,{field: 'createTime$', align: 'center',title: '操作时间'} |
| | | ,{field: 'status$', align: 'center',title: '状态'} |
| | |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | {type: 'numbers'}, |
| | | {field: 'matnr', title: '商品编码', width: 160}, |
| | | {field: 'maktx', title: '商品名称', width: 160}, |
| | | {field: 'matnr', title: '物料号', width: 160}, |
| | | {field: 'maktx', title: '品号', width: 160}, |
| | | {field: 'batch', title: '批号'}, |
| | | {field: 'anfme', title: '数量'}, |
| | | // {field: 'workQty', title: '作业数量'}, |
| | |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | {type: 'numbers', title: '#'}, |
| | | {field: 'matnr', title: '商品编码', width: 160}, |
| | | {field: 'maktx', title: '商品名称', width: 200}, |
| | | {field: 'matnr', title: '物料号', width: 160}, |
| | | {field: 'maktx', title: '品号', width: 200}, |
| | | {field: 'batch', title: '批号', edit: true}, |
| | | {field: 'specs', title: '规格'}, |
| | | {field: 'anfme', title: '数量(修改)', style: 'color: blue;font-weight: bold', edit: true, minWidth: 110, width: 110}, |
| | |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'oneday', align: 'center', title: '入库日期', width: 200} |
| | | ,{field: 'matnr', align: 'center',title: '商品编号'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称'} |
| | | ,{field: 'matnr', align: 'center',title: '物料号'} |
| | | ,{field: 'maktx', align: 'center',title: '品号'} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ]; |
| | | |
| | |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'oneday', align: 'center', title: '入库日期', width: 200} |
| | | ,{field: 'matnr', align: 'center',title: '商品编号'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称'} |
| | | ,{field: 'matnr', align: 'center',title: '物料号'} |
| | | ,{field: 'maktx', align: 'center',title: '品号'} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | | ]; |
| | | |
| | |
| | | function getCol() { |
| | | var cols = [ |
| | | {field: 'locNo', align: 'center',title: '库位号'}, |
| | | {field: 'matnr', align: 'center',title: '商品编号', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', sort:true} |
| | | {field: 'matnr', align: 'center',title: '物料号', sort:true} |
| | | ,{field: 'maktx', align: 'center',title: '品号', sort:true} |
| | | ,{field: 'orderNo', align: 'center',title: '单据编号', hide: false, hide: true} |
| | | ,{field: 'batch', align: 'center',title: '批号', width: 300, sort:true , hide: true} |
| | | ,{field: 'anfme', align: 'center',title: '数量'} |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="maktx" placeholder="商品名称" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="maktx" placeholder="品号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | <div id="search-box" class="layui-form layui-card-header"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="商品编码" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="maktx" placeholder="商品名称" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="maktx" 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="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="layui-inline">--> |
| | | <!-- <div class="layui-input-inline">--> |
| | | <!-- <input class="layui-input" type="text" name="row" placeholder="排数" autocomplete="off">--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="condition" placeholder="请输入" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="maktx" placeholder="品号" autocomplete="off"> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="规格" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="brand" placeholder="类型" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 待添加 --> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品编号:</label> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">物料号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="matnr" class="layui-input" placeholder="输入商品编号"/> |
| | | <input name="matnr" class="layui-input" placeholder="输入物料号"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品名称:</label> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">品号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="maktx" class="layui-input" placeholder="输入商品名称"/> |
| | | <input name="maktx" class="layui-input" placeholder="输入品号"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline">  |
| | |
| | | <div id="search-box" class="layui-form layui-card-header"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="maktx" placeholder="商品名称" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="maktx" placeholder="品号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="specs" placeholder="规格" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="brand" placeholder="类型" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 待添加 --> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品编号:</label> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">物料号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="matnr" class="layui-input" placeholder="输入商品编号"/> |
| | | <input name="matnr" class="layui-input" placeholder="输入物料号"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品名称:</label> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">品号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="maktx" class="layui-input" placeholder="输入商品名称"/> |
| | | <input name="maktx" class="layui-input" placeholder="输入品号"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline">  |
| | |
| | | <!-- 表格工具栏2 --> |
| | | <div id="search-box" class="layui-form toolbar" style="padding-top: 5px"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品编号:</label> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">物料号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="matnr" class="layui-input" placeholder="输入商品编号"/> |
| | | <input name="matnr" class="layui-input" placeholder="输入物料号"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">商品名称:</label> |
| | | <label class="layui-form-label" style="padding: 8px 15px 8px 15px">品号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="maktx" class="layui-input" placeholder="输入商品名称"/> |
| | | <input name="maktx" class="layui-input" placeholder="输入品号"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline">  |
| | |
| | | <button class="layui-btn layui-btn-sm layui-btn-normal" id="btn-add" lay-event="addData">新增</button> |
| | | <button class="layui-btn layui-btn-sm layui-btn-danger" id="btn-delete" lay-event="deleteData">删除</button> |
| | | <!-- 商品/物料 数据中心 --> |
| | | <div class="dropdown-menu" style="float: right"> |
| | | <button class="layui-btn layui-btn-primary layui-border-black icon-btn layui-btn-sm"> 数据同步 <i class="layui-icon layui-icon-drop"></i></button> |
| | | <ul class="dropdown-menu-nav dark"> |
| | | <div class="dropdown-anchor"></div> |
| | | <li class="title">1st menu</li> |
| | | <li><a onclick="excelMouldDownload()" style="font-size: 12px"><i class="layui-icon layui-icon-template-1"></i>模板下载</a></li> |
| | | <li><a onclick="importExcel()" style="font-size: 12px"><i class="layui-icon layui-icon-upload"></i>导入 Excel</a></li> |
| | | <li style="display: none"><input id="importExcel" type="file" onchange="upload(this)" ></li> |
| | | <hr> |
| | | <li class="title">2nd menu</li> |
| | | <li><a onclick="exportExcel()" style="font-size: 12px"><i class="layui-icon layui-icon-export"></i>导出 Excel</a></li> |
| | | </ul> |
| | | </div> |
| | | <!-- <div class="dropdown-menu" style="float: right">--> |
| | | <!-- <button class="layui-btn layui-btn-primary layui-border-black icon-btn layui-btn-sm"> 数据同步 <i class="layui-icon layui-icon-drop"></i></button>--> |
| | | <!-- <ul class="dropdown-menu-nav dark">--> |
| | | <!-- <div class="dropdown-anchor"></div>--> |
| | | <!-- <li class="title">1st menu</li>--> |
| | | <!-- <li><a onclick="excelMouldDownload()" style="font-size: 12px"><i class="layui-icon layui-icon-template-1"></i>模板下载</a></li>--> |
| | | <!-- <li><a onclick="importExcel()" style="font-size: 12px"><i class="layui-icon layui-icon-upload"></i>导入 Excel</a></li>--> |
| | | <!-- <li style="display: none"><input id="importExcel" type="file" onchange="upload(this)" ></li>--> |
| | | <!-- <hr>--> |
| | | <!-- <li class="title">2nd menu</li>--> |
| | | <!-- <li><a onclick="exportExcel()" style="font-size: 12px"><i class="layui-icon layui-icon-export"></i>导出 Excel</a></li>--> |
| | | <!-- </ul>--> |
| | | <!-- </div>--> |
| | | <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData" style="float: right;margin-right: -10px">全量导出</button> |
| | | </div> |
| | | </script> |
| | |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label layui-form-required">商品名称</label> |
| | | <label class="layui-form-label layui-form-required">品号</label> |
| | | <div class="layui-input-block"> |
| | | <input name="maktx" placeholder="请输入商品名称" class="layui-input" lay-vertype="tips" lay-verify="required" required=""> |
| | | <input name="maktx" placeholder="请输入品号" class="layui-input" lay-vertype="tips" lay-verify="required" required=""> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">配置</label> |
| | | <label class="layui-form-label">单位</label> |
| | | <div class="layui-input-block"> |
| | | <input name="specs" placeholder="请输入配置" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">单箱净重</label> |
| | | <div class="layui-input-block"> |
| | | <input name="weight" placeholder="请输入单箱净重格" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">单箱体积</label> |
| | | <div class="layui-input-block"> |
| | | <input name="volume" placeholder="请输入单箱体积" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <div class="layui-col-md6"> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label layui-form-required">商品编号</label> |
| | | <div class="layui-input-block"> |
| | | <input id="matnr" name="matnr" placeholder="请输入商品编号" class="layui-input" lay-vertype="tips" lay-verify="required" required=""> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">规格</label> |
| | | <div class="layui-input-block"> |
| | | <input name="specs" placeholder="请输入代码" class="layui-input"> |
| | | <input name="unit" placeholder="请输入单位" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <!-- <div class="layui-form-item">--> |
| | | <!-- <label class="layui-form-label">单箱净重</label>--> |
| | | <!-- <div class="layui-input-block">--> |
| | | <!-- <input name="weight" placeholder="请输入单箱净重格" class="layui-input">--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | |
| | | <!-- <div class="layui-form-item">--> |
| | | <!-- <label class="layui-form-label">单箱体积</label>--> |
| | | <!-- <div class="layui-input-block">--> |
| | | <!-- <input name="volume" placeholder="请输入单箱体积" class="layui-input">--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | |
| | | </div> |
| | | |
| | | <div class="layui-col-md6"> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">单箱毛重</label> |
| | | <label class="layui-form-label layui-form-required">物料号</label> |
| | | <div class="layui-input-block"> |
| | | <input name="length" placeholder="请输入单箱毛重" class="layui-input"> |
| | | <input id="matnr" name="matnr" placeholder="请输入物料号" class="layui-input" lay-vertype="tips" lay-verify="required" required=""> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">单箱体积</label> |
| | | <label class="layui-form-label">规格</label> |
| | | <div class="layui-input-block"> |
| | | <input name="threeCode" placeholder="请输入箱子尺寸" class="layui-input"> |
| | | <input name="specs" placeholder="请输入规格" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">类型</label> |
| | | <div class="layui-input-block"> |
| | | <input name="brand" placeholder="请输入类型" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">供应商</label> |
| | | <div class="layui-input-block"> |
| | | <input name="supp" placeholder="请输入供应商" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- <div class="layui-form-item">--> |
| | | <!-- <label class="layui-form-label">箱子尺寸</label>--> |
| | | <!-- <div class="layui-input-block">--> |
| | | <!-- <input name="threeCode" placeholder="请输入箱子尺寸" class="layui-input">--> |
| | | <!-- </div>--> |
| | | <!-- </div>--> |
| | | |
| | | </div> |
| | | </div> |
| | |
| | | <div id="template-preview-1" class="template-preview" style="display: inline-block"> |
| | | <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;"> |
| | | <tr style="height: 74px"> |
| | | <td colspan="3" align="center" scope="col">商品编码</td> |
| | | <td colspan="3" align="center" scope="col">物料号</td> |
| | | <td class="barcode" colspan="9" align="center" scope="col"> |
| | | <img class="template-code template-barcode" src="" width="90%;"> |
| | | <div style="letter-spacing: 2px;margin-top: 1px; text-align: center;"> |
| | |
| | | </td> |
| | | </tr> |
| | | <tr style="height: 74px"> |
| | | <td align="center" colspan="3">商品</td> |
| | | <td align="center" colspan="3">品号</td> |
| | | <td align="center" colspan="5">xxxxxx-xx/xx</td> |
| | | <td align="center" colspan="2">备注</td> |
| | | <td align="center" colspan="2">xx</td> |
| | |
| | | <div id="template-preview-2" class="template-preview" style="display: none"> |
| | | <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;"> |
| | | <tr style="height: 30px"> |
| | | <td align="center" width="20%">商品</td> |
| | | <td align="center" width="20%">品号</td> |
| | | <td align="center" width="80%" style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">xxxxxxx</td> |
| | | </tr> |
| | | <tr style="height: 30px"> |
| | |
| | | <div id="template-preview-3" class="template-preview" style="display: none"> |
| | | <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;"> |
| | | <tr style="height: 74px"> |
| | | <td align="center" scope="col" colspan="1">商品</td> |
| | | <td align="center" scope="col" colspan="1">品号</td> |
| | | <td align="center" scope="col" colspan="1" style="">xxxxxx-xx/xx</td> |
| | | <td align="center" scope="col" colspan="2" rowspan="2"> |
| | | <img class="template-code template-qrcode" src="" width="80%"> |
| | |
| | | {{#each data}} |
| | | <table class="contain" width="280" style="overflow: hidden;font-size: small;table-layout: fixed;"> |
| | | <tr style="height: 74px"> |
| | | <td align="center" colspan="3" scope="col">商品编码</td> |
| | | <td align="center" colspan="3" scope="col">物料号</td> |
| | | <td align="center" class="barcode" colspan="9" scope="col"> |
| | | <img class="template-code" src="{{this.barcodeUrl}}" width="90%"> |
| | | <div style="letter-spacing: 2px;margin-top: 1px; text-align: center"> |
| | |
| | | </td> |
| | | </tr> |
| | | <tr style="height: 74px"> |
| | | <td align="center" colspan="3">商品</td> |
| | | <td align="center" colspan="3">品号</td> |
| | | <td align="center" colspan="5" style="overflow: hidden; white-space: nowrap;text-overflow: ellipsis;">{{this.maktx}}</td> |
| | | <td align="center" colspan="2">备注</td> |
| | | <td align="center" colspan="2">{{this.memo}}</td> |
| | |
| | | {{#each data}} |
| | | <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;"> |
| | | <tr style="height: 35px"> |
| | | <td align="center" width="20%">商品</td> |
| | | <td align="center" width="20%">品号</td> |
| | | <td align="center" width="80%" style="overflow:hidden; white-space:nowrap; text-overflow:ellipsis;">{{this.maktx}}</td> |
| | | </tr> |
| | | <tr style="height: 35px"> |
| | |
| | | {{#each data}} |
| | | <table class="contain" width="280" style="overflow: hidden;font-size: xx-small;table-layout: fixed;"> |
| | | <tr style="height: 74px" > |
| | | <td align="center" scope="col" colspan="1">商品</td> |
| | | <td align="center" scope="col" colspan="1">品号</td> |
| | | <td align="center" scope="col" colspan="1" style=" |
| | | display: inline-block; |
| | | line-height: 20px; |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label layui-form-required">商品编码: </label> |
| | | <label class="layui-form-label layui-form-required">物料号: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="matnr" placeholder="请输入" lay-vertype="tips" lay-verify="required"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">商品名称: </label> |
| | | <label class="layui-form-label">品号: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="maktx" placeholder="请输入"> |
| | | </div> |
| | |
| | | <form class="layui-form toolbar"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">商品编码:</label> |
| | | <label class="layui-form-label">物料号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="matnr" class="layui-input" placeholder="商品编码"/> |
| | | <input name="matnr" class="layui-input" placeholder="物料号"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">商品名称:</label> |
| | | <label class="layui-form-label">品号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input name="maktx" class="layui-input" placeholder="商品名称"/> |
| | | <input name="maktx" class="layui-input" placeholder="品号"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | <tr><th colspan="8">材料出库单</th></tr> |
| | | <tr><td>出库单号</td><td colspan="2">HAND1056256517314969600</td><td>出库日期</td><td colspan="2">2022-12-24</td><td>仓库</td><td>1号仓库</td></tr> |
| | | <tr> |
| | | <td>序号</td><td>商品编码</td><td>商品名称</td><td>合同号</td><td>规格型号</td><td>单位</td><td>数量</td><td>备注</td> |
| | | <td>序号</td><td>物料号</td><td>品号</td><td>合同号</td><td>规格型号</td><td>单位</td><td>数量</td><td>备注</td> |
| | | </tr> |
| | | <tr></tr> |
| | | <tr><td>合计</td><td colspan="5"></td><td></td><td></td></tr> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">商品编码: </label> |
| | | <label class="layui-form-label">物料号: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="matnr" placeholder="请输入商品编码"> |
| | | <input class="layui-input" name="matnr" placeholder="请输入物料号"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">商品名称: </label> |
| | | <label class="layui-form-label">品号: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="maktx" placeholder="请输入商品名称"> |
| | | <input class="layui-input" name="maktx" placeholder="请输入品号"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">商品编号: </label> |
| | | <label class="layui-form-label">物料号: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="matnr" placeholder="请输入商品编号"> |
| | | <input class="layui-input" name="matnr" placeholder="请输入物料号"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" 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="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | <div id="search-box" class="layui-form layui-card-header"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="maktx" placeholder="商品名称" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="maktx" placeholder="品号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 日期范围 --> |
| | |
| | | cellMinWidth: 50, |
| | | cols: [[ |
| | | {fixed: 'left', align: 'center', field: 'count', title: '数量', style:'color: blue', width:50}, |
| | | {field: 'matnr', align: 'center', title: '商品编号'}, |
| | | {field: 'maktx', align: 'center', title: '商品名称'} |
| | | {field: 'matnr', align: 'center', title: '物料号'}, |
| | | {field: 'maktx', align: 'center', title: '品号'} |
| | | ]], |
| | | done: function (res, curr, count) { |
| | | } |
| | |
| | | <input id="locNo" type="text" disabled="disabled"> |
| | | </div> |
| | | <div class="form-item"> |
| | | <span>商品编号</span> |
| | | <span>物料号</span> |
| | | <input id="matnr" type="text" disabled="disabled"> |
| | | </div> |
| | | <div class="form-item"> |
| | | <span>商品名称</span> |
| | | <span>品号</span> |
| | | <input id="maktx" type="text" disabled="disabled"> |
| | | </div> |
| | | <div class="form-item"> |
| | |
| | | |
| | | <div class="form-box"> |
| | | <div class="form-item"> |
| | | <span>商品编号</span> |
| | | <span>物料号</span> |
| | | <input id="matNo" type="text" placeholder="扫码 / 输入" onkeyup="find(this)" autocomplete="off"> |
| | | </div> |
| | | <div class="form-item"> |
| | | <span>商品名称</span> |
| | | <span>品号</span> |
| | | <input id="matName" type="text" disabled="disabled"> |
| | | </div> |
| | | <div class="form-item"> |
| | |
| | | var pageCurr; |
| | | |
| | | /** |
| | | * 根据商品编号查询物料详情 |
| | | * 根据物料号查询物料详情 |
| | | */ |
| | | function find(el){ |
| | | if (isEmpty(el.value)) { |
| | |
| | | cellMinWidth: 50, |
| | | cols: [[ |
| | | {fixed: 'left', align: 'center', field: 'count', title: '数量', style:'color: blue', width:50}, |
| | | {field: 'matnr', align: 'center', title: '商品编号'}, |
| | | {field: 'maktx', align: 'center', title: '商品名称'} |
| | | {field: 'matnr', align: 'center', title: '物料号'}, |
| | | {field: 'maktx', align: 'center', title: '品号'} |
| | | ]], |
| | | done: function (res, curr, count) { |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * 根据商品编号查找库存明细 |
| | | * 根据物料号查找库存明细 |
| | | */ |
| | | function findByMatNo(el){ |
| | | if (isEmpty(el.value)) { |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | |
| | |
| | | <div id="search-box" class="layui-form layui-card-header"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" style="width: 300px"> |
| | |
| | | <div id="search-box" class="layui-form layui-card-header"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" 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="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" 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="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" 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="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- <div class="layui-inline">--> |
| | |
| | | <div id="search-box" class="layui-form layui-card-header"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="商品编码" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="maktx" placeholder="商品名称" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="maktx" placeholder="品号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 日期范围 --> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <!-- 日期范围 --> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" style="width:31%;"> |
| | | <label class="layui-form-label">商品编号:</label> |
| | | <label class="layui-form-label">物料号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input id="matnr" class="layui-input" type="text"> |
| | | </div> |
| | |
| | | <div id="search-box" class="layui-form layui-card-header"> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" style="width:31%;"> |
| | | <label class="layui-form-label">商品编号:</label> |
| | | <label class="layui-form-label">物料号:</label> |
| | | <div class="layui-input-inline"> |
| | | <input id="matnr" class="layui-input" type="text"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="商品编号" autocomplete="off"> |
| | | <input class="layui-input" type="text" name="matnr" placeholder="物料号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" style="width: 300px"> |