...
|
...
|
@@ -175,6 +175,11 @@ |
|
|
fixed="left"
|
|
|
width="55"
|
|
|
/>
|
|
|
<el-table-column label="总提运单号" width="140">
|
|
|
<template slot-scope="scope">
|
|
|
<a type="text" style="color: #409eff;text-decoration: underline" class="tableInline" @click="selectOne(scope.$index, scope.row)">{{ scope.row.billno }}</a>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="统一编号" width="150">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.seqno }}</span>
|
...
|
...
|
@@ -194,21 +199,16 @@ |
|
|
<!--<!– <span>{{ scope.row.trnmode }}</span>–>-->
|
|
|
<!-- </template>-->
|
|
|
<!-- </el-table-column>-->
|
|
|
<el-table-column label="申报地海关" width="90">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.customscode }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column label="申报地海关" width="90">-->
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
<!-- <span>{{ scope.row.customscode }}</span>-->
|
|
|
<!-- </template>-->
|
|
|
<!-- </el-table-column>-->
|
|
|
<!-- <el-table-column label="集装箱(器)编号" width="140">-->
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
<!-- <span>{{ scope.row.contaid }}</span>-->
|
|
|
<!-- </template>-->
|
|
|
<!-- </el-table-column>-->
|
|
|
<el-table-column label="总提运单号" width="140">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.billno }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column label="进出境运输方式代码" width="120">-->
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
<!-- <span v-if="scope.row.trafmode ==='2'">江海运输</span>-->
|
...
|
...
|
@@ -229,16 +229,16 @@ |
|
|
<!-- <span>{{ scope.row.voyageno }}</span>-->
|
|
|
<!-- </template>-->
|
|
|
<!-- </el-table-column>-->
|
|
|
<el-table-column label="境内运输方式" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.trafway ==='2'">江海运输</span>
|
|
|
<span v-if="scope.row.trafway ==='3'">铁路运输</span>
|
|
|
<span v-if="scope.row.trafway ==='4'">汽车运输</span>
|
|
|
<span v-if="scope.row.trafway ==='5'">航空运输</span>
|
|
|
<span v-if="scope.row.trafway ==='6'">邮件运输</span>
|
|
|
<!-- <span>{{ scope.row.trafway }}</span>-->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column label="境内运输方式" width="120">-->
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
<!-- <span v-if="scope.row.trafway ==='2'">江海运输</span>-->
|
|
|
<!-- <span v-if="scope.row.trafway ==='3'">铁路运输</span>-->
|
|
|
<!-- <span v-if="scope.row.trafway ==='4'">汽车运输</span>-->
|
|
|
<!-- <span v-if="scope.row.trafway ==='5'">航空运输</span>-->
|
|
|
<!-- <span v-if="scope.row.trafway ==='6'">邮件运输</span>-->
|
|
|
<!--<!– <span>{{ scope.row.trafway }}</span>–>-->
|
|
|
<!-- </template>-->
|
|
|
<!-- </el-table-column>-->
|
|
|
<el-table-column label="托运货物件数" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.packno }}</span>
|
...
|
...
|
@@ -249,11 +249,11 @@ |
|
|
<span>{{ scope.row.grosswt }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="卸货地代码" width="120">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.unloadcode }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column label="卸货地代码" width="120">-->
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
<!-- <span>{{ scope.row.unloadcode }}</span>-->
|
|
|
<!-- </template>-->
|
|
|
<!-- </el-table-column>-->
|
|
|
<el-table-column label="时间" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.creattime }}</span>
|
...
|
...
|
@@ -358,9 +358,6 @@ |
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <el-col :span="6">-->
|
|
|
<!-- <el-form-item label="操作员卡号" prop="inputopid">-->
|
|
|
<!-- <el-input v-model="form.inputopid" placeholder="" />-->
|
...
|
...
|
@@ -535,8 +532,8 @@ |
|
|
<el-row align="middle">
|
|
|
<el-col :span="24" :offset="9">
|
|
|
<el-form-item >
|
|
|
<el-button style="width: 100px" type="info" @click="trn_dialog.addDialog = false">取消</el-button>
|
|
|
<el-button type="primary" style="width: 100px" @click="dialogStatus==='create'?trn_add():trn_edit()">提交</el-button>
|
|
|
<el-button v-if="dialogStatus!=='find'" style="width: 100px" type="info" @click="trn_dialog.addDialog = false">取消</el-button>
|
|
|
<el-button v-if="dialogStatus!=='find'" type="primary" style="width: 100px" @click="dialogStatus==='create'?trn_add():trn_edit()">提交</el-button>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
...
|
...
|
@@ -614,7 +611,8 @@ |
|
|
total: 0,
|
|
|
dialogMap: {
|
|
|
update: '编辑',
|
|
|
create: '新增'
|
|
|
create: '新增',
|
|
|
find: '查看',
|
|
|
},
|
|
|
dialogStatus: 'create',
|
|
|
trn_dialog: {
|
...
|
...
|
@@ -796,7 +794,7 @@ |
|
|
//编辑按钮使用权限
|
|
|
isButtonDisabled3(row) {
|
|
|
// 已申报或关务不能编辑
|
|
|
if (row.dstatus ==='001' || this.names == true) {
|
|
|
if (row.dstatus ==='001') {
|
|
|
return true; // 禁用按钮
|
|
|
} else {
|
|
|
return false; // 不禁用按钮
|
...
|
...
|
@@ -935,6 +933,13 @@ |
|
|
})
|
|
|
})
|
|
|
},
|
|
|
// 查看
|
|
|
selectOne(index, row){
|
|
|
this.form = Object.assign({}, row)
|
|
|
this.trn_dialog.addDialog = true
|
|
|
this.dialogStatus = 'find'
|
|
|
|
|
|
},
|
|
|
// 打开编辑
|
|
|
editTrn(index, row) {
|
|
|
this.form = Object.assign({}, row)
|
...
|
...
|
|