UNPKG

logwire-wms-ui-test

Version:

运匠科技wms-PDA基础组件库

73 lines (62 loc) 1.43 kB
/* * 公共使用 * @author: 张文 * @date 2022-05-12 * */ import lwAxios from "../../utils/Axios"; export const common = { // 获取货主列表 getOwnerList(){ return lwAxios.action({ url: 'wmsMobileGetOwnerList', }) }, // 根据商品号和货主查询商品信息 fromSkuAndOwnerGetSkuInfo(data){ return lwAxios.action({ url: 'wmsMobileQuerySku', data }) }, // 获取条码解析的规则 commonWmsLoadAllComponentConfig(data){ return lwAxios.action({ url: 'commonWmsLoadAllComponentConfig', data }) }, // 获取颜色配置 baseWmsLoadPdaClientConfig(){ return lwAxios.action({ url: 'baseWmsLoadPdaClientConfig' }) }, // 没有条码解析数据时获取 commonWmsLoadAndInitComponentConfig(data){ return lwAxios.action({ url: 'commonWmsLoadAndInitComponentConfig', data }) }, // 通过序列号获取商品号 wmsProjectMobileGetSkuBySn(data){ return lwAxios.action({ url: 'wmsProjectMobileGetSkuBySn', data }) }, // 检查是否需要验证码 checkCaptcha(){ return lwAxios({ url: '/auth/required-captcha?type=web', method:'get' }) }, // 获取验证码信息 getCaptcha(){ return lwAxios({ url: '/auth/get-captcha', method:'post' }) }, }