切换导航条
此项目
正在载入...
登录
朱兆平
/
vue_cli
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
小范
about a year ago
提交
24c20604629c51a784cb142dade1ea6ec1beafef
1 个父辈
a310e0c5
转关运抵新增查看功能
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
37 行增加
和
32 行删除
src/views/transit/transit.vue
src/views/transit/transit.vue
查看文件 @
24c2060
...
...
@@ -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)
...
...
请
注册
或
登录
后发表评论