|
@@ -188,7 +188,7 @@ export default {
|
|
|
{ item: { key: "verifyState", title: "单据状态"}, attr: {
|
|
|
is: "el-dict-tag",
|
|
|
dictName: "sys_status",
|
|
|
- }
|
|
|
+ }
|
|
|
},
|
|
|
{ item: { key: "serviceFee", title: "服务费合计" }, attr: {} },
|
|
|
{ item: { key: "custName", title: "医院名称" }, attr: {} },
|
|
@@ -273,19 +273,18 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
huizong() {
|
|
|
+ console.log('ids', this.ids);
|
|
|
if (this.ids.length <= 0) {
|
|
|
this.$modal.notifyWarning("至少勾选一条数据");
|
|
|
} else {
|
|
|
- huizongMX(this.ids).then(res => {
|
|
|
- if(res.code === 200) {
|
|
|
- this.$modal.notifySuccess(res.msg);
|
|
|
- // this.huizongDC(this.ids)
|
|
|
- }
|
|
|
- })
|
|
|
+ let map = {
|
|
|
+ ids: this.ids.map(s => s.id)
|
|
|
+ }
|
|
|
+ this.download('/pu/doc/pullToCcd', {...map}, `汇总明细_${new Date().getTime()}.xlsx`)
|
|
|
}
|
|
|
},
|
|
|
huizongDC(arr) {
|
|
|
- this.download('/pu/doc/pullToCcd', arr, `汇总明细_${new Date().getTime()}.xlsx`)
|
|
|
+ this.download('/pu/doc/pullToCcd', {...arr}, `汇总明细_${new Date().getTime()}.xlsx`)
|
|
|
// exportMx(arr).then(res => {
|
|
|
// console.log('111',res)
|
|
|
// const blob = new Blob([res], {
|
|
@@ -328,4 +327,4 @@ export default {
|
|
|
display: flex;
|
|
|
justify-content: flex-end;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|