Przeglądaj źródła

托书新增隐藏集装箱代号字段

jbb 2 lat temu
rodzic
commit
ccef2ecf27
1 zmienionych plików z 12 dodań i 13 usunięć
  1. 12 13
      src/views/book/addBookDrawer.vue

+ 12 - 13
src/views/book/addBookDrawer.vue

@@ -464,14 +464,14 @@ export default {
           // fixed: 'left',
           className: 'replacecolor'
         },
-          {
-          title: '集装箱代号',
-          dataIndex: 'containerCode',
-          scopedSlots: { customRender: 'containerCode' },
-          width: 120,
-          ellipsis: true,
-          className: 'replacecolor'
-        },
+        //   {
+        //   title: '集装箱代号',
+        //   dataIndex: 'containerCode',
+        //   scopedSlots: { customRender: 'containerCode' },
+        //   width: 120,
+        //   ellipsis: true,
+        //   className: 'replacecolor'
+        // },
           {
           title: '单价',
           dataIndex: 'price',
@@ -771,16 +771,15 @@ export default {
           newObj.syShippingOrderItemList = this.addBookData
             for(var i =0;i<newObj.syShippingOrderItemList.length;i++){
              var row = newObj.syShippingOrderItemList[i]
-             if(row.containerCode === '' || !row.containerCode){
-                this.$message.error('第'+(i+1)+'行集装箱代号未填,无法保存!');
-                return
-              }
+            //  if(row.containerCode === '' || !row.containerCode){
+            //     this.$message.error('第'+(i+1)+'行集装箱代号未填,无法保存!');
+            //     return
+            //   }
              if(row.containerNumber === '' || !row.containerNumber){
                 this.$message.error('第'+(i+1)+'行集装箱号未填,无法保存!');
                 return
               }
             }
-            debugger
           if(this.defaultMethod === 'add'){
            addPackingList(newObj).then(res => {
             if (res.success) {