From eb64a0d97e20837ad88e6ad9573883614c483d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E6=9E=9D=E5=88=9A?= Date: Thu, 24 Oct 2024 10:12:09 +0800 Subject: [PATCH] =?UTF-8?q?feat(NVL):=20=E4=BB=93=E5=BA=93=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.从iep-ui挪到nlv-ui仓库 refs: #41258 --- README.md | 2 +- babel.config.js | 7 +- nlv-ui.iml | 9 --- package.json | 7 +- src/api/mes/wms/order-return/master.js | 4 + src/api/prefix.js | 8 +- src/views/mes/qms/inspec-freq/index.vue | 21 +++-- src/views/mes/wms-nalinv/storagebin/index.vue | 80 +++++++++++++++++++ web.conf | 4 +- 9 files changed, 107 insertions(+), 35 deletions(-) delete mode 100644 nlv-ui.iml diff --git a/README.md b/README.md index 8a1e0a1..04ed85a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# nlv-ui +# iep-ui #### 介绍 所有模块的前端 diff --git a/babel.config.js b/babel.config.js index 5b2c6c2..d33a578 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,7 +1,6 @@ module.exports = { - presets: [[ - '@vue/app', - { useBuiltIns: "entry" } - ]], + presets: [ + '@vue/app' + ], plugins: ["@babel/plugin-proposal-optional-chaining", "@babel/plugin-transform-modules-commonjs"] } diff --git a/nlv-ui.iml b/nlv-ui.iml deleted file mode 100644 index 8021953..0000000 --- a/nlv-ui.iml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/package.json b/package.json index f93fd4a..8fdfbfc 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "nlv-ui", + "name": "iep-ui", "version": "4.5.0", "private": true, "scripts": { @@ -18,6 +18,10 @@ "@riophae/vue-treeselect": "0.4.0", "@tinymce/tinymce-vue": "^3.2.0", "@types/webpack-env": "^1.18.4", + "@vue-office/docx": "^1.6.2", + "@vue-office/excel": "^1.7.11", + "@vue-office/pdf": "^2.0.2", + "@vue/composition-api": "^1.7.2", "@xkeshi/image-compressor": "^0.5.3", "avue-plugin-ueditor": "^0.1.4", "axios": "^0.18.0", @@ -60,6 +64,7 @@ "vue-cnname-avatar": "^1.0.6", "vue-codemirror": "^4.0.6", "vue-cron": "^1.0.9", + "vue-demi": "^0.14.10", "vue-echarts": "^4.1.0", "vue-i18n": "^8.28.2", "vue-json-editor": "^1.2.3", diff --git a/src/api/mes/wms/order-return/master.js b/src/api/mes/wms/order-return/master.js index 6140fe2..42a2c5c 100644 --- a/src/api/mes/wms/order-return/master.js +++ b/src/api/mes/wms/order-return/master.js @@ -1,6 +1,8 @@ import request from '@/router/axios' import { wms, iep } from '@/api/prefix' +//! 工單物料管理 iep-app for add.vue + // add.vue 用 用料批 or 工單 做 search export function getShopOrderMaterialList(obj) { return request({ @@ -62,6 +64,8 @@ export function getInstorageNo(query) { }) } +//! 工單退料單管理 iep-wms for index.vue + // 退料單保存 export function save(obj) { return request({ diff --git a/src/api/prefix.js b/src/api/prefix.js index 961f1e3..512c970 100644 --- a/src/api/prefix.js +++ b/src/api/prefix.js @@ -15,7 +15,6 @@ export const iepMsa = 'iep-msa' export const iepRpt = 'iep-rpt' export const iepDcc = 'iep-dcc' export const nlvWms = 'nlv-wms' -export const nlvPrint = 'nlv-print' export function iep(url) { return SLASH + iepApp + url @@ -78,9 +77,6 @@ export function rpt(url) { export function dcc(url) { return SLASH + iepDcc + url } -export function nlv_print(url) { - return SLASH + nlvPrint + url - } export default { iep, @@ -97,7 +93,5 @@ export default { int, msa, rpt, - dcc, - nlv_print, - nlv_wms + dcc } diff --git a/src/views/mes/qms/inspec-freq/index.vue b/src/views/mes/qms/inspec-freq/index.vue index b4777b3..79a21f8 100644 --- a/src/views/mes/qms/inspec-freq/index.vue +++ b/src/views/mes/qms/inspec-freq/index.vue @@ -478,13 +478,12 @@ export default { }, }, methods: { - // 隐藏行 rowClassName: function ({ row }) { - // if (row.value == '7' || row.value == '8') { - // return 'showRow' - // } else { - // return - // } + if (row.value == '7' || row.value == '8') { + return 'showRow' + } else { + return + } }, openHour() { this.timeVisible = true @@ -549,12 +548,12 @@ export default { this.freqData.forEach((f, index) => { this.$set(this.freqData[index], 'item', key[this.freqData[index].value]) this.$set(this.freqData[index], 'val', '') - // if (index <= 6) { + if (index <= 6) { this.$set(this.freqData[index], 'seq', index + 1 + '') - // } - // if (index >= 8) { - // this.$set(this.freqData[index], 'seq', index - 1 + '') - // } + } + if (index >= 8) { + this.$set(this.freqData[index], 'seq', index - 1 + '') + } }) } }, diff --git a/src/views/mes/wms-nalinv/storagebin/index.vue b/src/views/mes/wms-nalinv/storagebin/index.vue index 9a9e493..88026fa 100644 --- a/src/views/mes/wms-nalinv/storagebin/index.vue +++ b/src/views/mes/wms-nalinv/storagebin/index.vue @@ -27,6 +27,13 @@ @click.stop="showStorageLocationDialog"> + + +