From 452676b600ca6b53853e767999b1df79e5535ece Mon Sep 17 00:00:00 2001 From: HanLong <404402223@qq.com> Date: Mon, 23 Mar 2026 16:03:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86][?= =?UTF-8?q?=E5=AD=98=E5=82=A8=E4=BD=8D=E7=BD=AE]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/storageLocation/storageLocation.js | 16 +++ src/views/business/resource/yq/list.vue | 7 +- .../business/storageLocation/comps/detail.vue | 126 +++++++++++++++++++++ src/views/business/storageLocation/list.vue | 13 ++- 4 files changed, 156 insertions(+), 6 deletions(-) create mode 100644 src/views/business/storageLocation/comps/detail.vue diff --git a/src/api/business/storageLocation/storageLocation.js b/src/api/business/storageLocation/storageLocation.js index f2076c2..8651478 100644 --- a/src/api/business/storageLocation/storageLocation.js +++ b/src/api/business/storageLocation/storageLocation.js @@ -21,4 +21,20 @@ export function storageLocation_edit(data) { method: 'post', data: data }) +} + +export function storageLocation_info(query) { + return request({ + url: '/system/business/storageLocation/info', + method: 'get', + params: query + }) +} + +export function jcgj_list(query) { + return request({ + url: '/system/business/storageLocation/jcgj/list', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/views/business/resource/yq/list.vue b/src/views/business/resource/yq/list.vue index d3dc6d3..9ec6df1 100644 --- a/src/views/business/resource/yq/list.vue +++ b/src/views/business/resource/yq/list.vue @@ -149,7 +149,8 @@ - + @@ -213,7 +214,8 @@ export default { }, // 表单参数 form: { - 'qmyy': this.$t('page.form.add') + 'qmyy': this.$t('page.form.add'), + qmrmm: null, }, // 表单校验 rules: { @@ -290,6 +292,7 @@ export default { wc: null, ccwz: null, fzdd: null, + qmrmm: null, qmyy: this.$t('page.business.resource.yq.xzyq'), } this.resetForm('form') diff --git a/src/views/business/storageLocation/comps/detail.vue b/src/views/business/storageLocation/comps/detail.vue new file mode 100644 index 0000000..ca433a4 --- /dev/null +++ b/src/views/business/storageLocation/comps/detail.vue @@ -0,0 +1,126 @@ + + + diff --git a/src/views/business/storageLocation/list.vue b/src/views/business/storageLocation/list.vue index e2d8c42..330fc80 100644 --- a/src/views/business/storageLocation/list.vue +++ b/src/views/business/storageLocation/list.vue @@ -114,7 +114,8 @@ - + @@ -126,6 +127,7 @@ + @@ -136,9 +138,10 @@ import BusinessSelect from '@/views/business/comps/select/BusinessSelect'; import SelectDept from '@/views/business/comps/select/SelectDept'; import { mapGetters } from 'vuex' import SelectStorageLocation from '@/views/business/comps/select/SelectStorageLocation' +import StorageLocationDetail from './comps/detail' export default { name: 'StorageLocation', - components: { BusinessSelect, SelectDept, SelectStorageLocation }, + components: { BusinessSelect, SelectDept, SelectStorageLocation, StorageLocationDetail }, data() { return { @@ -170,7 +173,8 @@ export default { }, // 表单参数 form: { - 'qmyy': this.$t('page.form.add') + 'qmyy': this.$t('page.form.add'), + qmrmm: null, }, // 表单校验 rules: { @@ -238,6 +242,7 @@ export default { wc: null, ccwz: null, fzdd: null, + qmrmm: null, qmyy: this.$t('page.system.storageLocation.addStroageLocation'), } this.resetForm('form') @@ -269,7 +274,7 @@ export default { this.title = this.$t('form.edit') }, handleDetail(row) { - this.$refs.YqDetail.show(row) + this.$refs.storageLocationDetail.show(row) }, /** 提交按钮 */ submitForm() {