|
@@ -2231,21 +2231,8 @@ export default {
|
|
|
orderItemsList: this.data,
|
|
|
orderFeesList: orderFeesList,
|
|
|
orderFilesList: this.orderFilesList
|
|
|
- }).then(res => {
|
|
|
- this.form = res.data.data;
|
|
|
- this.data = res.data.data.orderItemsList;
|
|
|
- this.orderFeesList = res.data.data.orderFeesList;
|
|
|
- this.orderFilesList = res.data.data.orderFilesList;
|
|
|
+ }).then(ress => {
|
|
|
this.$message.success("保存成功");
|
|
|
- this.oldform = res.data.data;
|
|
|
- this.olddata = this.deepClone(res.data.data.orderItemsList);
|
|
|
- this.oldorderFeesList = this.deepClone(
|
|
|
- res.data.data.orderFeesList
|
|
|
- );
|
|
|
- this.oldorderFilesList = this.deepClone(
|
|
|
- res.data.data.orderFilesList
|
|
|
- );
|
|
|
- this.oldExchange = this.deepClone(this.form.exchangeRate);
|
|
|
if (status == "goBack") {
|
|
|
if (this.form.id) {
|
|
|
this.unLock({
|
|
@@ -2257,6 +2244,36 @@ export default {
|
|
|
}
|
|
|
this.$emit("goBack");
|
|
|
this.leaveDetailsKey(this.$route.name);
|
|
|
+ }else {
|
|
|
+ this.showBut = false;
|
|
|
+ this.pageLoading = true;
|
|
|
+ detail(ress.data.data.id).then(res => {
|
|
|
+ this.form = res.data.data;
|
|
|
+ this.data = res.data.data.orderItemsList;
|
|
|
+ this.orderFeesList = res.data.data.orderFeesList;
|
|
|
+ this.orderFilesList = res.data.data.orderFilesList;
|
|
|
+ this.oldform = res.data.data;
|
|
|
+ this.olddata = this.deepClone(res.data.data.orderItemsList);
|
|
|
+ this.oldorderFeesList = this.deepClone(res.data.data.orderFeesList);
|
|
|
+ this.oldorderFilesList = this.deepClone(res.data.data.orderFilesList);
|
|
|
+ this.oldExchange = this.deepClone(this.form.exchangeRate);
|
|
|
+ }).finally(() => {
|
|
|
+ this.showBut = true;
|
|
|
+ this.pageLoading = false;
|
|
|
+ });
|
|
|
+ this.form = res.data.data;
|
|
|
+ this.data = res.data.data.orderItemsList;
|
|
|
+ this.orderFeesList = res.data.data.orderFeesList;
|
|
|
+ this.orderFilesList = res.data.data.orderFilesList;
|
|
|
+ this.oldform = res.data.data;
|
|
|
+ this.olddata = this.deepClone(res.data.data.orderItemsList);
|
|
|
+ this.oldorderFeesList = this.deepClone(
|
|
|
+ res.data.data.orderFeesList
|
|
|
+ );
|
|
|
+ this.oldorderFilesList = this.deepClone(
|
|
|
+ res.data.data.orderFilesList
|
|
|
+ );
|
|
|
+ this.oldExchange = this.deepClone(this.form.exchangeRate);
|
|
|
}
|
|
|
})
|
|
|
.finally(() => {
|