From 4b9a6f3c7ed2a6e94b28459eac5f1f64eb36826d Mon Sep 17 00:00:00 2001 From: liuying <1427574514@qq.com> Date: 周四, 25 4月 2024 20:44:20 +0800 Subject: [PATCH] 1 --- iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsArea/index.vue | 36 ++++++++++++++++++++++++------------ 1 files changed, 24 insertions(+), 12 deletions(-) diff --git a/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsArea/index.vue b/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsArea/index.vue index 7c3cb10..67a0000 100644 --- a/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsArea/index.vue +++ b/iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsArea/index.vue @@ -31,12 +31,13 @@ <a-form-item label="搴撳尯鎻忚堪"> <a-input v-model="queryParam.areaDesc" allow-clear placeholder="璇疯緭鍏ュ簱鍖烘弿杩�" /> </a-form-item> - </a-col><a-col :md="8" :sm="24"> + </a-col> + <!-- <a-col :md="8" :sm="24"> <a-form-item label="搴撳尯鐘舵��"> <a-input-number v-model="queryParam.areaStatus" style="width: 100%" allow-clear placeholder="璇疯緭鍏ュ簱鍖虹姸鎬�" /> </a-form-item> - </a-col> + </a-col> --> <a-col :md="8" :sm="24"> <a-form-item label="ERP浠g爜"> <a-input v-model="queryParam.erpCode" allow-clear placeholder="璇疯緭鍏RP浠g爜" /> @@ -126,9 +127,8 @@ <a-form-item label="鍒涘缓鏃堕棿"> <a-range-picker style="width: 100%" :placeholder="['寮�濮嬫椂闂�', '缁撴潫鏃堕棿']" :show-time="{ format: 'HH:mm:ss', defaultValue: [moment('00:00:00', 'HH:mm:ss'), moment('23:59:59', 'HH:mm:ss')] - }" - v-model="queryParam.createdTime" value-format="YYYY-MM-DD HH:mm:ss" - format="YYYY-MM-DD HH:mm:ss" @change="onChangecreatedTime" /> + }" v-model="queryParam.createdTime" value-format="YYYY-MM-DD HH:mm:ss" format="YYYY-MM-DD HH:mm:ss" + @change="onChangecreatedTime" /> </a-form-item> </a-col> @@ -139,9 +139,8 @@ <a-form-item label="鏇存柊鏃堕棿"> <a-range-picker style="width: 100%" :placeholder="['寮�濮嬫椂闂�', '缁撴潫鏃堕棿']" :show-time="{ format: 'HH:mm:ss', defaultValue: [moment('00:00:00', 'HH:mm:ss'), moment('23:59:59', 'HH:mm:ss')] - }" - v-model="queryParam.updatedTime" value-format="YYYY-MM-DD HH:mm:ss" - format="YYYY-MM-DD HH:mm:ss" @change="onChangeupdatedTime" /> + }" v-model="queryParam.updatedTime" value-format="YYYY-MM-DD HH:mm:ss" format="YYYY-MM-DD HH:mm:ss" + @change="onChangeupdatedTime" /> </a-form-item> </a-col> @@ -283,6 +282,9 @@ import { downloadFile } from '@/utils/util' import editForm from './editForm.vue' import excelForm from './excelForm.vue' + +import { WmsWarehousePage, WmsWarehouseDelete, WmsWarehouseToExcel } from '@/api/modular/main/WmsBase/WmsWarehouseManage' + export default { mixins: [setTableHtMixin], components: { @@ -729,8 +731,8 @@ } }); } - const warehouseIdOption = this.$options - this.warehouseIdData = warehouseIdOption.filters['dictData']('area_type') + // const warehouseIdOption = this.$options + // this.warehouseIdData = warehouseIdOption.filters['dictData']('area_type') const isBarcodeLevelControlOption = this.$options this.isBarcodeLevelControlData = isBarcodeLevelControlOption.filters['dictData']('yes_true_false') const isFIFOOption = this.$options @@ -754,6 +756,14 @@ }, false ) + + + WmsWarehousePage().then((d) => { + this.warehouseIdData = d.data.rows || [] + this.$refs.addForm.warehouseIdData = d.data.rows || [] + }).catch(() => { + }) + }, methods: { @@ -847,10 +857,12 @@ } } </script> -<style lang="less">.table-operator { +<style lang="less"> +.table-operator { margin-bottom: 18px; } button { margin-right: 8px; -}</style> +} +</style> -- Gitblit v1.9.3