From 6843b10472482b305b5580cc2f5cdbb97fb9a203 Mon Sep 17 00:00:00 2001 From: haoyahui <2032914783@qq.com> Date: 星期一, 13 十一月 2023 17:31:43 +0800 Subject: [PATCH] 调拨,库存盘点,报废管理,台账管理 --- admin-web/src/views/stock/inventorycount/exceptionDetails/index.vue | 125 +++++++++++++++++++++++++++-------------- 1 files changed, 81 insertions(+), 44 deletions(-) diff --git a/admin-web/src/views/stock/inventorycount/exceptionDetails/index.vue b/admin-web/src/views/stock/inventorycount/exceptionDetails/index.vue index 54f2d7d..53c6390 100644 --- a/admin-web/src/views/stock/inventorycount/exceptionDetails/index.vue +++ b/admin-web/src/views/stock/inventorycount/exceptionDetails/index.vue @@ -13,8 +13,6 @@ <my-table-v2 ref="myTable" :filter="filterFrom" :table="table"/> </el-col> </el-row> - <!--娣诲姞/缂栬緫寮圭獥--> - <edit v-if="editSetting.show" :setting="editSetting" @close="editSetting.show = false" @search="search"/> </el-card> </el-container> </el-container> @@ -30,48 +28,90 @@ import MyTableV2 from "@/components/myTable/myTableV2"; import MyButton from "@/components/myButton/myButton"; import SettingIplatform from '@/utils/settingIplatform'; -import edit from './edit' import * as finsystenant from '@/api/baseSetting/finsystenant' import myImport from '@/views/components/myImport' import {getBaseUrl} from '@/utils/base'; export default { name: "index", - components: {MyButton, MyTableV2, edit, myImport}, + components: {MyButton, MyTableV2, myImport}, data() { return { // 鎼滅储妗� items: [ { - type: 'text', - dataIndex: 'name', - label: '鐩樼偣鍗曞彿', - placeholder: '璇疯緭鍏�', - defaultValue: '' + type: 'cascader', + dataIndex: 'agencyId', + label: '鏈烘瀯', + placeholder: '璇烽�夋嫨', + optionsConfig: { url: '/pc/fin/sys/tenant/select/tree_fin_tenant', props: null }, + defaultValue: '', + options: [], }, - // { - // type: 'select', - // dataIndex: 'status', - // label: '绫诲瀷', - // placeholder: '璇烽�夋嫨', - // defaultValue: '1', - // options: [ - // { - // label: '鍚敤', - // value: '1' - // }, - // { - // label: '绂佺敤', - // value: '0' - // } - // ] - // }, + { + type: 'select', + dataIndex: 'warehouseId', + label: '鐩樼偣浠撳簱', + placeholder: '璇烽�夋嫨', + defaultValue: '', + options: [], + }, { type: 'text', dataIndex: 'name', - label: '浠诲姟鍚嶇О', + label: '鐗╁搧鍚嶇О', placeholder: '璇疯緭鍏�', defaultValue: '' + }, + { + type: 'select', + dataIndex: 'warehouseId', + label: '瑙勬牸鍨嬪彿', + placeholder: '璇烽�夋嫨', + defaultValue: '', + options: [], + }, + { + type: 'select', + dataIndex: 'warehouseId', + label: '绫诲瀷', + placeholder: '璇烽�夋嫨', + defaultValue: '', + options: [], + }, + { + type: 'select', + dataIndex: 'warehouseId', + label: '鍑哄叆搴撶被鍨�', + placeholder: '璇烽�夋嫨', + defaultValue: '', + options: [], + }, + { + type: 'text', + dataIndex: 'name', + label: '鍗曞彿', + placeholder: '璇疯緭鍏�', + defaultValue: '' + }, + { + type: 'text', + dataIndex: 'name', + label: '鎿嶄綔浜�', + placeholder: '璇疯緭鍏�', + defaultValue: '' + }, + { + type: 'date-picker', + dataIndex: 'incomeTimeStart', + label: '鏃堕棿', + defaultValue: '', + }, + { + type: 'date-picker', + dataIndex: 'incomeTimeEnd', + label: '鑷�', + defaultValue: '', }, ], // 鏍戞暟鎹� @@ -126,27 +166,24 @@ }, // 鍒椾俊鎭� columns: [ - {title: '鐩樼偣鍗曞彿', field: 'name', align: 'left',}, - {title: '浠诲姟鍚嶇О', field: 'code', align: 'center'}, - {title: '鐩樼偣浠撳簱', field: 'lv', align: 'center', }, - {title: '鐩樼偣浜�', field: 'lv', align: 'center', }, - {title: '鐩戠洏浜�', field: 'summary', align: 'left',}, - {title: '鐩樼偣鏃堕棿', field: 'summary', align: 'left',}, - {title: '鍒涘缓鏃堕棿', field: 'summary', align: 'left',}, - {title: '鐘舵��', field: 'summary', align: 'left',}, + {title: '浠撳簱', field: 'name', align: 'left',}, + {title: '鐗╁搧鍚嶇О', field: 'WAREHOUSE_NAME', align: 'center'}, + {title: '瑙勬牸鍨嬪彿', field: 'lv', align: 'center', }, + {title: '绫诲瀷', field: 'lv', align: 'center', }, + {title: '搴撳瓨鏁伴噺', field: 'summary', align: 'left',}, + {title: '鐩樼偣鏁伴噺', field: 'summary', align: 'left',}, + {title: '寮傚父鏁伴噺', field: 'summary', align: 'left',}, + {title: '鍑哄叆搴撶被鍨�', field: 'summary', align: 'left',}, + {title: '鍑哄叆搴撳崟鍙�', field: 'summary', align: 'left',}, + {title: '鏈烘瀯', field: 'summary', align: 'left',}, + {title: '鎿嶄綔浜�', field: 'summary', align: 'left',}, + {title: '鎿嶄綔鏃堕棿', field: 'summary', align: 'left',}, ], // 鎿嶄綔淇℃伅 operation: { - show: true, // 鏄剧ず鎿嶄綔鍒� + show: false, // 鏄剧ず鎿嶄綔鍒� width: '150', // 鍒楀 - attr: [ - { - title: '璇︽儏', - events: (row) => { - this.showAudit(row); - }, - }, - ], + attr: [], }, paging: { show: true, // 鏄剧ず鍒嗛〉 -- Gitblit v1.9.1