|
@@ -509,7 +509,7 @@ import {
|
|
|
detailDelegationList,
|
|
|
removeCollection,
|
|
|
saveSaveList,
|
|
|
- addressList, cancelSubmission, getCorp, getSalesman, getFee, changeSubmission, validChange
|
|
|
+ addressList, cancelSubmission, getCorp, getSalesman, getFee, changeSubmission, validChange, tRemove
|
|
|
} from "@/api/landTransportation";
|
|
|
import {getDeptTree} from "@/api/system/dept";
|
|
|
import website from "@/config/website";
|
|
@@ -1130,7 +1130,7 @@ export default {
|
|
|
column: [{
|
|
|
label: '货运日期',
|
|
|
type: "datetime",
|
|
|
- format: 'yyyy-MM-dd HH:mm:ss',
|
|
|
+ format: 'yyyy-MM-dd HH:mm',
|
|
|
valueFormat: 'yyyy-MM-dd HH:mm:ss',
|
|
|
cell: true,
|
|
|
width: 200,
|
|
@@ -1673,7 +1673,13 @@ export default {
|
|
|
},
|
|
|
//删除途径地址
|
|
|
deleteAddress(scope) {
|
|
|
- this.tableData.splice(scope.$index, 1);
|
|
|
+ if (scope.row.id){
|
|
|
+ tRemove({ids:scope.row.id}).then(res=>{
|
|
|
+ this.tableData.splice(scope.$index, 1);
|
|
|
+ })
|
|
|
+ }else {
|
|
|
+ this.tableData.splice(scope.$index, 1);
|
|
|
+ }
|
|
|
},
|
|
|
//箱信息保存
|
|
|
rowSave(row, index, done, loading) {
|