From 21e7326b415597938fba463ebb8b3507b7fdbdfd Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期六, 15 三月 2025 13:57:57 +0800 Subject: [PATCH] 修改原材料下单报异常捕获方式 --- src/views/CNAS/externalService/serviceAndSupplyPro/component/Store.vue | 18 +++++------------- 1 files changed, 5 insertions(+), 13 deletions(-) diff --git a/src/views/CNAS/externalService/serviceAndSupplyPro/component/Store.vue b/src/views/CNAS/externalService/serviceAndSupplyPro/component/Store.vue index aa5d8c4..ae715cd 100644 --- a/src/views/CNAS/externalService/serviceAndSupplyPro/component/Store.vue +++ b/src/views/CNAS/externalService/serviceAndSupplyPro/component/Store.vue @@ -6,11 +6,9 @@ margin-right: 20px; margin-bottom: 20px; "> - <el-button icon="el-icon-plus" size="small" type="primary" @click="addOrUpdateStore('add')">娣诲姞 - </el-button> - <el-button icon="el-icon-download" size="small" @click="importExcel"> - 瀵煎嚭excel - </el-button> + <el-button size="small" type="primary" @click="searchList">鍒锋柊</el-button> + <el-button icon="el-icon-plus" size="small" type="primary" @click="addOrUpdateStore('add')">娣诲姞</el-button> + <el-button icon="el-icon-download" size="small" @click="importExcel">瀵煎嚭excel</el-button> </div> <div class="table"> <limsTable :column="tableColumn" :height="'calc(100vh - 20em)'" :table-data="storageTableData" @@ -100,7 +98,7 @@ <el-button size="mini" type="primary" @click="addTableData">娣诲姞 </el-button> </div> - <el-table :data="consumables" style="margin-top: 10px"> + <el-table :data="consumables" style="margin-top: 10px" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> <el-table-column label="缂栧彿" type="index" width="120px"></el-table-column> <el-table-column label="璐у彿" prop="itemNumber"></el-table-column> <el-table-column label="绫诲埆" prop="type"></el-table-column> @@ -253,12 +251,6 @@ consumableOptions: [], options: [], storageTableData: [], - searchForm: { - orderBy: { - field: "id", - order: "desc", - }, - }, saveLoading: false, }; }, @@ -350,7 +342,7 @@ // 鏌ヨ鍒楄〃 searchList() { this.tableLoading = true - storeList({ ...this.page, ...this.searchForm }).then(res => { + storeList({ ...this.page}).then(res => { this.tableLoading = false if (res.code === 200) { this.storageTableData = res.data.records -- Gitblit v1.9.3