Browse Source

托书-新增-表头

jbb 2 years ago
parent
commit
4285f0e098
1 changed files with 55 additions and 0 deletions
  1. 55 0
      src/views/book/addBookDrawer.vue

+ 55 - 0
src/views/book/addBookDrawer.vue

@@ -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 :'',