作者 shenhailong

承运人 目的地 小写转大写

... ... @@ -44,7 +44,7 @@
<template slot-scope="scope">
<el-button size="small" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
<el-button type="danger" size="small" @click="handleDel(scope.$index, scope.row)">删除</el-button>
<el-button type="primary" size="small" @click="print(scope.$index, scope.row)">打印</el-button>
<!-- <el-button type="primary" size="small" @click="print(scope.$index, scope.row)">打印</el-button>-->
</template>
</el-table-column>
</el-table>
... ... @@ -63,7 +63,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="承运人" prop="carrier">
<el-input v-model="editForm.carrier" auto-complete="on" placeholder="承运人"></el-input>
<el-input v-model="editForm.carrier" onkeyup="this.value=this.value.toUpperCase()" auto-complete="on" placeholder="承运人"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -86,7 +86,7 @@
<el-row>
<el-col :span="8">
<el-form-item label="目的站" prop="destination">
<el-input v-model="editForm.destination" auto-complete="on" placeholder="目的站"></el-input>
<el-input v-model="editForm.destination" onkeyup="this.value=this.value.toUpperCase()" auto-complete="on" placeholder="目的站"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
... ... @@ -174,7 +174,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="承运人" prop="carrier">
<el-input v-model="addForm.carrier" auto-complete="on" placeholder="承运人"></el-input>
<el-input v-model="addForm.carrier" onkeyup="this.value=this.value.toUpperCase()" auto-complete="on" placeholder="承运人"></el-input>
</el-form-item>
</el-col>
</el-row>
... ... @@ -197,7 +197,7 @@
<el-row>
<el-col :span="8">
<el-form-item label="目的站" prop="destination">
<el-input v-model="addForm.destination" auto-complete="on" placeholder="目的站"></el-input>
<el-input v-model="addForm.destination" onkeyup="this.value=this.value.toUpperCase()" auto-complete="on" placeholder="目的站"></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
... ... @@ -820,9 +820,7 @@
import NProgress from 'nprogress'
import { getList, remove, add, edit} from '../../api/security/security';
import {selectSecurityAwba} from '../../api/exitPre';
import {
validAwb
} from "../../utils/validate"
import {validAwb} from "../../utils/validate"
import moment from 'moment'
import loginUserInfo from '../../api/base'
export default {
... ... @@ -840,8 +838,6 @@
displayValue: true, //是否默认显示条形码数据
//textPosition :'top', //条形码数据显示的位置
background: '#fff', //条形码背景颜色
width: '2px',//单个条形码的宽度
... ... @@ -1222,7 +1218,8 @@
});
},
//新增
// 新增
addSubmit: function (value) {
this.$refs.addForm.validate((valid) => {
if (valid) {
... ...