huangxw il y a 10 mois
Parent
commit
5b08c197e1

+ 1 - 1
src/views/cdt/menus/detail/index.vue

@@ -41,8 +41,8 @@
                     <div class="info-title mb-16 d-flex">
                         <span>检测项目明细</span>
                         <span class="f-s-14">(共{{itemsInfo?.length}}项, 合计{{ totalCountPrice }}元)</span>
-                        <el-button type="primary" :text="true" @click="expend=!expend">{{ expend?'收起':'展开' }}</el-button>
                     </div>
+                    <el-button type="primary" :text="true" @click="expend=!expend">{{ expend?'收起':'展开' }}</el-button>
                     <vxe-table v-show="expend" ref="tableRightRef" border :data="itemsInfo" :column-config="{ resizable: true }">
                         <vxe-column type="seq" width="60" title="序号" align="center" />
                         <vxe-column title="检测项目" align="center" field="name" min-width="100" :formatter="colNoData" />

+ 3 - 0
src/views/price/models/addStation.vue

@@ -133,6 +133,9 @@ watch(
     () => props.show,
     (val) => {
         dialogVisible.value = val;
+        if (val) {
+            getList();
+        }
     },
     { immediate: true }
 );