Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 years ago
parent
commit
7b333470a5

+ 1 - 0
src/lang/zh.js View File

@@ -188,6 +188,7 @@ export default {
188 188
     stockModifyPrice:'耗材调价',
189 189
     stockDamaged:'耗材报损',
190 190
     stockWarning:'耗材预警',
191
+    drugModifyPrice:'药品调价',
191 192
 
192 193
     showconfig: '显示配置',
193 194
     user_detail: '使用明细',

+ 6 - 0
src/router/modules/drugs.js View File

@@ -30,6 +30,12 @@ export default {
30 30
       name: 'drugsStockOut',
31 31
       meta: { title: 'drugsStockOut', noCache: true }
32 32
     },
33
+    {
34
+      path: '/stock/drugs/drugModifyPrice',
35
+      component: () => import('@/xt_pages/stock/drugs/drugModifyPrice'),
36
+      name: 'drugModifyPrice',
37
+      meta: { title: 'drugModifyPrice', noCache: true }
38
+    },
33 39
     // {
34 40
     //   path: '/stock/drugs/stock/return',
35 41
     //   component: () => import('@/xt_pages/stock/drugs/drugSalesReturnOrder'),

+ 10 - 8
src/xt_pages/outpatientCharges/newStatementPrintTwo.vue View File

@@ -82,14 +82,16 @@
82 82
         // });
83 83
 
84 84
         if(this.org_id == 10138){
85
-          const style =
86
-          '@media print {#prescription-print{font-size:12px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;}@media print {html {zoom: 50%;}}}';
87
-          printJS({
88
-              printable: "prescription-print",
89
-              type: "html",
90
-              style: style,
91
-              scanStyles: false
92
-          });
85
+          setTimeout(() => {
86
+            const style =
87
+            '@media print {#prescription-print{font-size:14px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}table td {padding: 10px 5px;}@media print {html {zoom: 50%;}}}';
88
+            printJS({
89
+                printable: "prescription-print",
90
+                type: "html",
91
+                style: style,
92
+                scanStyles: false
93
+            });
94
+          },500)
93 95
         }else{
94 96
           const style =
95 97
           '@media print {.printTitle{font-size: 20px;text-align: center;font-weight: bold;}.infoMain{display: flex;flex-wrap: wrap;padding:0 10px;margin-top:10px;font-size:12px;}.infoMain .infoP{width: 33%;}.chargeBox{border: 1px solid #000;font-size:12px;}.chargeUl{display:flex;justify-content: space-between;text-align: center;}.chargeUl p{line-height: 1px;}.chargeP{line-height: 1px;padding-bottom:16px;}.moneyBox{display: flex;justify-content: space-between;padding: 0 10px;background: #eeeeee;-webkit-print-color-adjust:exact;-moz-print-color-adjust:exact;-ms-print-color-adjust:exact;print-color-adjust:exact;height: 40px;align-items: center;border:1px solid #000; border-top:none;font-size:12px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;font-size:12px;}.actionBar div{width:150px;}}';

+ 8 - 8
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -2869,13 +2869,13 @@
2869 2869
               return
2870 2870
             }
2871 2871
           })
2872
-          this.$confirm('是否保存当前处方', '保存', {
2873
-            confirmButtonText: '确 定',
2874
-            cancelButtonText: '取 消',
2875
-            type: 'warning'
2876
-          }).then(() => {
2877
-            this.open(1)
2878
-          }).catch(() => {
2872
+          // this.$confirm('是否保存当前处方', '保存', {
2873
+          //   confirmButtonText: '确 定',
2874
+          //   cancelButtonText: '取 消',
2875
+          //   type: 'warning'
2876
+          // }).then(() => {
2877
+          //   this.open(1)
2878
+          // }).catch(() => {
2879 2879
 
2880 2880
             for(let i = 0; i < this.all_data.length; i++){
2881 2881
               if(this.all_data[i].id == val.id){
@@ -3301,7 +3301,7 @@
3301 3301
               }
3302 3302
             })
3303 3303
 
3304
-          })
3304
+          // })
3305 3305
 
3306 3306
           // this.$message.error('需要保存保存处方才能切换')
