|
@@ -10,14 +10,15 @@
|
|
:on-success="onSuccess" :on-error="onError" :on-change="onChange" style="float: right">
|
|
:on-success="onSuccess" :on-error="onError" :on-change="onChange" style="float: right">
|
|
<el-button type="success" size="mini" icon="el-icon-upload">解析文件</el-button>
|
|
<el-button type="success" size="mini" icon="el-icon-upload">解析文件</el-button>
|
|
</el-upload>
|
|
</el-upload>
|
|
|
|
+ <el-button type="primary" @click="importData" size="mini" style="margin-left: 6px;">导 入</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
<el-row>
|
|
<el-row>
|
|
- <el-col :span="8">
|
|
|
|
|
|
+ <el-col :span="9">
|
|
<el-row>
|
|
<el-row>
|
|
<el-card class="box-card" shadow="never" :body-style="bodyStyle"
|
|
<el-card class="box-card" shadow="never" :body-style="bodyStyle"
|
|
style="margin: 0 4px 4px 0;">
|
|
style="margin: 0 4px 4px 0;">
|
|
- <el-divider content-position="left">ConsolDetail</el-divider>
|
|
|
|
|
|
+ <el-divider content-position="left">Consol Detail</el-divider>
|
|
<avue-crud v-if="excelBox" :data="data" :option="option" :table-loading="loading"
|
|
<avue-crud v-if="excelBox" :data="data" :option="option" :table-loading="loading"
|
|
@row-click="handleRowClick">
|
|
@row-click="handleRowClick">
|
|
</avue-crud>
|
|
</avue-crud>
|
|
@@ -30,7 +31,7 @@
|
|
<el-date-picker v-model="form.etd" type="date" format="yyyy-MM-dd"
|
|
<el-date-picker v-model="form.etd" type="date" format="yyyy-MM-dd"
|
|
value-format="yyyy-MM-dd" placeholder="请选择 ETD">
|
|
value-format="yyyy-MM-dd" placeholder="请选择 ETD">
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
- <el-tooltip class="item" effect="dark" content="刷新ETD" placement="top">
|
|
|
|
|
|
+ <el-tooltip class="item" effect="dark" content="更新" placement="top">
|
|
<el-button size="mini" icon="el-icon-refresh" @click="etdClick"></el-button>
|
|
<el-button size="mini" icon="el-icon-refresh" @click="etdClick"></el-button>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
</tempalte>
|
|
</tempalte>
|
|
@@ -38,7 +39,7 @@
|
|
</el-card>
|
|
</el-card>
|
|
</el-row>
|
|
</el-row>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="16">
|
|
|
|
|
|
+ <el-col :span="15">
|
|
<el-row>
|
|
<el-row>
|
|
<el-card class="box-card" shadow="never" :body-style="bodyStyle" style="margin: 0 0 4px 0;">
|
|
<el-card class="box-card" shadow="never" :body-style="bodyStyle" style="margin: 0 0 4px 0;">
|
|
<el-divider content-position="left">Containers</el-divider>
|
|
<el-divider content-position="left">Containers</el-divider>
|
|
@@ -95,7 +96,7 @@ export default {
|
|
disabled: false,
|
|
disabled: false,
|
|
column: [
|
|
column: [
|
|
{
|
|
{
|
|
- label: 'BOOK NO',
|
|
|
|
|
|
+ label: 'Booking No',
|
|
prop: "bookingNo",
|
|
prop: "bookingNo",
|
|
disabled: true,
|
|
disabled: true,
|
|
},
|
|
},
|
|
@@ -142,15 +143,16 @@ export default {
|
|
valueFormat: "yyyy-MM-dd HH:mm:ss"
|
|
valueFormat: "yyyy-MM-dd HH:mm:ss"
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: 'PayMode',
|
|
|
|
- prop: "hpaymode",
|
|
|
|
|
|
+ label: 'M PayMode',
|
|
|
|
+ prop: "mpaymode",
|
|
span: 12,
|
|
span: 12,
|
|
disabled: true,
|
|
disabled: true,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: 'PayAtLocation',
|
|
|
|
|
|
+ label: 'Pay at Location',
|
|
prop: "hpayplace",
|
|
prop: "hpayplace",
|
|
span: 12,
|
|
span: 12,
|
|
|
|
+ labelWidth: 120,
|
|
disabled: true,
|
|
disabled: true,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -160,20 +162,20 @@ export default {
|
|
disabled: true,
|
|
disabled: true,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: 'ServiceContract',
|
|
|
|
|
|
+ label: 'Service Contract',
|
|
prop: "corpArgreementNo",
|
|
prop: "corpArgreementNo",
|
|
span: 12,
|
|
span: 12,
|
|
- labelWidth: 100,
|
|
|
|
|
|
+ labelWidth: 120,
|
|
disabled: true,
|
|
disabled: true,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: 'ServiceCode',
|
|
|
|
|
|
+ label: 'Service Code',
|
|
prop: "serviceCode",
|
|
prop: "serviceCode",
|
|
span: 12,
|
|
span: 12,
|
|
disabled: true,
|
|
disabled: true,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: 'IsAMS',
|
|
|
|
|
|
+ label: 'Is AMS',
|
|
prop: "isAMS",
|
|
prop: "isAMS",
|
|
span: 12,
|
|
span: 12,
|
|
disabled: true,
|
|
disabled: true,
|
|
@@ -253,6 +255,7 @@ export default {
|
|
header: false,
|
|
header: false,
|
|
stripe: true,
|
|
stripe: true,
|
|
highlightCurrentRow: true,
|
|
highlightCurrentRow: true,
|
|
|
|
+ index: true,
|
|
column: [
|
|
column: [
|
|
{
|
|
{
|
|
label: 'Booking No',
|
|
label: 'Booking No',
|
|
@@ -269,6 +272,7 @@ export default {
|
|
header: false,
|
|
header: false,
|
|
stripe: true,
|
|
stripe: true,
|
|
highlightCurrentRow: true,
|
|
highlightCurrentRow: true,
|
|
|
|
+ index: true,
|
|
column: [
|
|
column: [
|
|
{
|
|
{
|
|
label: 'ContainerNumber',
|
|
label: 'ContainerNumber',
|
|
@@ -294,6 +298,7 @@ export default {
|
|
menu: false,
|
|
menu: false,
|
|
header: false,
|
|
header: false,
|
|
stripe: true,
|
|
stripe: true,
|
|
|
|
+ index: true,
|
|
column: [
|
|
column: [
|
|
{
|
|
{
|
|
label: 'Commodity',
|
|
label: 'Commodity',
|
|
@@ -405,7 +410,12 @@ export default {
|
|
|
|
|
|
// },
|
|
// },
|
|
openDialog(type) {
|
|
openDialog(type) {
|
|
|
|
+ this.form = {
|
|
|
|
+ detail: {}
|
|
|
|
+ }
|
|
this.data = []
|
|
this.data = []
|
|
|
|
+ this.data2 = []
|
|
|
|
+ this.data3 = []
|
|
this.excelBox = true
|
|
this.excelBox = true
|
|
},
|
|
},
|
|
importData() {
|
|
importData() {
|
|
@@ -444,4 +454,4 @@ export default {
|
|
::v-deep .el-table th {
|
|
::v-deep .el-table th {
|
|
padding: 0px !important;
|
|
padding: 0px !important;
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|