作者 shenhailong

承运人 目的地 小写转大写

@@ -44,7 +44,7 @@ @@ -44,7 +44,7 @@
44 <template slot-scope="scope"> 44 <template slot-scope="scope">
45 <el-button size="small" @click="handleEdit(scope.$index, scope.row)">编辑</el-button> 45 <el-button size="small" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
46 <el-button type="danger" size="small" @click="handleDel(scope.$index, scope.row)">删除</el-button> 46 <el-button type="danger" size="small" @click="handleDel(scope.$index, scope.row)">删除</el-button>
47 - <el-button type="primary" size="small" @click="print(scope.$index, scope.row)">打印</el-button> 47 +<!-- <el-button type="primary" size="small" @click="print(scope.$index, scope.row)">打印</el-button>-->
48 </template> 48 </template>
49 </el-table-column> 49 </el-table-column>
50 </el-table> 50 </el-table>
@@ -63,7 +63,7 @@ @@ -63,7 +63,7 @@
63 </el-col> 63 </el-col>
64 <el-col :span="8"> 64 <el-col :span="8">
65 <el-form-item label="承运人" prop="carrier"> 65 <el-form-item label="承运人" prop="carrier">
66 - <el-input v-model="editForm.carrier" auto-complete="on" placeholder="承运人"></el-input> 66 + <el-input v-model="editForm.carrier" onkeyup="this.value=this.value.toUpperCase()" auto-complete="on" placeholder="承运人"></el-input>
67 </el-form-item> 67 </el-form-item>
68 </el-col> 68 </el-col>
69 </el-row> 69 </el-row>
@@ -86,7 +86,7 @@ @@ -86,7 +86,7 @@
86 <el-row> 86 <el-row>
87 <el-col :span="8"> 87 <el-col :span="8">
88 <el-form-item label="目的站" prop="destination"> 88 <el-form-item label="目的站" prop="destination">
89 - <el-input v-model="editForm.destination" auto-complete="on" placeholder="目的站"></el-input> 89 + <el-input v-model="editForm.destination" onkeyup="this.value=this.value.toUpperCase()" auto-complete="on" placeholder="目的站"></el-input>
90 </el-form-item> 90 </el-form-item>
91 </el-col> 91 </el-col>
92 <el-col :span="8"> 92 <el-col :span="8">
@@ -174,7 +174,7 @@ @@ -174,7 +174,7 @@
174 </el-col> 174 </el-col>
175 <el-col :span="8"> 175 <el-col :span="8">
176 <el-form-item label="承运人" prop="carrier"> 176 <el-form-item label="承运人" prop="carrier">
177 - <el-input v-model="addForm.carrier" auto-complete="on" placeholder="承运人"></el-input> 177 + <el-input v-model="addForm.carrier" onkeyup="this.value=this.value.toUpperCase()" auto-complete="on" placeholder="承运人"></el-input>
178 </el-form-item> 178 </el-form-item>
179 </el-col> 179 </el-col>
180 </el-row> 180 </el-row>
@@ -197,7 +197,7 @@ @@ -197,7 +197,7 @@
197 <el-row> 197 <el-row>
198 <el-col :span="8"> 198 <el-col :span="8">
199 <el-form-item label="目的站" prop="destination"> 199 <el-form-item label="目的站" prop="destination">
200 - <el-input v-model="addForm.destination" auto-complete="on" placeholder="目的站"></el-input> 200 + <el-input v-model="addForm.destination" onkeyup="this.value=this.value.toUpperCase()" auto-complete="on" placeholder="目的站"></el-input>
201 </el-form-item> 201 </el-form-item>
202 </el-col> 202 </el-col>
203 <el-col :span="8"> 203 <el-col :span="8">
@@ -820,9 +820,7 @@ @@ -820,9 +820,7 @@
820 import NProgress from 'nprogress' 820 import NProgress from 'nprogress'
821 import { getList, remove, add, edit} from '../../api/security/security'; 821 import { getList, remove, add, edit} from '../../api/security/security';
822 import {selectSecurityAwba} from '../../api/exitPre'; 822 import {selectSecurityAwba} from '../../api/exitPre';
823 - import {  
824 - validAwb  
825 - } from "../../utils/validate" 823 + import {validAwb} from "../../utils/validate"
826 import moment from 'moment' 824 import moment from 'moment'
827 import loginUserInfo from '../../api/base' 825 import loginUserInfo from '../../api/base'
828 export default { 826 export default {
@@ -840,8 +838,6 @@ @@ -840,8 +838,6 @@
840 838
841 displayValue: true, //是否默认显示条形码数据 839 displayValue: true, //是否默认显示条形码数据
842 840
843 - //textPosition :'top', //条形码数据显示的位置  
844 -  
845 background: '#fff', //条形码背景颜色 841 background: '#fff', //条形码背景颜色
846 842
847 width: '2px',//单个条形码的宽度 843 width: '2px',//单个条形码的宽度
@@ -1222,7 +1218,8 @@ @@ -1222,7 +1218,8 @@
1222 1218
1223 }); 1219 });
1224 }, 1220 },
1225 - //新增 1221 +
  1222 + // 新增
1226 addSubmit: function (value) { 1223 addSubmit: function (value) {
1227 this.$refs.addForm.validate((valid) => { 1224 this.$refs.addForm.validate((valid) => {
1228 if (valid) { 1225 if (valid) {