diff --git a/apps/hand-factory/App.vue b/apps/hand-factory/App.vue index 1495a49..afb272b 100644 --- a/apps/hand-factory/App.vue +++ b/apps/hand-factory/App.vue @@ -6,7 +6,8 @@ export default { onLaunch: function() { this.initApp() - updateManager.checkUpdate(); + updateManager.checkUpdate(); + plus.navigator.closeSplashscreen() }, methods: { // 初始化应用 @@ -17,14 +18,7 @@ //#ifdef H5 this.checkLogin() //#endif - // uni.hideTabBar() }, - // mounted() { - // uni.hideTabBar() - // }, - // onShow() { - // uni.hideTabBar() - // }, initConfig() { this.globalData.config = config }, diff --git a/apps/hand-factory/api/wms/deliveryWaybill.js b/apps/hand-factory/api/wms/deliveryWaybill.js new file mode 100644 index 0000000..53030bc --- /dev/null +++ b/apps/hand-factory/api/wms/deliveryWaybill.js @@ -0,0 +1,52 @@ +import request from '@/utils/request' + +// 查询发货单主列表 +export function listDeliveryWaybill(query) { + return request({ + url: '/wms/deliveryWaybill/list', + method: 'get', + params: query + }) +} + +// 查询发货单主详细 +export function getDeliveryWaybill(waybillId) { + return request({ + url: '/wms/deliveryWaybill/' + waybillId, + method: 'get' + }) +} + +// 新增发货单主 +export function addDeliveryWaybill(data) { + return request({ + url: '/wms/deliveryWaybill', + method: 'post', + data: data + }) +} + +// 修改发货单主 +export function updateDeliveryWaybill(data) { + return request({ + url: '/wms/deliveryWaybill', + method: 'put', + data: data + }) +} + +// 删除发货单主 +export function delDeliveryWaybill(waybillId) { + return request({ + url: '/wms/deliveryWaybill/' + waybillId, + method: 'delete' + }) +} + +export function updateDeliveryWaybillStatus(data) { + return request({ + url: '/wms/deliveryWaybill/status', + method: 'put', + data: data + }) +} diff --git a/apps/hand-factory/api/wms/deliveryWaybillDetail.js b/apps/hand-factory/api/wms/deliveryWaybillDetail.js new file mode 100644 index 0000000..6a93e87 --- /dev/null +++ b/apps/hand-factory/api/wms/deliveryWaybillDetail.js @@ -0,0 +1,62 @@ +import request from '@/utils/request' + +// 查询发货单明细列表 +export function listDeliveryWaybillDetail(query) { + return request({ + url: '/wms/deliveryWaybillDetail/list', + method: 'get', + params: query + }) +} + +// 查询发货单明细详细 +export function getDeliveryWaybillDetail(detailId) { + return request({ + url: '/wms/deliveryWaybillDetail/' + detailId, + method: 'get' + }) +} + +// 新增发货单明细 +export function addDeliveryWaybillDetail(data) { + return request({ + url: '/wms/deliveryWaybillDetail', + method: 'post', + data: data + }) +} + +// 修改发货单明细 +export function updateDeliveryWaybillDetail(data) { + return request({ + url: '/wms/deliveryWaybillDetail', + method: 'put', + data: data + }) +} + +// 删除发货单明细 +export function delDeliveryWaybillDetail(detailId) { + return request({ + url: '/wms/deliveryWaybillDetail/' + detailId, + method: 'delete' + }) +} + +// 批量新增发货单明细 +export function batchAddDeliveryWaybillDetail(data) { + return request({ + url: '/wms/deliveryWaybillDetail/batch', + method: 'post', + data: data + }) +} + +// 查询已绑定发货的钢卷列表 +export function listBoundCoil(query) { + return request({ + url: '/wms/deliveryWaybillDetail/boundCoilList', + method: 'get', + params: query + }) +} \ No newline at end of file diff --git a/apps/hand-factory/config.js b/apps/hand-factory/config.js index 49f628e..fbd4007 100644 --- a/apps/hand-factory/config.js +++ b/apps/hand-factory/config.js @@ -9,7 +9,7 @@ module.exports = { // 应用名称 name: "ruoyi-app", // 应用版本 - version: "1.3.28", + version: "1.3.29", // 应用logo logo: "/static/logo.jpg", // 官方网站 diff --git a/apps/hand-factory/pages.json b/apps/hand-factory/pages.json index 0252781..c4c3a32 100644 --- a/apps/hand-factory/pages.json +++ b/apps/hand-factory/pages.json @@ -94,59 +94,13 @@ "style": { "navigationBarTitleText": "报餐情况" } + }, + { + "path": "pages/fahuo/fahuo", + "style": { + "navigationBarTitleText": "发货" + } } - // { - // "path": "pages/register", - // "style": { - // "navigationBarTitleText": "注册" - // } - // }, { - // "path": "pages/work/index", - // "style": { - // "navigationBarTitleText": "工作台" - // } - // }, - // { - // "path": "pages/mine/avatar/index", - // "style": { - // "navigationBarTitleText": "修改头像" - // } - // }, { - // "path": "pages/mine/info/edit", - // "style": { - // "navigationBarTitleText": "编辑资料" - // } - // }, { - // "path": "pages/mine/pwd/index", - // "style": { - // "navigationBarTitleText": "修改密码" - // } - // }, { - // "path": "pages/mine/setting/index", - // "style": { - // "navigationBarTitleText": "应用设置" - // } - // }, { - // "path": "pages/mine/help/index", - // "style": { - // "navigationBarTitleText": "常见问题" - // } - // }, { - // "path": "pages/mine/about/index", - // "style": { - // "navigationBarTitleText": "关于我们" - // } - // }, { - // "path": "pages/common/webview/index", - // "style": { - // "navigationBarTitleText": "浏览网页" - // } - // }, { - // "path": "pages/common/textview/index", - // "style": { - // "navigationBarTitleText": "浏览文本" - // } - // }, ], "globalStyle": { "navigationBarTextStyle": "black", @@ -162,36 +116,36 @@ "selectedIconPath": "/static/images/tabbar/home_.png", "iconPath": "/static/images/tabbar/home.png" }, - // { - // "text": "扫码", - // "pagePath": "pages/code/code", - // "selectedIconPath": "/static/images/tabbar/work_.png", - // "iconPath": "/static/images/tabbar/work.png" - // }, { "text": "扫码", "pagePath": "pages/easycode/easycode", "selectedIconPath": "/static/images/tabbar/work_.png", "iconPath": "/static/images/tabbar/work.png" }, - { - "text": "收货", - "pagePath": "pages/receive/receive", - "selectedIconPath": "/static/images/tabbar/receive_.png", - "iconPath": "/static/images/tabbar/receive.png" - }, - { - "text": "查找", - "pagePath": "pages/search/search", - "selectedIconPath": "/static/images/tabbar/search_.png", - "iconPath": "/static/images/tabbar/search.png" - }, + // { + // "text": "收货", + // "pagePath": "pages/receive/receive", + // "selectedIconPath": "/static/images/tabbar/receive_.png", + // "iconPath": "/static/images/tabbar/receive.png" + // }, + // { + // "text": "查找", + // "pagePath": "pages/search/search", + // "selectedIconPath": "/static/images/tabbar/search_.png", + // "iconPath": "/static/images/tabbar/search.png" + // }, { "text": "报餐", "pagePath": "pages/meal/meal", "selectedIconPath": "/static/images/tabbar/meal_.png", "iconPath": "/static/images/tabbar/meal.png" }, + { + "text": "发货", + "pagePath": "pages/fahuo/fahuo", + "selectedIconPath": "/static/images/tabbar/fahuo_.png", + "iconPath": "/static/images/tabbar/fahuo.png" + }, { "text": "我的", "pagePath": "pages/mine/index", @@ -208,4 +162,5 @@ "k-(.*)": "@/components/klp-ui/k-$1/k-$1.vue" } } + } diff --git a/apps/hand-factory/pages/easycode/easycode.vue b/apps/hand-factory/pages/easycode/easycode.vue index 7892db9..612da33 100644 --- a/apps/hand-factory/pages/easycode/easycode.vue +++ b/apps/hand-factory/pages/easycode/easycode.vue @@ -137,19 +137,19 @@ 厂家 - {{ (coilDetail.product && coilDetail.product.manufacturer) || (coilDetail.rawMaterial && coilDetail.rawMaterial.manufacturer) || '-' }} + {{ (coilDetail.manufacturer) || '-' }} 材质 - {{ (coilDetail.product && coilDetail.product.material) || (coilDetail.rawMaterial && coilDetail.rawMaterial.material) || '-' }} + {{ (coilDetail.material) || '-' }} 规格 - {{ (coilDetail.product && coilDetail.product.specification) || (coilDetail.rawMaterial && coilDetail.rawMaterial.specification) || '-' }} + {{ (coilDetail.specification) || '-' }} 品名 - {{ (coilDetail.product && coilDetail.product.productName) || (coilDetail.rawMaterial && coilDetail.rawMaterial.productName) || '-' }} + {{ (coilDetail.itemName) || '-' }} @@ -847,6 +847,7 @@ }, mounted() { getDicts('action_type').then(res => { + console.log(res.data) this.types = res.data }) } diff --git a/apps/hand-factory/pages/easycode/editby.vue b/apps/hand-factory/pages/easycode/editby.vue index ea7fcd6..9d10236 100644 --- a/apps/hand-factory/pages/easycode/editby.vue +++ b/apps/hand-factory/pages/easycode/editby.vue @@ -126,10 +126,10 @@ this.form = res.data; this.coilDetail = { ...res.data, - itemName: res.data.materialType == '成品' ? res.data.product.productName : res.data.rawMaterial.rawMaterialName, - itemSpecification: res.data.materialType == '成品' ? res.data.product.specification : res.data.rawMaterial.specification, - itemManufacturer: res.data.materialType == '成品' ? res.data.product.manufacturer : res.data.rawMaterial.manufacturer, - itemMaterial: res.data.materialType == '成品' ? res.data.product.material : res.data.rawMaterial.material + itemName: res.data.itemName, + itemSpecification: res.data.specification, + itemManufacturer: res.data.manufacturer, + itemMaterial: res.data.material }; console.log('钢卷信息', this.form, ) }) diff --git a/apps/hand-factory/pages/fahuo/fahuo.vue b/apps/hand-factory/pages/fahuo/fahuo.vue new file mode 100644 index 0000000..2d84354 --- /dev/null +++ b/apps/hand-factory/pages/fahuo/fahuo.vue @@ -0,0 +1,798 @@ + + + + + \ No newline at end of file diff --git a/apps/hand-factory/pages/index.vue b/apps/hand-factory/pages/index.vue index 625b678..cf7be65 100644 --- a/apps/hand-factory/pages/index.vue +++ b/apps/hand-factory/pages/index.vue @@ -1,4 +1,5 @@ diff --git a/apps/hand-factory/pages/receive/receive.vue b/apps/hand-factory/pages/receive/receive.vue index bb3c11c..f05734c 100644 --- a/apps/hand-factory/pages/receive/receive.vue +++ b/apps/hand-factory/pages/receive/receive.vue @@ -166,33 +166,29 @@ 物料信息 - 物品名称 - {{ form.rawMaterial.rawMaterialName || form.product.productName || '-' }} + {{ form.itemName || '-' }} 规格 - {{ form.rawMaterial.specification || form.product.specification || '-' }} + {{ form.specification || '-' }} 材质 - {{ form.rawMaterial.material || form.product.material || '-' }} + {{ form.material || '-' }} 厂家 - {{ form.rawMaterial.manufacturer || form.product.manufacturer || '-' }} + {{ form.manufacturer || '-' }} + + + 表面处理 + {{ form.surfaceTreatmentDesc || '-' }} + + + 镀层质量 + {{ form.zincLayer || '-' }} diff --git a/apps/hand-factory/static/images/tabbar/fahuo.png b/apps/hand-factory/static/images/tabbar/fahuo.png new file mode 100644 index 0000000..e830da6 Binary files /dev/null and b/apps/hand-factory/static/images/tabbar/fahuo.png differ diff --git a/apps/hand-factory/static/images/tabbar/fahuo_.png b/apps/hand-factory/static/images/tabbar/fahuo_.png new file mode 100644 index 0000000..1d69478 Binary files /dev/null and b/apps/hand-factory/static/images/tabbar/fahuo_.png differ diff --git a/apps/hand-factory/uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hans.json b/apps/hand-factory/uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hans.json index f15d510..36aeb64 100644 --- a/apps/hand-factory/uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hans.json +++ b/apps/hand-factory/uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hans.json @@ -1,5 +1,5 @@ { - "uni-load-more.contentdown": "上拉显示更多", + "uni-load-more.contentdown": "点击加载更多", "uni-load-more.contentrefresh": "正在加载...", "uni-load-more.contentnomore": "没有更多数据了" } diff --git a/apps/hand-factory/utils/update.js b/apps/hand-factory/utils/update.js index b6e5a1c..01e96b8 100644 --- a/apps/hand-factory/utils/update.js +++ b/apps/hand-factory/utils/update.js @@ -73,7 +73,7 @@ function checkStorageSpace() { function checkUpdate(forceCheck = false) { // 1. 准备本地版本信息 const localVersion = plus.runtime.version; // 基座版本 - const staticVersion = '1.3.28'; // 静态默认版本 + const staticVersion = '1.3.29'; // 静态默认版本 // const localWgtVersion = staticVersion; const localWgtVersion = uni.getStorageSync('wgtVersion') || staticVersion; // 本地wgt版本(从存储获取或用默认) const currentVersion = compareVersion(localWgtVersion, localVersion) > 0 diff --git a/apps/hand-factory/version.json b/apps/hand-factory/version.json index 1446935..a07f917 100644 --- a/apps/hand-factory/version.json +++ b/apps/hand-factory/version.json @@ -1,5 +1,5 @@ { - "version": "klp 1.3.28", + "version": "klp 1.3.29", "wgtUrl": "http://49.232.154.205:10900/fadapp-update/klp/klp.wgt", "apkUrl": "http://49.232.154.205:10900/fadapp-update/klp/klp.apk" } \ No newline at end of file