3307 3307
         } else {

+ 10 - 8
src/xt_pages/outpatientDoctorStation/print.vue View File

@@ -76,14 +76,16 @@ export default {
76 76
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
77 77
 
78 78
       if(this.org_id == 10138){
79
-        const style =
80
-        '@media print {#prescription-print{font-size:14px;}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 90%;}}}';
81
-        printJS({
82
-          printable: "prescriptionPrint",
83
-          type: "html",
84
-          style: style,
85
-          scanStyles: false
86
-        });
79
+        setTimeout(() => {
80
+          const style =
81
+          '@media print {#prescription-print{font-size:14px;}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 90%;}}}';
82
+          printJS({
83
+            printable: "prescriptionPrint",
84
+            type: "html",
85
+            style: style,
86
+            scanStyles: false
87
+          });
88
+        },500)
87 89
       }else{
88 90
         const style =
89 91
         '@media print {#prescription-print{font-size:14px;}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{padding:0 10px;min-height:450px;}.Rp{font-size: 22px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;} .drugsOne{line-height: 1px;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';

+ 10 - 8
src/xt_pages/outpatientDoctorStation/treatPrint.vue View File

@@ -66,15 +66,17 @@ export default {
66 66
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
67 67
 
68 68
       if(this.org_id == 10138){
69
+        setTimeout(() => {
70
+          const style =
71
+          '@media print {#prescription-print{font-size:14px;}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 90%;}}}';
72
+          printJS({
73
+            printable: "prescriptionPrint",
74
+            type: "html",
75
+            style: style,
76
+            scanStyles: false
77
+          });
78
+        },500)
69 79
         
70
-        const style =
71
-        '@media print {#prescription-print{font-size:14px;}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:350px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 90%;}}}';
72
-        printJS({
73
-          printable: "prescriptionPrint",
74
-          type: "html",
75
-          style: style,
76
-          scanStyles: false
77
-        });
78 80
       }else{
79 81
         const style =
80 82
         '@media print {#prescription-print{font-size:14px;}.prescription-print:last-child {page-break-after: auto;}.prescription-print{font-size: 14px;}.printTitle{font-size: 18px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:5px;padding:0 10px;}.infoTitle div{width: 300px;margin-bottom:5px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;}.prescriptionBox{padding:0 10px;min-height:380px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; padding:0 10px;margin:5px 0;} .actionBar div{width:150px;}}';

+ 293 - 0
src/xt_pages/stock/drugs/drugModifyPrice.vue View File

@@ -0,0 +1,293 @@
1
+<template>
2
+  <div class="main-contain">
3
+    <div class="position">
4
+      <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+    </div>
6
+    <div class="app-container">
7
+      <div style="display: flex;align-items: center;justify-content: space-between;">
8
+        <div>
9
+            <el-input
10
+            size="small"
11
+            style="width: 200px;"
12
+            class="filter-item"
13
+            v-model.trim="searchKey"
14
+            placeholder=""
15
+            />
16
+            <el-button
17
+            size="small"
18
+            class="filter-item"
19
+            type="primary"
20
+            icon="el-icon-search"
21
+            @click="search"
22
+            >搜索</el-button
23
+            >
24
+            <el-date-picker
25
+            size="small"
26
+            v-model="value1"
27
+            type="date"
28
+            style="margin-left:5px;width:140px;"
29
+            placeholder="选择日期">
30
+            </el-date-picker>
31
+            <el-date-picker
32
+            size="small"
33
+            v-model="value2"
34
+            type="date"
35
+            style="margin-left:5px;width:140px;"
36
+            placeholder="选择日期">
37
+            </el-date-picker>
38
+        </div>
39
+        <div>
40
+            <el-button size="small" type="primary" @click="dialogVisible = true">新增</el-button>
41
+            <el-button size="small" type="primary">核对</el-button>
42
+            <el-button size="small" type="primary" @click="print">打印</el-button>
43
+            <el-button size="small" type="primary">导出</el-button>
44
+        </div>
45
+      </div>
46
+      <div style="margin-top:10px">
47
+            <el-table :data="tableData" border :height="tableHeight" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }">
48
+                <el-table-column
49
+                prop="date"
50
+                label="单据编码">
51
+                </el-table-column>
52
+                <el-table-column
53
+                prop="date"
54
+                label="调价日期">
55
+                </el-table-column>
56
+                <el-table-column
57
+                prop="name"
58
+                label="操作人">
59
+                </el-table-column>
60
+                <el-table-column
61
+                prop="name"
62
+                label="状态">
63
+                </el-table-column>
64
+                <el-table-column
65
+                prop="name"
66
+                label="核对人">
67
+                </el-table-column>
68
+                <el-table-column
69
+                label="操作">
70
+                    <template slot-scope="scope">
71
+                        <el-button type="text" size="small">删除</el-button>
72
+                        <el-button type="text" size="small">编辑</el-button>
73
+                    </template>
74
+                </el-table-column>
75
+            </el-table>
76
+        </div>
77
+    </div>
78
+    <el-dialog
79
+        title="库房调价"
80
+        :visible.sync="dialogVisible"
81
+        width="1200px"
82
+        :before-close="handleClose">
83
+        <el-form :model="form" class="modifyDialog" label-width="120px">
84
+            <el-form-item label="药品名称">
85
+                <el-input v-model="form.name"></el-input>
86
+            </el-form-item>
87
+            <el-form-item label="原价格">
88
+                <el-input v-model="form.name"></el-input>
89
+            </el-form-item>
90
+            <el-form-item label="现价格">
91
+                <el-input v-model="form.name"></el-input>
92
+            </el-form-item>
93
+            <el-form-item label="调价数量">
94
+                <el-input v-model="form.name"></el-input>
95
+            </el-form-item>
96
+            <el-form-item label="备注" style="width:66%;">
97
+                <div style="display:flex;">
98
+                    <el-input v-model="form.name"></el-input>
99
+                    <el-button style="margin-left:5px;" type="primary">添加</el-button>
100
+                </div>
101
+            </el-form-item>
102
+        </el-form>
103
+        <el-table :data="tableData" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }">
104
+            <el-table-column
105
+            prop="date"
106
+            label="单据编号"
107
+            width="100">
108
+            </el-table-column>
109
+            <el-table-column
110
+            prop="date"
111
+            label="药品名称"
112
+            width="100">
113
+            </el-table-column>
114
+            <el-table-column
115
+            prop="name"
116
+            label="规格"
117
+            width="100">
118
+            </el-table-column>
119
+            <el-table-column
120
+            prop="name"
121
+            label="单位"
122
+            width="100">
123
+            </el-table-column>
124
+            <el-table-column
125
+            prop="name"
126
+            label="调价数量"
127
+            width="100">
128
+            </el-table-column>
129
+            <el-table-column
130
+            prop="name"
131
+            label="原进货价"
132
+            width="100">
133
+            </el-table-column>
134
+            <el-table-column
135
+            prop="name"
136
+            label="原零售价"
137
+            width="100">
138
+            </el-table-column>
139
+            <el-table-column
140
+            prop="name"
141
+            label="新零售价"
142
+            width="100">
143
+            </el-table-column>
144
+            <el-table-column
145
+            prop="name"
146
+            label="生产厂商"
147
+            width="100">
148
+            </el-table-column>
149
+            <el-table-column
150
+            prop="name"
151
+            label="批准文号"
152
+            width="100">
153
+            </el-table-column>
154
+            <el-table-column
155
+            prop="name"
156
+            label="供应商"
157
+            width="100">
158
+            </el-table-column>
159
+            <el-table-column
160
+            prop="name"
161
+            label="备注"
162
+            width="100">
163
+            </el-table-column>
164
+            <el-table-column
165
+            fixed="right"
166
+            width="100"
167
+            label="操作">
168
+                <template slot-scope="scope">
169
+                    <el-button type="text" size="small">删除</el-button>
170
+                    <el-button type="text" size="small">编辑</el-button>
171
+                </template>
172
+            </el-table-column>
173
+        </el-table>
174
+        <span slot="footer" class="dialog-footer">
175
+            <el-button @click="dialogVisible = false">取 消</el-button>
176
+            <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
177
+        </span>
178
+    </el-dialog>
179
+  
180
+  </div>
181
+</template>
182
+
183
+<script>
184
+import BreadCrumb from "../../components/bread-crumb";
185
+
186
+export default {
187
+    name: "stockModifyPrice",
188
+    components:{
189
+        BreadCrumb
190
+    },
191
+    data() {
192
+        return{
193
+            crumbs: [
194
+                { path: false, name: "库存管理" },
195
+                { path: false, name: "耗材管理" },
196
+                { path: false, name: "耗材调价" }
197
+            ],
198
+            tableHeight: '',
199
+            fullHeight: document.documentElement.clientHeight,
200
+            searchKey:'',
201
+            value1:'',
202
+            value2:'',
203
+            tableData: [{
204
+                date: '2016-05-02',
205
+                name: '王小虎',
206
+                address: '上海市普陀区金沙江路 1518 弄'
207
+                }, {
208
+                date: '2016-05-04',
209
+                name: '王小虎',
210
+                address: '上海市普陀区金沙江路 1517 弄'
211
+                }, {
212
+                date: '2016-05-01',
213
+                name: '王小虎',
214
+                address: '上海市普陀区金沙江路 1519 弄'
215
+                }, {
216
+                date: '2016-05-03',
217
+                name: '王小虎',
218
+                address: '上海市普陀区金沙江路 1516 弄'
219
+            }],
220
+            dialogVisible:false,
221
+            form: {
222
+                name: '',
223
+            },
224
+        }
225
+    },
226
+    methods:{
227
+        search(){
228
+
229
+        },
230
+        print(){
231
+            this.$router.push({path:'/stock/stockModifyPricePrint'})
232
+            
233
+        }
234
+    },
235
+    created(){
236
+        let tableHeight = document.body.clientHeight - 200;
237
+        this.tableHeight = tableHeight
238
+    },
239
+    mounted() {
240
+      const that = this;
241
+      window.onresize = () => {
242
+        return (() => {
243
+          window.fullHeight = document.documentElement.clientHeight;
244
+          that.fullHeight = window.fullHeight
245
+        })()
246
+      }
247
+    },
248
+    watch: {
249
+      fullHeight(val) {
250
+        if (!this.timer) {
251
+          this.fullHeight = val
252
+          let tableHeight = val - 200
253
+          this.tableHeight = tableHeight
254
+          this.timer = true
255
+          let that = this
256
+          setTimeout(function() {
257
+            that.timer = false
258
+          }, 400)
259
+        }
260
+      }
261
+
262
+    }
263
+};
264
+</script>
265
+
266
+<style rel="stylesheet/scss" lang="scss">
267
+.app-container {
268
+  // margin: 20px;
269
+  font-size: 15px;
270
+}
271
+.modifyDialog{
272
+    display: flex;
273
+    flex-wrap: wrap;
274
+    margin-bottom: 10px;
275
+    .el-form-item{
276
+        width: 33%;
277
+    }
278
+}
279
+.el-table td,
280
+.el-table th.is-leaf,
281
+.el-table--border,
282
+.el-table--group {
283
+  border-color: #d0d3da;
284
+}
285
+.el-table--border::after,
286
+.el-table--group::after,
287
+.el-table::before {
288
+  background-color: #d0d3da;
289
+}
290
+::-webkit-scrollbar{
291
+    height: 20px !important;
292
+}
293
+</style>

+ 62 - 133
src/xt_pages/stock/stockWarning.vue View File

@@ -6,6 +6,14 @@
6 6
     <div class="app-container">
7 7
         <div style="display: flex;align-items: center;justify-content: space-between;margin-bottom:10px;">
8 8
             <div>
9
+                <el-select v-model="value" size="small" placeholder="请选择">
10
+                    <el-option
11
+                    v-for="item in options"
12
+                    :key="item.value"
13
+                    :label="item.label"
14
+                    :value="item.value">
15
+                    </el-option>
16
+                </el-select>
9 17
                 <el-input
10 18
                 size="small"
11 19
                 style="width: 200px;"
@@ -21,124 +29,33 @@
21 29
                 @click="search"
22 30
                 >搜索</el-button
23 31
                 >
24
-                <el-date-picker
25
-                size="small"
26
-                v-model="value1"
27
-                type="date"
28
-                style="margin-left:5px;width:140px;"
29
-                placeholder="选择日期">
30
-                </el-date-picker>
31
-                <el-date-picker
32
-                size="small"
33
-                v-model="value2"
34
-                type="date"
35
-                style="margin-left:5px;width:140px;"
36
-                placeholder="选择日期">
37
-                </el-date-picker>
32
+                <el-select v-model="value" size="small" placeholder="请选择">
33
+                    <el-option
34
+                    v-for="item in options"
35
+                    :key="item.value"
36
+                    :label="item.label"
37
+                    :value="item.value">
38
+                    </el-option>
39
+                </el-select>
38 40
             </div>
39 41
             <div>
40
-                <el-button size="small" type="primary" @click="dialogVisible = true">新增</el-button>
41
-                <el-button size="small" type="primary">核对</el-button>
42
-                <el-button size="small" type="primary" @click="print">打印</el-button>
43 42
                 <el-button size="small" type="primary">导出</el-button>
44 43
             </div>
45 44
         </div>
46 45
         <el-table :data="tableData" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }">
47 46
             <el-table-column
48
-            prop="date"
49
-            label="报损编码">
50
-            </el-table-column>
51
-            <el-table-column
52
-            prop="date"
53
-            label="报损日期">
54
-            </el-table-column>
55
-            <el-table-column
56
-            prop="name"
57
-            label="操作人">
47
+            type="selection"
48
+            width="55">
58 49
             </el-table-column>
59 50
             <el-table-column
60
-            prop="name"
61
-            label="审核日期">
51
+            type="index"
52
+            width="50">
62 53
             </el-table-column>
63 54
             <el-table-column
64
-            prop="name"
65
-            label="核对人">
66
-            </el-table-column>
67
-            <el-table-column
68
-            prop="name"
69
-            label="状态">
70
-            </el-table-column>
71
-            <el-table-column
72
-            label="操作">
73
-                <template slot-scope="scope">
74
-                    <el-button type="text" size="small">删除</el-button>
75
-                    <el-button type="text" size="small">编辑</el-button>
76
-                </template>
77
-            </el-table-column>
78
-        </el-table>
79
-        <el-pagination
80
-            @size-change="handleSizeChange"
81
-            @current-change="handleCurrentChange"
82
-            :page-sizes="[5, 10, 50, 100]"
83
-            :page-size="5"
84
-            background
85
-            style="margin-top:20px;text-align: right"
86
-            layout="total, sizes, prev, pager, next, jumper"
87
-            :total="total"
88
-        >
89
-        </el-pagination>
90
-    </div>
91
-    <el-dialog
92
-        title="库房调价"
93
-        :visible.sync="dialogVisible"
94
-        width="1200px"
95
-        :before-close="handleClose">
96
-        <el-form :model="form" class="modifyDialog" label-width="120px">
97
-            <el-form-item label="耗材ID">
98
-                <el-input v-model="form.name"></el-input>
99
-            </el-form-item>
100
-            <el-form-item label="药品名称">
101
-                <el-input v-model="form.name"></el-input>
102
-            </el-form-item>
103
-            <el-form-item label="规格">
104
-                <el-input v-model="form.name"></el-input>
105
-            </el-form-item>
106
-            <el-form-item label="单位">
107
-                <el-input v-model="form.name"></el-input>
108
-            </el-form-item>
109
-            <el-form-item label="进货价">
110
-                <el-input v-model="form.name"></el-input>
111
-            </el-form-item>
112
-            <el-form-item label="零售价">
113
-                <el-input v-model="form.name"></el-input>
114
-            </el-form-item>
115
-            <el-form-item label="报损数量">
116
-                <el-input v-model="form.name"></el-input>
117
-            </el-form-item>
118
-            <el-form-item label="库存">
119
-                <el-input v-model="form.name"></el-input>
120
-            </el-form-item>
121
-            <el-form-item label="产地">
122
-                <el-input v-model="form.name"></el-input>
123
-            </el-form-item>
124
-            <el-form-item label="批准文号">
125
-                <el-input v-model="form.name"></el-input>
126
-            </el-form-item>
127
-            <el-form-item label="生产厂商">
128
-                <el-input v-model="form.name"></el-input>
129
-            </el-form-item>
130
-            <el-form-item label="备注">
131
-                <div style="display:flex;">
132
-                    <el-input v-model="form.name"></el-input>
133
-                    <el-button style="margin-left:5px;" type="primary">添加</el-button>
134
-                </div>
135
-            </el-form-item>
136
-        </el-form>
137
-        <el-table :data="tableData" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }">
138
-            <el-table-column
55
+            fixed="left"
139 56
             prop="date"
140 57
             label="耗材ID"
141
-            width="100">
58
+            width="80">
142 59
             </el-table-column>
143 60
             <el-table-column
144 61
             prop="date"
@@ -147,7 +64,7 @@
147 64
             </el-table-column>
148 65
             <el-table-column
149 66
             prop="name"
150
-            label="规格"
67
+            label="规格型号"
151 68
             width="100">
152 69
             </el-table-column>
153 70
             <el-table-column
@@ -157,22 +74,22 @@
157 74
             </el-table-column>
158 75
             <el-table-column
159 76
             prop="name"
160
-            label="调价数量"
77
+            label="零售价"
161 78
             width="100">
162 79
             </el-table-column>
163 80
             <el-table-column
164 81
             prop="name"
165
-            label="进货价"
82
+            label="进货价"
166 83
             width="100">
167 84
             </el-table-column>
168 85
             <el-table-column
169 86
             prop="name"
170
-            label="原零售价"
87
+            label="库存数量"
171 88
             width="100">
172 89
             </el-table-column>
173 90
             <el-table-column
174 91
             prop="name"
175
-            label="新零售价"
92
+            label="库存预警"
176 93
             width="100">
177 94
             </el-table-column>
178 95
             <el-table-column
@@ -192,24 +109,30 @@
192 109
             </el-table-column>
193 110
             <el-table-column
194 111
             prop="name"
195
-            label="备注"
112
+            label="供应商"
196 113
             width="100">
197 114
             </el-table-column>
198 115
             <el-table-column
199
-            fixed="right"
200
-            width="100"
201
-            label="操作">
202
-                <template slot-scope="scope">
203
-                    <el-button type="text" size="small">删除</el-button>
204
-                    <el-button type="text" size="small">编辑</el-button>
205
-                </template>
116
+            prop="name"
117
+            label="状态"
118
+            width="80">
119
+            </el-table-column>
120
+            <el-table-column
121
+            label="备注">
206 122
             </el-table-column>
207 123
         </el-table>
208
-        <span slot="footer" class="dialog-footer">
209
-            <el-button @click="dialogVisible = false">取 消</el-button>
210
-            <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
211
-        </span>
212
-    </el-dialog>
124
+        <el-pagination
125
+            @size-change="handleSizeChange"
126
+            @current-change="handleCurrentChange"
127
+            :page-sizes="[5, 10, 50, 100]"
128
+            :page-size="5"
129
+            background
130
+            style="margin-top:20px;text-align: right"
131
+            layout="total, sizes, prev, pager, next, jumper"
132
+            :total="total"
133
+        >
134
+        </el-pagination>
135
+    </div>
213 136
   
214 137
   </div>
215 138
 </template>
@@ -230,8 +153,6 @@ export default {
230 153
                 { path: false, name: "耗材报损" }
231 154
             ],
232 155
             searchKey:'',
233
-            value1:'',
234
-            value2:'',
235 156
             tableData: [{
236 157
                 date: '2016-05-02',
237 158
                 name: '王小虎',
@@ -249,20 +170,28 @@ export default {
249 170
                 name: '王小虎',
250 171
                 address: '上海市普陀区金沙江路 1516 弄'
251 172
             }],
252
-            dialogVisible:false,
253
-            form: {
254
-                name: '',
255
-            },
256 173
             total: 0,
174
+            options: [{
175
+                value: '选项1',
176
+                label: '黄金糕'
177
+                }, {
178
+                value: '选项2',
179
+                label: '双皮奶'
180
+                }, {
181
+                value: '选项3',
182
+                label: '蚵仔煎'
183
+                }, {
184
+                value: '选项4',
185
+                label: '龙须面'
186
+                }, {
187
+                value: '选项5',
188
+                label: '北京烤鸭'
189
+            }],
257 190
         }
258 191
     },
259 192
     methods:{
260 193
         search(){
261 194
 
262
-        },
263
-        print(){
264
-            this.$router.push({path:'/stock/stockModifyPricePrint'})
265
-            
266 195
         },
267 196
         handleSizeChange(){},
268 197
         handleCurrentChange(){}