From 774e6e650b6235a9e34dfecab65c4322c1767714 Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期五, 01 十二月 2023 16:48:15 +0800 Subject: [PATCH] feat: 库存管理 查询条件梳理 --- admin-web/src/views/stock/scrap/scrapDetails/index.vue | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) diff --git a/admin-web/src/views/stock/scrap/scrapDetails/index.vue b/admin-web/src/views/stock/scrap/scrapDetails/index.vue index 9c8d919..5eb5089 100644 --- a/admin-web/src/views/stock/scrap/scrapDetails/index.vue +++ b/admin-web/src/views/stock/scrap/scrapDetails/index.vue @@ -34,10 +34,9 @@ import MyTableV2 from '@/components/myTable/myTableV2'; import MyButton from '@/components/myButton/myButton'; import SettingIplatform from '@/utils/settingIplatform'; -import * as finsystenant from '@/api/baseSetting/finsystenant'; import myImport from '@/views/components/myImport'; import detail from '../itemScrapping/detail'; -import { getBaseUrl } from '@/utils/base'; +import {getBaseUrl} from '@/utils/base'; import * as DateFormatter from '@/utils/DateFormatter'; export default { @@ -54,7 +53,16 @@ placeholder: '璇疯緭鍏�', defaultValue: '', }, - + { + type: 'cascader', + dataIndex: 'agencyId', + label: '鏈烘瀯', + placeholder: '璇烽�夋嫨', + optionsConfig: { url: '/pc/fin/sys/tenant/select/tree_fin_tenant', props: null }, + cascader: [{key:'goodsTemplateId',queryKey: 'agencyId'}], + defaultValue: '', + options: [], + }, { type: 'select', dataIndex: 'goodsTemplateId', @@ -81,15 +89,6 @@ value: 'id', url: SettingIplatform.apiBaseURL + '/pc/base/goods/models/query/goodsModel', }, - }, - { - type: 'cascader', - dataIndex: 'agencyId', - label: '鏈烘瀯', - placeholder: '璇烽�夋嫨', - optionsConfig: { url: '/pc/fin/sys/tenant/select/tree_fin_tenant', props: null }, - defaultValue: '', - options: [], }, { type: 'text', @@ -166,9 +165,9 @@ columns: [ { title: '鍗曞彿', field: 'businessFormCode', align: 'center', width: 130 }, { title: '鐗╁搧鍚嶇О', field: 'goodsTemplateName', align: 'left', minWidth: 130 }, - { title: '瑙勬牸鍨嬪彿', field: 'baseGoodsModelsName', align: 'left', width: 130 }, + { title: '瑙勬牸鍨嬪彿', field: 'baseGoodsModelsName', align: 'left', minWidth: 130 }, { title: '鎶ュ簾鏁伴噺', field: 'counts', align: 'center' }, - { title: '鎵�灞炴満鏋�', field: 'agencyName', align: 'left', width: 130 }, + { title: '鎵�灞炴満鏋�', field: 'agencyName', align: 'left', minWidth: 130 }, { title: '鍒涘缓浜�', field: 'operatorName', align: 'left' }, { title: '鎿嶄綔鏃堕棿', -- Gitblit v1.9.1