|
@@ -1069,7 +1069,7 @@
|
1069
|
1069
|
|
1070
|
1070
|
if (this.$store.getters.xt_user.org_id == 10028 || this.$store.getters.xt_user.org_id == 9504 || this.$store.getters.xt_user.org_id == 10138 || this.$store.getters.xt_user.org_id == 0) {
|
1071
|
1071
|
var that = this
|
1072
|
|
-
|
|
1072
|
+
|
1073
|
1073
|
axios.get('http://127.0.0.1:9532/sz/api/settle/get', {
|
1074
|
1074
|
params: form
|
1075
|
1075
|
})
|
|
@@ -3387,8 +3387,22 @@
|
3387
|
3387
|
this.cal_three = three_count
|
3388
|
3388
|
|
3389
|
3389
|
this.current_index = 0
|
|
3390
|
+ let ids = []
|
|
3391
|
+ let temp_order_id = 0
|
3390
|
3392
|
for (let i = 0; i < this.patientTableData.length; i++) {
|
|
3393
|
+ // console.log(this.patientTableData[i])
|
|
3394
|
+
|
3391
|
3395
|
if (this.hisPatientInfo.id == this.patientTableData[i].his_patient_id) {
|
|
3396
|
+ ids.push(this.patientTableData[i].order_id)
|
|
3397
|
+ // this.$refs.tab.setCurrentRow(this.patientTableData[i])
|
|
3398
|
+ // this.getPatientInformation(this.patientTableData[i].id, this.patientTableData[i].order.number, this.patientTableData[i].his_patient.id, this.patientTableData[i].order.id)
|
|
3399
|
+ }
|
|
3400
|
+
|
|
3401
|
+ }
|
|
3402
|
+
|
|
3403
|
+ temp_order_id = ids[ids.length - 1]
|
|
3404
|
+ for (let i = 0; i < this.patientTableData.length; i++) {
|
|
3405
|
+ if (temp_order_id == this.patientTableData[i].order_id) {
|
3392
|
3406
|
this.$refs.tab.setCurrentRow(this.patientTableData[i])
|
3393
|
3407
|
this.getPatientInformation(this.patientTableData[i].id, this.patientTableData[i].order.number, this.patientTableData[i].his_patient.id, this.patientTableData[i].order.id)
|
3394
|
3408
|
}
|
|
@@ -4615,7 +4629,7 @@
|
4615
|
4629
|
})
|
4616
|
4630
|
.then(function(response) {
|
4617
|
4631
|
if (response.data.state == 0) {
|
4618
|
|
- that.$message.error(response.data.msg)
|
|
4632
|
+ // that.$message.error(response.data.msg)
|
4619
|
4633
|
return false
|
4620
|
4634
|
} else {
|
4621
|
4635
|
if (response.data.data.failed_code == -10) {
|