|
@@ -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
|