|
|
@@ -763,7 +763,6 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
props: {
|
|
|
- onLoad: Object,
|
|
|
detailData: Object
|
|
|
},
|
|
|
|
|
|
@@ -858,11 +857,6 @@ export default {
|
|
|
this.editDisabled = true;
|
|
|
this.optionForm.disabled = true;
|
|
|
this.refresh(this.detailData.id, true);
|
|
|
- } else if (this.onLoad.id) {
|
|
|
- this.editButton = true;
|
|
|
- this.editDisabled = true;
|
|
|
- this.optionForm.disabled = true;
|
|
|
- this.refresh(this.onLoad.id, true);
|
|
|
}
|
|
|
|
|
|
if (this.$route.query.srcId) {
|
|
|
@@ -871,12 +865,6 @@ export default {
|
|
|
this.optionForm.disabled = true;
|
|
|
this.refresh(this.$route.query.srcId);
|
|
|
}
|
|
|
- if (this.$route.query.id) {
|
|
|
- this.editButton = true;
|
|
|
- this.editDisabled = true;
|
|
|
- this.optionForm.disabled = true;
|
|
|
- this.refresh(this.$route.query.id);
|
|
|
- }
|
|
|
this.$store.commit("DOMIO_IN_DETAIL");
|
|
|
isProcurement({ param: "number.decimal" }).then(res => {
|
|
|
this.numberDecimal = res.data.data ? Number(res.data.data) : 0;
|