作者 朱兆平

转关运抵界面优化

... ... @@ -93,7 +93,9 @@
</el-input>
</el-form-item>
</el-col>
<el-col :span="6"style="margin-top: -28px">
</el-row>
<el-row style="margin-top:0">
<el-col :span="6">
<el-form-item>
<div style="display: inline-block;background-color: #6F8294;color: white;
border-top-left-radius: 4px;margin-right: -4px;padding-right: 14px;font-size: 12px;
... ... @@ -106,7 +108,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="10" style="margin-top: -28px">
<el-col :span="10">
<el-form-item>
<div style="display: inline-block;background-color: #6F8294;color: white;
border-top-left-radius: 4px;margin-right: -4px;padding-right: 14px;font-size: 12px;
... ... @@ -125,7 +127,7 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8" style="margin-top: -28px">
<el-col :span="8" >
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="trnList">查&nbsp;&nbsp;询</el-button>
</el-form-item>
... ... @@ -277,17 +279,17 @@
<el-table-column label="操作" align="center" width="410" fixed="right">
<template slot-scope="scope">
<el-row>
<el-button type="success" size="mini" @click="editTrn(scope.$index,scope.row)">编辑</el-button>
<el-button type="warning" size="mini" :disabled="scope.row.customResponseText && scope.row.customResponseText !== undefined && scope.row.customResponseText.length>0" @click="declareTrn(scope.row)">
<el-button type="success" @click="editTrn(scope.$index,scope.row)">编辑</el-button>
<el-button type="warning" :disabled="scope.row.customResponseText && scope.row.customResponseText !== undefined && scope.row.customResponseText.length>0" @click="declareTrn(scope.row)">
申报
</el-button>
<el-button type="danger" size="mini" :disabled="scope.row.customResponseText && scope.row.customResponseText !== undefined && scope.row.customResponseText.length>0" @click="delTrn(scope.row)">
<el-button type="danger" :disabled="scope.row.customResponseText && scope.row.customResponseText !== undefined && scope.row.customResponseText.length>0" @click="delTrn(scope.row)">
删除
</el-button>
<el-button type="primary" size="mini" @click="check(scope.row)">
<el-button type="primary" @click="check(scope.row)">
回执明细
</el-button>
<el-button type="info" size="mini" @click="statusTrn(scope.row)">
<el-button type="info" @click="statusTrn(scope.row)">
修改状态
</el-button>
</el-row>
... ... @@ -317,7 +319,7 @@
width="85%"
@close="trn_addDialogClosed"
>
<el-form ref="form" :inline="true" :model="form" class="demo-form-inline" label-width="110px" style="margin-top: -20px;" label-position="right" :rules="rules" >
<el-form ref="form" :inline="true" :model="form" class="demo-form-inline" label-width="120px" style="margin-top: -20px;" label-position="right" :rules="rules" >
<el-divider></el-divider>
<el-row>
<el-col :span="24">
... ... @@ -487,7 +489,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="到达卸货地时间" prop="arrivetime" label-width="110px">
<el-form-item label="到达卸货地时间" prop="arrivetime">
<!-- <el-input v-model="form.arrivetime" size="mini" placeholder="" />-->
<el-date-picker
v-model="form.arrivetime"
... ... @@ -641,7 +643,7 @@
trnmode:'2',
notes:'',
opertype:'A',
sign:'qwer',
sign:'',
signdate:'',
clientseqno:'',
hostid:'',
... ... @@ -820,6 +822,9 @@
this.form.arrivetime = new Date().format('yyyyMMddHHmmss')
this.form.username = this.username
this.form.ieflag = 'E'
this.form.trnmode = '2'
this.form.trafmode= '5'
this.form.trafway = '5'
},
// 新增功能
... ... @@ -877,6 +882,7 @@
},
// 申报
declareTrn(row) {
row.customResponseText = '已申报'
row.opertype= "C"
send(row).then((response) => {
const res = response.data
... ...