|
@@ -598,7 +598,6 @@ export default {
|
|
|
viewArea
|
|
viewArea
|
|
|
},
|
|
},
|
|
|
props: {
|
|
props: {
|
|
|
- onLoad: Object,
|
|
|
|
|
detailData: Object
|
|
detailData: Object
|
|
|
},
|
|
},
|
|
|
async created() {
|
|
async created() {
|
|
@@ -611,17 +610,11 @@ export default {
|
|
|
this.optionPaymentDetails = await this.getColumnData(this.getColumnName(270.2), this.optionPaymentDetailsBack);
|
|
this.optionPaymentDetails = await this.getColumnData(this.getColumnName(270.2), this.optionPaymentDetailsBack);
|
|
|
this.optionOutboundRecords = await this.getColumnData(this.getColumnName(270.3), this.optionOutboundRecordsBack);
|
|
this.optionOutboundRecords = await this.getColumnData(this.getColumnName(270.3), this.optionOutboundRecordsBack);
|
|
|
this.key++;
|
|
this.key++;
|
|
|
- if (this.onLoad.id) {
|
|
|
|
|
- this.editButton = true;
|
|
|
|
|
- this.editDisabled = true;
|
|
|
|
|
- this.optionForm.disabled = true;
|
|
|
|
|
- this.refresh(this.onLoad.id, true);
|
|
|
|
|
- }
|
|
|
|
|
if (this.detailData.id) {
|
|
if (this.detailData.id) {
|
|
|
this.editButton = true;
|
|
this.editButton = true;
|
|
|
this.editDisabled = true;
|
|
this.editDisabled = true;
|
|
|
this.optionForm.disabled = true;
|
|
this.optionForm.disabled = true;
|
|
|
- this.refresh();
|
|
|
|
|
|
|
+ this.refresh(this.detailData.id);
|
|
|
}
|
|
}
|
|
|
if (this.$route.query.srcId) {
|
|
if (this.$route.query.srcId) {
|
|
|
this.editButton = true;
|
|
this.editButton = true;
|