|
@@ -112,11 +112,9 @@
|
112
|
112
|
<!-- type="primary">记账-->
|
113
|
113
|
<!-- </el-button>-->
|
114
|
114
|
|
115
|
|
-
|
116
|
|
-
|
117
|
115
|
<el-button v-loading="loadingone" size="small"
|
118
|
116
|
@click="open(40)"
|
119
|
|
- v-if="org_id == 10191 || org_id == 10318 || org_id == 10567"
|
|
117
|
+ v-if="org_id == 10191 || org_id == 10318 || org_id == 10567 || org_id == 10375"
|
120
|
118
|
type="primary">登陆
|
121
|
119
|
</el-button>
|
122
|
120
|
|
|
@@ -3428,15 +3426,46 @@ export default {
|
3428
|
3426
|
}
|
3429
|
3427
|
|
3430
|
3428
|
} else if (index == 9) {
|
3431
|
|
- this.statementVisible = true
|
3432
|
|
- let obj = {
|
3433
|
|
- order_id: this.order.id,
|
3434
|
|
- settle_type: this.order.settle_type,
|
3435
|
|
- start_time: this.order.settle_start_time,
|
3436
|
|
- end_time: this.order.settle_end_time,
|
3437
|
|
- balance_accounts_type: this.hisPatientInfo.balance_accounts_type
|
|
3429
|
+ if (this.org_id == 10375){
|
|
3430
|
+ var that = this
|
|
3431
|
+ axios
|
|
3432
|
+ .get('http://127.0.0.1:9532/api/settle/query', {
|
|
3433
|
+ params: {
|
|
3434
|
+ order_id: that.order.id,
|
|
3435
|
+ admin_user_id: that.$store.getters.xt_user.user.id
|
|
3436
|
+ }
|
|
3437
|
+ })
|
|
3438
|
+ .then(function(response) {
|
|
3439
|
+ if (response.data.state == 0) {
|
|
3440
|
+ this.$message.error(response.data.msg)
|
|
3441
|
+ return false
|
|
3442
|
+ } else {
|
|
3443
|
+ if (response.data.data.failed_code == -10) {
|
|
3444
|
+ // that.$message.error(response.data.data.msg)
|
|
3445
|
+ that.$confirm(response.data.data.msg, '医保错误信息', {
|
|
3446
|
+ confirmButtonText: '确 定',
|
|
3447
|
+ type: 'warning'
|
|
3448
|
+ }).then(() => {
|
|
3449
|
+
|
|
3450
|
+ }).catch(() => {
|
|
3451
|
+ })
|
|
3452
|
+ }
|
|
3453
|
+ }
|
|
3454
|
+ })
|
|
3455
|
+ .catch(function(error) {
|
|
3456
|
+ })
|
|
3457
|
+ }else{
|
|
3458
|
+ this.statementVisible = true
|
|
3459
|
+ let obj = {
|
|
3460
|
+ order_id: this.order.id,
|
|
3461
|
+ settle_type: this.order.settle_type,
|
|
3462
|
+ start_time: this.order.settle_start_time,
|
|
3463
|
+ end_time: this.order.settle_end_time,
|
|
3464
|
+ balance_accounts_type: this.hisPatientInfo.balance_accounts_type
|
|
3465
|
+ }
|
|
3466
|
+ this.orderObj = obj
|
|
3467
|
+
|
3438
|
3468
|
}
|
3439
|
|
- this.orderObj = obj
|
3440
|
3469
|
// this.$refs.print.getInfo(this.order.id)
|
3441
|
3470
|
}else if (index == 100) {
|
3442
|
3471
|
this.newStatementVisibleTwo = true
|