Sfoglia il codice sorgente

Merge remote-tracking branch 'origin/dev' into dev

wfg 2 settimane fa
parent
commit
b2ea895949

+ 8 - 0
src/views/iosBasicData/SeafreightExportF/bills/assembly/importModule.vue

@@ -252,6 +252,7 @@ export default {
                 menu: false,
                 header: false,
                 stripe: true,
+                highlightCurrentRow: true,
                 column: [
                     {
                         label: 'Booking No',
@@ -267,6 +268,7 @@ export default {
                 menu: false,
                 header: false,
                 stripe: true,
+                highlightCurrentRow: true,
                 column: [
                     {
                         label: 'ContainerNumber',
@@ -369,6 +371,7 @@ export default {
         },
         handleRowClick(row, event, column) {
             this.form = row
+            this.data2 = []
         },
         handleRowClick2(row, event, column) {
             this.data2 = row.containersCommodityList
@@ -409,6 +412,11 @@ export default {
             if (this.data.length == 0) {
                 return this.$message.error("请上传文件");
             }
+            for (let item of this.data) {
+                if (!item.etd) {
+                    return this.$message.error('booking No:' + item.bookingNo + '没有维护ETD,请维护一下');
+                }
+            }
             this.loading = true
             getDicinit('POST', '/blade-los/magicHandImport/submit', this.data).then(res => {
                 this.excelBox = false