From 418594d0a3e441eeb7df2abbd70e54a0c72284c6 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 30 十月 2026 16:35:46 +0800
Subject: [PATCH] feat(order): 添加送样日期校验和权限刷新机制 - 在委托单新增表单中为送样日期添加占位提示和保存校验 - 在检验审核、检验任务、报告编制、样品接收、报告结果、用印台账等页面添加送样时间列 - 加载委托模板时清空送样日期并清除校验状态
---
src/views/CNAS/externalService/serviceAndSupplyPro/index.vue | 36 ------------------------------------
1 files changed, 0 insertions(+), 36 deletions(-)
diff --git a/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue b/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue
index 048b46a..74255ed 100644
--- a/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue
+++ b/src/views/CNAS/externalService/serviceAndSupplyPro/index.vue
@@ -33,21 +33,11 @@
<el-tab-pane label="鑰楁潗鍏ュ簱" name="third" :lazy="true">
<Store v-if="activeName == 'third'" :contentsId="contentsId"></Store>
</el-tab-pane>
- <el-tab-pane label="鐩綍缁存姢" name="fourth" :lazy="true">
- <Contents
- v-if="activeName == 'fourth'"
- :id="contentsId"
- @contentsUpdate="contentsUpdate"
- :treeData="treeData"
- from="鑰楁潗鏍�"
- ></Contents>
- </el-tab-pane>
</el-tabs>
</div>
</div>
</template>
<script>
-import Contents from "./component/contents.vue";
import Store from "./component/Store.vue";
import ConsumableOverview from "./component/ConsumableOverview.vue";
import ConsumableList from "./component/ConsumableList.vue"
@@ -74,7 +64,6 @@
};
},
components: {
- Contents,
Store,
ConsumableOverview,
ConsumableList
@@ -106,31 +95,6 @@
findNodesWithFiber(this.treeData);
},
- // 鐩綍缁存姢鏇存柊
- contentsUpdate(val, flag = false) {
- if (val) {
- this.getTreeData();
- this.expandedKeys = [];
- if (flag) {
- const findNodesWithFiber = (nodes) => {
- nodes.forEach((item) => {
- if (item.parentId == val) {
- this.expandedKeys.push(item.id);
- }
- if(item.children && item.children.length > 0) {
- findNodesWithFiber(item.children);
- }
- });
- };
- findNodesWithFiber(this.treeData);
- this.expandedKeys = this.expandedKeys.filter((item) => item !== val);
- } else {
- this.expandedKeys.push(val);
- }
- }else {
- this.getTreeData();
- }
- },
// 鏌ヨ鎵�鏈夌洰褰�
getTreeData() {
directoryListing().then((res) => {
--
Gitblit v1.9.3