Parcourir la source

新增厂家和规格

xiaochan il y a 5 mois
Parent
commit
ca24e80021

+ 13 - 0
src/components/xmlr/components/projectInput/FeeInput.vue

@@ -157,6 +157,7 @@ function openNewDialog() {
     params: {
       medicalTechnology,
       add(val) {
+        console.log(val);
         if (stringIsBlank(val.deptCode)) {
           val.deptCode = medicalTechnology
             ? userStore.deptCode
@@ -297,6 +298,18 @@ onMounted(() => {
         </el-table-column>
         <el-table-column label="项目编码" width="75" prop="chargeCodeMx" />
         <el-table-column label="名称" prop="chargeName" min-width="50" />
+        <el-table-column
+          label="厂家"
+          prop="manuName"
+          show-overflow-tooltip
+          width="90"
+        />
+        <el-table-column
+          label="规格"
+          prop="descriptions"
+          show-overflow-tooltip
+          width="90"
+        />
         <el-table-column label="执行科室" prop="deptCode" width="150">
           <template #default="{ row }">
             <SystemDeptSelect

+ 1 - 1
src/utils/xe-utils-enhance/vxe-formatter.ts

@@ -95,7 +95,7 @@ const mixin = {
   },
   elRuleCharLength(
     value: string,
-    callback: () => void,
+    callback: (value?: any) => void,
     maxLength: number,
     empty = false
   ) {