|
|
@@ -159,7 +159,11 @@ export default {
|
|
|
auditForm: {
|
|
|
prescribeId: undefined,
|
|
|
auditStatus: 1,
|
|
|
- auditReason: ''
|
|
|
+ auditReason: '',
|
|
|
+ collectionId: null,
|
|
|
+ qwTag: null,
|
|
|
+ personalCollectStatus: null
|
|
|
+
|
|
|
},
|
|
|
drugsDialog: { open: false },
|
|
|
drugsList: [],
|
|
|
@@ -247,9 +251,12 @@ export default {
|
|
|
this.$message.warning('仅待审核记录可操作')
|
|
|
return
|
|
|
}
|
|
|
- this.auditForm.prescribeId = row.prescribeId
|
|
|
- this.auditForm.auditStatus = (current === 1 || current === '1') ? 1 : (current === 2 || current === '2') ? 2 : 1
|
|
|
- this.auditForm.auditReason = row.auditReason || ''
|
|
|
+ this.auditForm.prescribeId = row.prescribeId;
|
|
|
+ this.auditForm.auditStatus = (current === 1 || current === '1') ? 1 : (current === 2 || current === '2') ? 2 : 1;
|
|
|
+ this.auditForm.auditReason = row.auditReason || '';
|
|
|
+ this.auditForm.collectionId = row.collectionId;
|
|
|
+ this.auditForm.qwTag = row.qwTag;
|
|
|
+ this.auditForm.personalCollectStatus = row.personalCollectStatus;
|
|
|
this.auditDialog.open = true
|
|
|
},
|
|
|
submitAudit() {
|
|
|
@@ -257,7 +264,14 @@ export default {
|
|
|
this.$message.error('请填写拒绝原因')
|
|
|
return
|
|
|
}
|
|
|
- const payload = { prescribeId: this.auditForm.prescribeId, status: this.auditForm.auditStatus, auditReason: this.auditForm.auditReason }
|
|
|
+ const payload = {
|
|
|
+ prescribeId: this.auditForm.prescribeId,
|
|
|
+ status: this.auditForm.auditStatus,
|
|
|
+ auditReason: this.auditForm.auditReason,
|
|
|
+ collectionId: this.auditForm.collectionId,
|
|
|
+ qwTag: this.auditForm.qwTag,
|
|
|
+ personalCollectStatus: this.auditForm.personalCollectStatus
|
|
|
+ }
|
|
|
auditPrescribe(payload).then(() => {
|
|
|
this.$message.success('审核成功')
|
|
|
this.auditDialog.open = false
|