Jelajahi Sumber

问题修复

liangbowen 1 Minggu lalu
induk
melakukan
feda0252a5

+ 1 - 6
src/views/page/billhostal/tableView/clumnData.js

@@ -23,12 +23,7 @@ export const clumnData = [
     prop: "yjzAmt",
     label: "已结账金额",
     width: "100",
-  },
-  {
-    prop: "yjbl",
-    label: "已结百分比",
-    width: "100",
-  },
+  }
   // {
   //   prop: "billAmt",
   //   label: "清算类别",

+ 7 - 6
src/views/page/billhostal/tableView/index.vue

@@ -24,15 +24,16 @@
         :prop="item.prop"
         :min-width="item.width"
       />
-      <!-- <el-table-column
+      <el-table-column
         align="center"
-        label="本月贷款金额"
-        prop="billAmt"
+        label="已结百分比"
+        prop="yjbl"
         min-width="100"
-        #default="{ row }"
       >
-        {{ parseInt(row.billAmt, 5) }}
-      </el-table-column> -->
+        <template slot-scope="scope">
+          <span>{{ (scope.row.yjbl * 100).toFixed(2) }}%</span>
+        </template>
+      </el-table-column>
     </el-table>
     <div class="block">
       <el-pagination

+ 7 - 6
src/views/page/billmary/tableView/index.vue

@@ -24,15 +24,16 @@
         :prop="item.prop"
         :min-width="item.width"
       />
-      <!-- <el-table-column
+      <el-table-column
         align="center"
-        label="本月贷款金额"
-        prop="billAmt"
+        label="已结百分比"
+        prop="yjbl"
         min-width="100"
-        #default="{ row }"
       >
-        {{ parseInt(row.billAmt, 5) }}
-      </el-table-column> -->
+        <template slot-scope="scope">
+          <span>{{ (scope.row.yjbl * 100).toFixed(2) }}%</span>
+        </template>
+      </el-table-column>
     </el-table>
     <div class="block">
       <el-pagination

+ 1 - 6
src/views/page/billmed/tableView/clumnData.js

@@ -23,12 +23,7 @@ export const clumnData = [
     prop: "yjzAmt",
     label: "已结账金额",
     width: "100",
-  },
-  {
-    prop: "yjbl",
-    label: "已结百分比",
-    width: "100",
-  },
+  }
   // {
   //   prop: "billAmt",
   //   label: "清算类别",

+ 7 - 6
src/views/page/billmed/tableView/index.vue

@@ -24,15 +24,16 @@
         :prop="item.prop"
         :min-width="item.width"
       />
-      <!-- <el-table-column
+      <el-table-column
         align="center"
-        label="本月贷款金额"
-        prop="billAmt"
+        label="已结百分比"
+        prop="yjbl"
         min-width="100"
-        #default="{ row }"
       >
-        {{ parseInt(row.billAmt, 5) }}
-      </el-table-column> -->
+        <template slot-scope="scope">
+          <span>{{ (scope.row.yjbl * 100).toFixed(2) }}%</span>
+        </template>
+      </el-table-column>
     </el-table>
     <div class="block">
       <el-pagination

+ 0 - 5
src/views/page/billsupler/tableView/clumnData.js

@@ -24,11 +24,6 @@ export const clumnData = [
     label: "已结账金额",
     width: "100",
   },
-  {
-    prop: "yjbl",
-    label: "已结百分比",
-    width: "100",
-  },
   // {
   //   prop: "billAmt",
   //   label: "清算类别",

+ 7 - 6
src/views/page/billsupler/tableView/index.vue

@@ -24,15 +24,16 @@
         :prop="item.prop"
         :min-width="item.width"
       />
-      <!-- <el-table-column
+      <el-table-column
         align="center"
-        label="本月贷款金额"
-        prop="billAmt"
+        label="已结百分比"
+        prop="yjbl"
         min-width="100"
-        #default="{ row }"
       >
-        {{ parseInt(row.billAmt, 5) }}
-      </el-table-column> -->
+        <template slot-scope="scope">
+          <span>{{ (scope.row.yjbl * 100).toFixed(2) }}%</span>
+        </template>
+      </el-table-column>
     </el-table>
     <div class="block">
       <el-pagination

+ 9 - 0
src/views/page/catalog-query/searchView/index.vue

@@ -9,6 +9,14 @@
           clearable
         />
       </el-form-item>
+      <el-form-item label="药品编码" prop="drugCode">
+        <el-input
+          v-model="form.drugCode"
+          style="width: 170px; margin-right: 2px"
+          placeholder="请输入药品编码"
+          clearable
+        />
+      </el-form-item>
       <el-form-item label="规格" prop="specName">
         <el-input
           v-model="form.specName"
@@ -51,6 +59,7 @@ export default {
         specName: "",
         dosformName: "",
         prodentpName: "",
+        drugCode: "",
       },
       userType: "", //判断用户是医疗机构还是配送企业
       searchData: [],

+ 2 - 2
vue.config.js

@@ -5,7 +5,7 @@ const webpack = require("webpack");
 function resolve(dir) {
   return path.join(__dirname, dir);
 }
-   
+
 const name = defaultSettings.title || "zxkcadmin"; // page title
 
 // If your port is set to 80,
@@ -70,7 +70,7 @@ module.exports = {
   },
   chainWebpack(config) {
     config.plugins.delete("preload"); // TODO: need test
-    config.plugins.delete("prefetch"); // TODO: need test
+    config.plugins.delete("prefetch"); // TODO: need tes
     config.plugin("provide").use(webpack.ProvidePlugin, [
       {
         "window.Quill": "quill"