|
@@ -46,6 +46,19 @@
|
46
|
46
|
</div>
|
47
|
47
|
</div>
|
48
|
48
|
|
|
49
|
+ <div>
|
|
50
|
+ <div>结算状态:
|
|
51
|
+ <el-select size="small" v-model="is_settle" placeholder="请选择" style="width:100px;" @change="changeSettle">
|
|
52
|
+ <el-option
|
|
53
|
+ v-for="item,index in settle_items"
|
|
54
|
+ :key="index"
|
|
55
|
+ :label="item.name"
|
|
56
|
+ :value="item.id">
|
|
57
|
+ </el-option>
|
|
58
|
+ </el-select>
|
|
59
|
+ </div>
|
|
60
|
+ </div>
|
|
61
|
+
|
49
|
62
|
<div>
|
50
|
63
|
<el-button type="primary" @click="batchUpload()">批量上传</el-button>
|
51
|
64
|
<el-button type="primary" @click="query()">查询</el-button>
|
|
@@ -103,6 +116,14 @@
|
103
|
116
|
</template>
|
104
|
117
|
</el-table-column>
|
105
|
118
|
|
|
119
|
+
|
|
120
|
+ <el-table-column align="center" prop="name" label="结算状态">
|
|
121
|
+ <template slot-scope="scope">
|
|
122
|
+ <div v-if="scope.row.pre.order_status == 2">已结算</div>
|
|
123
|
+ <div v-if="scope.row.pre.order_status != 2">未结算</div>
|
|
124
|
+ </template>
|
|
125
|
+ </el-table-column>
|
|
126
|
+
|
106
|
127
|
<el-table-column align="center" prop="name" label="操作" width="200">
|
107
|
128
|
<template slot-scope="scope">
|
108
|
129
|
<div>
|
|
@@ -119,13 +140,14 @@
|
119
|
140
|
|
120
|
141
|
|
121
|
142
|
</el-table>
|
122
|
|
-
|
|
143
|
+
|
123
|
144
|
<el-pagination
|
124
|
145
|
@size-change="handleSizeChange"
|
125
|
146
|
@current-change="handleCurrentChange"
|
126
|
147
|
:page-size="10"
|
127
|
148
|
:page-sizes="[10, 20, 50, 100,500,1000,2000]"
|
128
|
149
|
background
|
|
150
|
+ layout="total, sizes, prev, pager, next, jumper"
|
129
|
151
|
style="margin-top:20px;float: right"
|
130
|
152
|
:total="total"
|
131
|
153
|
></el-pagination>
|
|
@@ -176,7 +198,7 @@ export default {
|
176
|
198
|
drugTypeList: [{id: 0, name: "全部"}],
|
177
|
199
|
start_time: new Date(new Date().getFullYear(), new Date().getMonth(), 1).toLocaleDateString('en-CA'),
|
178
|
200
|
end_time: new Date(new Date().getFullYear(), new Date().getMonth() + 1, 0).toLocaleDateString('en-CA'),
|
179
|
|
-
|
|
201
|
+ is_settle:"0",
|
180
|
202
|
tableData: [],
|
181
|
203
|
change_type: "3",
|
182
|
204
|
selection: [],
|
|
@@ -189,6 +211,11 @@ export default {
|
189
|
211
|
{id: "1", name: '已上传'},
|
190
|
212
|
{id: "2", name: '未上传'},
|
191
|
213
|
],
|
|
214
|
+ settle_items: [
|
|
215
|
+ {id: "0", name: '全部'},
|
|
216
|
+ {id: "2", name: '已结算'},
|
|
217
|
+ {id: "1", name: '未结算'},
|
|
218
|
+ ],
|
192
|
219
|
patientList: [],
|
193
|
220
|
drugList: [],
|
194
|
221
|
dialogVisibleOne: false,
|
|
@@ -567,6 +594,7 @@ export default {
|
567
|
594
|
page: this.page,
|
568
|
595
|
limit: this.limit,
|
569
|
596
|
is_sale: this.is_sale,
|
|
597
|
+ is_settle:this.is_settle,
|
570
|
598
|
|
571
|
599
|
}
|
572
|
600
|
getHisDrugCodeQueryList(params).then(response => {
|
|
@@ -582,6 +610,10 @@ export default {
|
582
|
610
|
this.is_open = response.data.data.codeConfig.is_open
|
583
|
611
|
}
|
584
|
612
|
})
|
|
613
|
+ },changeSettle(val){
|
|
614
|
+
|
|
615
|
+ this.is_settle = val
|
|
616
|
+ this.getlist()
|
585
|
617
|
},
|
586
|
618
|
changeStock(val) {
|
587
|
619
|
this.is_sale = val
|