|
@@ -802,6 +802,8 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
this.addBook.dutyParagraph = duty
|
|
|
+ }else{
|
|
|
+ this.resetColumns()
|
|
|
}
|
|
|
this.setHeadCalField()
|
|
|
this.getFreightForwarder(this.addBookData[0].acSetNo)
|
|
@@ -1022,6 +1024,59 @@ export default {
|
|
|
})
|
|
|
// this.getShipmentList() // 刷新托书列表
|
|
|
},
|
|
|
+ resetColumns(){
|
|
|
+ this.addBookColumns=[
|
|
|
+ {
|
|
|
+ title: '数量',
|
|
|
+ dataIndex: 'number',
|
|
|
+ width: 90,
|
|
|
+ ellipsis: true,
|
|
|
+ className: 'replacecolor'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '箱数',
|
|
|
+ dataIndex: 'boxNumber',
|
|
|
+ width: 90,
|
|
|
+ ellipsis: true,
|
|
|
+ className: 'replacecolor'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '毛重',
|
|
|
+ dataIndex: 'grossWeight',
|
|
|
+ width: 90,
|
|
|
+ ellipsis: true,
|
|
|
+ className: 'replacecolor'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '净重',
|
|
|
+ dataIndex: 'netWeight',
|
|
|
+ width: 90,
|
|
|
+ ellipsis: true,
|
|
|
+ className: 'replacecolor'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '单价',
|
|
|
+ dataIndex: 'price',
|
|
|
+ width: 90,
|
|
|
+ ellipsis: true,
|
|
|
+ className: 'replacecolor'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '金额',
|
|
|
+ dataIndex: 'totalPrice',
|
|
|
+ width: 90,
|
|
|
+ ellipsis: true,
|
|
|
+ className: 'replacecolor'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '英文名称',
|
|
|
+ dataIndex: 'englishProductName',
|
|
|
+ width: 90,
|
|
|
+ ellipsis: true,
|
|
|
+ className: 'replacecolor'
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ },
|
|
|
adsCNY(){
|
|
|
var newObj ={
|
|
|
freightForwarder :'',
|