|
@@ -1030,11 +1030,11 @@ export default {
|
|
|
this.data[row.index].corpName = row.cname;
|
|
|
},
|
|
|
priceTermsChange(row) {
|
|
|
- if(!this.form.priceTermsDescription){
|
|
|
- if(row=='FOB'||row=='EXW'){
|
|
|
- this.form.priceTermsDescription=this.form.portOfLoad
|
|
|
- }else{
|
|
|
- this.form.priceTermsDescription=this.form.portOfDestination
|
|
|
+ if (!this.form.priceTermsDescription) {
|
|
|
+ if (row == "FOB" || row == "EXW") {
|
|
|
+ this.form.priceTermsDescription = this.form.portOfLoad;
|
|
|
+ } else {
|
|
|
+ this.form.priceTermsDescription = this.form.portOfDestination;
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -1861,8 +1861,22 @@ export default {
|
|
|
return sums;
|
|
|
},
|
|
|
openEdit() {
|
|
|
+ // const data = {
|
|
|
+ // // moduleName: "bj",
|
|
|
+ // // tableName: "business_order",
|
|
|
+ // billId: this.form.id,
|
|
|
+ // no: localStorage.getItem('browserID')
|
|
|
+ // };
|
|
|
+ // this.saveLoading = true;
|
|
|
+ // this.checkLock(data).then(res => {
|
|
|
+ // if (res.data.code == 200) {
|
|
|
+ // this.onLock(data).then(response => {});
|
|
|
+ // this.detailData.status = 2;
|
|
|
+ // this.option = this.$options.data().option;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
this.detailData.status = 2;
|
|
|
- this.option = this.$options.data().option;
|
|
|
+ this.option = this.$options.data().option;
|
|
|
},
|
|
|
async saveColumn() {
|
|
|
const inSave = await this.saveColumnData(
|