|
@@ -185,6 +185,11 @@ |
|
@@ -185,6 +185,11 @@ |
185
|
fixed="left"
|
185
|
fixed="left"
|
186
|
width="55"
|
186
|
width="55"
|
187
|
/>
|
187
|
/>
|
|
|
188
|
+ <el-table-column label="总提运单号" width="140">
|
|
|
189
|
+ <template slot-scope="scope">
|
|
|
190
|
+ <a type="text" style="color: #409eff;text-decoration: underline" class="tableInline" @click="selectOne(scope.$index, scope.row)">{{ scope.row.billno }}</a>
|
|
|
191
|
+ </template>
|
|
|
192
|
+ </el-table-column>
|
188
|
<el-table-column label="统一编号" width="150">
|
193
|
<el-table-column label="统一编号" width="150">
|
189
|
<template slot-scope="scope">
|
194
|
<template slot-scope="scope">
|
190
|
<span>{{ scope.row.seqno }}</span>
|
195
|
<span>{{ scope.row.seqno }}</span>
|
|
@@ -204,21 +209,16 @@ |
|
@@ -204,21 +209,16 @@ |
204
|
<!--<!– <span>{{ scope.row.trnmode }}</span>–>-->
|
209
|
<!--<!– <span>{{ scope.row.trnmode }}</span>–>-->
|
205
|
<!-- </template>-->
|
210
|
<!-- </template>-->
|
206
|
<!-- </el-table-column>-->
|
211
|
<!-- </el-table-column>-->
|
207
|
- <el-table-column label="申报地海关" width="90">
|
|
|
208
|
- <template slot-scope="scope">
|
|
|
209
|
- <span>{{ scope.row.customscode }}</span>
|
|
|
210
|
- </template>
|
|
|
211
|
- </el-table-column>
|
212
|
+<!-- <el-table-column label="申报地海关" width="90">-->
|
|
|
213
|
+<!-- <template slot-scope="scope">-->
|
|
|
214
|
+<!-- <span>{{ scope.row.customscode }}</span>-->
|
|
|
215
|
+<!-- </template>-->
|
|
|
216
|
+<!-- </el-table-column>-->
|
212
|
<!-- <el-table-column label="集装箱(器)编号" width="140">-->
|
217
|
<!-- <el-table-column label="集装箱(器)编号" width="140">-->
|
213
|
<!-- <template slot-scope="scope">-->
|
218
|
<!-- <template slot-scope="scope">-->
|
214
|
<!-- <span>{{ scope.row.contaid }}</span>-->
|
219
|
<!-- <span>{{ scope.row.contaid }}</span>-->
|
215
|
<!-- </template>-->
|
220
|
<!-- </template>-->
|
216
|
<!-- </el-table-column>-->
|
221
|
<!-- </el-table-column>-->
|
217
|
- <el-table-column label="总提运单号" width="140">
|
|
|
218
|
- <template slot-scope="scope">
|
|
|
219
|
- <span>{{ scope.row.billno }}</span>
|
|
|
220
|
- </template>
|
|
|
221
|
- </el-table-column>
|
|
|
222
|
<!-- <el-table-column label="进出境运输方式代码" width="120">-->
|
222
|
<!-- <el-table-column label="进出境运输方式代码" width="120">-->
|
223
|
<!-- <template slot-scope="scope">-->
|
223
|
<!-- <template slot-scope="scope">-->
|
224
|
<!-- <span v-if="scope.row.trafmode ==='2'">江海运输</span>-->
|
224
|
<!-- <span v-if="scope.row.trafmode ==='2'">江海运输</span>-->
|
|
@@ -239,16 +239,16 @@ |
|
@@ -239,16 +239,16 @@ |
239
|
<!-- <span>{{ scope.row.voyageno }}</span>-->
|
239
|
<!-- <span>{{ scope.row.voyageno }}</span>-->
|
240
|
<!-- </template>-->
|
240
|
<!-- </template>-->
|
241
|
<!-- </el-table-column>-->
|
241
|
<!-- </el-table-column>-->
|
242
|
- <el-table-column label="境内运输方式" width="120">
|
|
|
243
|
- <template slot-scope="scope">
|
|
|
244
|
- <span v-if="scope.row.trafway ==='2'">江海运输</span>
|
|
|
245
|
- <span v-if="scope.row.trafway ==='3'">铁路运输</span>
|
|
|
246
|
- <span v-if="scope.row.trafway ==='4'">汽车运输</span>
|
|
|
247
|
- <span v-if="scope.row.trafway ==='5'">航空运输</span>
|
|
|
248
|
- <span v-if="scope.row.trafway ==='6'">邮件运输</span>
|
|
|
249
|
-<!-- <span>{{ scope.row.trafway }}</span>-->
|
|
|
250
|
- </template>
|
|
|
251
|
- </el-table-column>
|
242
|
+<!-- <el-table-column label="境内运输方式" width="120">-->
|
|
|
243
|
+<!-- <template slot-scope="scope">-->
|
|
|
244
|
+<!-- <span v-if="scope.row.trafway ==='2'">江海运输</span>-->
|
|
|
245
|
+<!-- <span v-if="scope.row.trafway ==='3'">铁路运输</span>-->
|
|
|
246
|
+<!-- <span v-if="scope.row.trafway ==='4'">汽车运输</span>-->
|
|
|
247
|
+<!-- <span v-if="scope.row.trafway ==='5'">航空运输</span>-->
|
|
|
248
|
+<!-- <span v-if="scope.row.trafway ==='6'">邮件运输</span>-->
|
|
|
249
|
+<!--<!– <span>{{ scope.row.trafway }}</span>–>-->
|
|
|
250
|
+<!-- </template>-->
|
|
|
251
|
+<!-- </el-table-column>-->
|
252
|
<el-table-column label="托运货物件数" width="100">
|
252
|
<el-table-column label="托运货物件数" width="100">
|
253
|
<template slot-scope="scope">
|
253
|
<template slot-scope="scope">
|
254
|
<span>{{ scope.row.packno }}</span>
|
254
|
<span>{{ scope.row.packno }}</span>
|
|
@@ -259,11 +259,11 @@ |
|
@@ -259,11 +259,11 @@ |
259
|
<span>{{ scope.row.grosswt }}</span>
|
259
|
<span>{{ scope.row.grosswt }}</span>
|
260
|
</template>
|
260
|
</template>
|
261
|
</el-table-column>
|
261
|
</el-table-column>
|
262
|
- <el-table-column label="卸货地代码" width="120">
|
|
|
263
|
- <template slot-scope="scope">
|
|
|
264
|
- <span>{{ scope.row.unloadcode }}</span>
|
|
|
265
|
- </template>
|
|
|
266
|
- </el-table-column>
|
262
|
+<!-- <el-table-column label="卸货地代码" width="120">-->
|
|
|
263
|
+<!-- <template slot-scope="scope">-->
|
|
|
264
|
+<!-- <span>{{ scope.row.unloadcode }}</span>-->
|
|
|
265
|
+<!-- </template>-->
|
|
|
266
|
+<!-- </el-table-column>-->
|
267
|
<el-table-column label="时间" width="180">
|
267
|
<el-table-column label="时间" width="180">
|
268
|
<template slot-scope="scope">
|
268
|
<template slot-scope="scope">
|
269
|
<span>{{ scope.row.creattime }}</span>
|
269
|
<span>{{ scope.row.creattime }}</span>
|
|
@@ -368,9 +368,6 @@ |
|
@@ -368,9 +368,6 @@ |
368
|
</el-select>
|
368
|
</el-select>
|
369
|
</el-form-item>
|
369
|
</el-form-item>
|
370
|
</el-col>
|
370
|
</el-col>
|
371
|
-
|
|
|
372
|
-
|
|
|
373
|
-
|
|
|
374
|
<!-- <el-col :span="6">-->
|
371
|
<!-- <el-col :span="6">-->
|
375
|
<!-- <el-form-item label="操作员卡号" prop="inputopid">-->
|
372
|
<!-- <el-form-item label="操作员卡号" prop="inputopid">-->
|
376
|
<!-- <el-input v-model="form.inputopid" placeholder="" />-->
|
373
|
<!-- <el-input v-model="form.inputopid" placeholder="" />-->
|
|
@@ -545,8 +542,8 @@ |
|
@@ -545,8 +542,8 @@ |
545
|
<el-row align="middle">
|
542
|
<el-row align="middle">
|
546
|
<el-col :span="24" :offset="9">
|
543
|
<el-col :span="24" :offset="9">
|
547
|
<el-form-item >
|
544
|
<el-form-item >
|
548
|
- <el-button style="width: 100px" type="info" @click="trn_dialog.addDialog = false">取消</el-button>
|
|
|
549
|
- <el-button type="primary" style="width: 100px" @click="dialogStatus==='create'?trn_add():trn_edit()">提交</el-button>
|
545
|
+ <el-button v-if="dialogStatus!=='find'" style="width: 100px" type="info" @click="trn_dialog.addDialog = false">取消</el-button>
|
|
|
546
|
+ <el-button v-if="dialogStatus!=='find'" type="primary" style="width: 100px" @click="dialogStatus==='create'?trn_add():trn_edit()">提交</el-button>
|
550
|
</el-form-item>
|
547
|
</el-form-item>
|
551
|
</el-col>
|
548
|
</el-col>
|
552
|
</el-row>
|
549
|
</el-row>
|
|
@@ -625,7 +622,8 @@ |
|
@@ -625,7 +622,8 @@ |
625
|
total: 0,
|
622
|
total: 0,
|
626
|
dialogMap: {
|
623
|
dialogMap: {
|
627
|
update: '编辑',
|
624
|
update: '编辑',
|
628
|
- create: '新增'
|
625
|
+ create: '新增',
|
|
|
626
|
+ find: '查看',
|
629
|
},
|
627
|
},
|
630
|
dialogStatus: 'create',
|
628
|
dialogStatus: 'create',
|
631
|
trn_dialog: {
|
629
|
trn_dialog: {
|
|
@@ -807,7 +805,7 @@ |
|
@@ -807,7 +805,7 @@ |
807
|
//编辑按钮使用权限
|
805
|
//编辑按钮使用权限
|
808
|
isButtonDisabled3(row) {
|
806
|
isButtonDisabled3(row) {
|
809
|
// 已申报或关务不能编辑
|
807
|
// 已申报或关务不能编辑
|
810
|
- if (row.dstatus ==='001' || this.names == true) {
|
808
|
+ if (row.dstatus ==='001') {
|
811
|
return true; // 禁用按钮
|
809
|
return true; // 禁用按钮
|
812
|
} else {
|
810
|
} else {
|
813
|
return false; // 不禁用按钮
|
811
|
return false; // 不禁用按钮
|
|
@@ -825,7 +823,7 @@ |
|
@@ -825,7 +823,7 @@ |
825
|
//删除按钮使用权限
|
823
|
//删除按钮使用权限
|
826
|
isButtonDisabled5(row) {
|
824
|
isButtonDisabled5(row) {
|
827
|
// 已申报或关务不能删除
|
825
|
// 已申报或关务不能删除
|
828
|
- if (row.dstatus ==='001' || this.names == true) {
|
826
|
+ if (row.dstatus ==='001') {
|
829
|
return true; // 禁用按钮
|
827
|
return true; // 禁用按钮
|
830
|
} else {
|
828
|
} else {
|
831
|
return false; // 不禁用按钮
|
829
|
return false; // 不禁用按钮
|
|
@@ -946,6 +944,13 @@ |
|
@@ -946,6 +944,13 @@ |
946
|
})
|
944
|
})
|
947
|
})
|
945
|
})
|
948
|
},
|
946
|
},
|
|
|
947
|
+ // 查看
|
|
|
948
|
+ selectOne(index, row){
|
|
|
949
|
+ this.form = Object.assign({}, row)
|
|
|
950
|
+ this.trn_dialog.addDialog = true
|
|
|
951
|
+ this.dialogStatus = 'find'
|
|
|
952
|
+
|
|
|
953
|
+ },
|
949
|
// 打开编辑
|
954
|
// 打开编辑
|
950
|
editTrn(index, row) {
|
955
|
editTrn(index, row) {
|
951
|
this.form = Object.assign({}, row)
|
956
|
this.form = Object.assign({}, row)
|