Merge branch 'master' of http://git.xdadan.loc/tanex/emis-frontend
This commit is contained in:
commit
146f9fff9e
@ -64,6 +64,7 @@
|
|||||||
optionItems: [],
|
optionItems: [],
|
||||||
svalue: this.value,
|
svalue: this.value,
|
||||||
firstFlag:true,
|
firstFlag:true,
|
||||||
|
filterMap:new Map(),
|
||||||
queryParams:{
|
queryParams:{
|
||||||
pageNum:1,
|
pageNum:1,
|
||||||
pageSize:10,
|
pageSize:10,
|
||||||
@ -115,6 +116,11 @@
|
|||||||
this.queryParams.siteName=val;
|
this.queryParams.siteName=val;
|
||||||
listSimpleEmisSite(this.queryParams).then(response => {
|
listSimpleEmisSite(this.queryParams).then(response => {
|
||||||
this.optionItems=response.rows;
|
this.optionItems=response.rows;
|
||||||
|
response.rows.forEach(item => {
|
||||||
|
if(!this.filterMap.hasOwnProperty(item.siteCode)){
|
||||||
|
this.filterMap[item.siteCode]=item;
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
onMouseleave(e, i) {
|
onMouseleave(e, i) {
|
||||||
|
|||||||
@ -2,21 +2,23 @@
|
|||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<el-row :gutter="0">
|
<el-row :gutter="0">
|
||||||
<el-form ref="form" size="mini" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" size="mini" :model="form" :rules="rules" label-width="80px">
|
||||||
|
<el-col :span="6">
|
||||||
|
<el-form-item :label="$t('派件员')" prop="dispatchOrSendManCode"><span slot="label">
|
||||||
|
<span style="color: red">{{$t('派件员')}}</span>
|
||||||
|
</span>
|
||||||
|
<EmisUserSimplePicker v-model="form.dispatchOrSendManCode" postCode="RSD" @onChange="onStaffSelect" ></EmisUserSimplePicker>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="扫描单号" prop="billCode" label-width="70px">
|
<el-form-item label="扫描单号" prop="billCode" label-width="70px">
|
||||||
<span slot="label">
|
<span slot="label">
|
||||||
<span style="color: red">扫描单号</span>
|
<span style="color: red">{{$t('扫描单号')}}</span>
|
||||||
</span>
|
</span>
|
||||||
<el-input v-model="form.billCode" clearable="" placeholder="单号输入后按回车" @keyup.enter.native="handleScanInput" >
|
<el-input v-model="form.billCode" clearable="" placeholder="单号输入后按回车" @keyup.enter.native="handleScanInput" >
|
||||||
<i slot="suffix" class="iconfont"></i>
|
<i slot="suffix" class="iconfont"></i>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
|
||||||
<el-form-item :label="$t('派件员')" prop="dispatchOrSendManCode">
|
|
||||||
<EmisUserSimplePicker v-model="form.dispatchOrSendManCode" postCode="RSD" @onChange="onStaffSelect" ></EmisUserSimplePicker>
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item :label="$t('上一站')" prop="preOrNextStation">
|
<el-form-item :label="$t('上一站')" prop="preOrNextStation">
|
||||||
<EmisGetPreSitePicker v-model="form.preOrNextStation" @onChange="onSiteSelect" ></EmisGetPreSitePicker>
|
<EmisGetPreSitePicker v-model="form.preOrNextStation" @onChange="onSiteSelect" ></EmisGetPreSitePicker>
|
||||||
@ -246,15 +248,35 @@ export default {
|
|||||||
let scanWeight = this.form.scanWeight
|
let scanWeight = this.form.scanWeight
|
||||||
let dispatchOrSendMan = this.form.dispatchOrSendMan;
|
let dispatchOrSendMan = this.form.dispatchOrSendMan;
|
||||||
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
||||||
|
// let scList=bcList.map(function(code) {
|
||||||
|
// return {
|
||||||
|
// billCode:code,
|
||||||
|
// scanWeight:scanWeight,
|
||||||
|
// // scanWeight:null,
|
||||||
|
// dispatchOrSendManCode: dispatchOrSendManCode
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// )
|
||||||
|
let haveCode = null;
|
||||||
|
let dm = this.dataMap;
|
||||||
let scList=bcList.map(function(code) {
|
let scList=bcList.map(function(code) {
|
||||||
|
if(dm[code+"30"] || dm[code+"40"]){
|
||||||
|
haveCode = code;
|
||||||
|
return;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
billCode:code,
|
billCode:code,
|
||||||
scanWeight:scanWeight,
|
scanWeight:scanWeight,
|
||||||
// scanWeight:null,
|
// scanWeight:null,
|
||||||
dispatchOrSendManCode: dispatchOrSendManCode
|
dispatchOrSendManCode: dispatchOrSendManCode
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if(haveCode){
|
||||||
|
this.$message.error("重复扫描:"+haveCode);
|
||||||
|
this.playNoticeTone(1);
|
||||||
|
return;//终止批量扫描逻辑
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
||||||
// 到件批量
|
// 到件批量
|
||||||
let scanArrivalInfo = {
|
let scanArrivalInfo = {
|
||||||
|
|||||||
@ -236,15 +236,27 @@ export default {
|
|||||||
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
||||||
let scanWeight = this.form.scanWeight
|
let scanWeight = this.form.scanWeight
|
||||||
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
||||||
|
|
||||||
|
let haveCode = null;
|
||||||
|
let dm = this.dataMap;
|
||||||
let scList=bcList.map(function(code) {
|
let scList=bcList.map(function(code) {
|
||||||
|
if(dm[code]){
|
||||||
|
haveCode = code;
|
||||||
|
return;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
billCode:code,
|
billCode:code,
|
||||||
scanWeight:scanWeight,
|
scanWeight:scanWeight,
|
||||||
// scanWeight:null,
|
// scanWeight:null,
|
||||||
dispatchOrSendManCode: dispatchOrSendManCode
|
dispatchOrSendManCode: dispatchOrSendManCode
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if(haveCode){
|
||||||
|
this.$message.error("重复扫描:"+haveCode);
|
||||||
|
this.playNoticeTone(1);
|
||||||
|
return;//终止批量扫描逻辑
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
||||||
let scanInfo = {
|
let scanInfo = {
|
||||||
scanType:"30",
|
scanType:"30",
|
||||||
|
|||||||
@ -235,8 +235,14 @@ export default {
|
|||||||
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
||||||
let scanWeight = this.form.scanWeight;
|
let scanWeight = this.form.scanWeight;
|
||||||
let bagNo = this.form.bagNo;
|
let bagNo = this.form.bagNo;
|
||||||
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
|
||||||
|
let haveCode = null;
|
||||||
|
let dm = this.dataMap;
|
||||||
let scList=bcList.map(function(code) {
|
let scList=bcList.map(function(code) {
|
||||||
|
if(dm[code]){
|
||||||
|
haveCode = code;
|
||||||
|
return;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
billCode:code,
|
billCode:code,
|
||||||
bagNo:bagNo,
|
bagNo:bagNo,
|
||||||
@ -244,8 +250,13 @@ export default {
|
|||||||
// scanWeight:null,
|
// scanWeight:null,
|
||||||
scanDate:null
|
scanDate:null
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if(haveCode){
|
||||||
|
this.$message.error("重复扫描:"+haveCode);
|
||||||
|
this.playNoticeTone(1);
|
||||||
|
return;//终止批量扫描逻辑
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
||||||
let scanInfo = {
|
let scanInfo = {
|
||||||
scanType:"200",
|
scanType:"200",
|
||||||
|
|||||||
@ -242,15 +242,27 @@ export default {
|
|||||||
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
||||||
let scanWeight = this.form.scanWeight
|
let scanWeight = this.form.scanWeight
|
||||||
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
||||||
|
|
||||||
|
let haveCode = null;
|
||||||
|
let dm = this.dataMap;
|
||||||
let scList=bcList.map(function(code) {
|
let scList=bcList.map(function(code) {
|
||||||
|
if(dm[code]){
|
||||||
|
haveCode = code;
|
||||||
|
return;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
billCode:code,
|
billCode:code,
|
||||||
scanWeight:scanWeight,
|
scanWeight:scanWeight,
|
||||||
// scanWeight:null,
|
// scanWeight:null,
|
||||||
dispatchOrSendManCode: dispatchOrSendManCode
|
dispatchOrSendManCode: dispatchOrSendManCode
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if(haveCode){
|
||||||
|
this.$message.error("重复扫描:"+haveCode);
|
||||||
|
this.playNoticeTone(1);
|
||||||
|
return;//终止批量扫描逻辑
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
||||||
let scanInfo = {
|
let scanInfo = {
|
||||||
scanType:"40",
|
scanType:"40",
|
||||||
|
|||||||
@ -228,15 +228,36 @@ export default {
|
|||||||
// let scanWeight = this.form.scanWeight
|
// let scanWeight = this.form.scanWeight
|
||||||
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
||||||
let carNo = this.form.carNo;
|
let carNo = this.form.carNo;
|
||||||
|
// let scList=bcList.map(function(code) {
|
||||||
|
// return {
|
||||||
|
// billCode:code,
|
||||||
|
// // scanWeight:scanWeight,
|
||||||
|
// carNo:carNo,
|
||||||
|
// dispatchOrSendManCode: dispatchOrSendManCode
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// )
|
||||||
|
|
||||||
|
let haveCode = null;
|
||||||
|
let dm = this.dataMap;
|
||||||
let scList=bcList.map(function(code) {
|
let scList=bcList.map(function(code) {
|
||||||
|
if(dm[code]){
|
||||||
|
haveCode = code;
|
||||||
|
return;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
billCode:code,
|
billCode:code,
|
||||||
// scanWeight:scanWeight,
|
// scanWeight:scanWeight,
|
||||||
carNo:carNo,
|
carNo:carNo,
|
||||||
dispatchOrSendManCode: dispatchOrSendManCode
|
dispatchOrSendManCode: dispatchOrSendManCode
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if(haveCode){
|
||||||
|
this.$message.error("重复扫描:"+haveCode);
|
||||||
|
this.playNoticeTone(1);
|
||||||
|
return;//终止批量扫描逻辑
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
||||||
let scanInfo = {
|
let scanInfo = {
|
||||||
scanType:"301",
|
scanType:"301",
|
||||||
|
|||||||
@ -229,23 +229,34 @@ export default {
|
|||||||
this.openBatch=false;
|
this.openBatch=false;
|
||||||
},
|
},
|
||||||
submitFormBatch(){
|
submitFormBatch(){
|
||||||
|
|
||||||
if(this.formBatch.billCode==null || this.formBatch.billCode==''){
|
if(this.formBatch.billCode==null || this.formBatch.billCode==''){
|
||||||
this.$message.error("输入单号后回车");
|
this.$message.error("输入单号后回车");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
||||||
|
|
||||||
let scanWeight = this.form.scanWeight
|
let scanWeight = this.form.scanWeight
|
||||||
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
||||||
|
let haveCode = null;
|
||||||
|
let dm = this.dataMap;
|
||||||
let scList=bcList.map(function(code) {
|
let scList=bcList.map(function(code) {
|
||||||
|
if(dm[code]){
|
||||||
|
haveCode = code;
|
||||||
|
return;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
billCode:code,
|
billCode:code,
|
||||||
scanWeight:scanWeight,
|
scanWeight:scanWeight,
|
||||||
// scanWeight:null,
|
// scanWeight:null,
|
||||||
dispatchOrSendManCode: dispatchOrSendManCode
|
dispatchOrSendManCode: dispatchOrSendManCode
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if(haveCode){
|
||||||
|
this.$message.error("重复扫描:"+haveCode);
|
||||||
|
this.playNoticeTone(1);
|
||||||
|
return;//终止批量扫描逻辑
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
||||||
let scanInfo = {
|
let scanInfo = {
|
||||||
scanType:"20",
|
scanType:"20",
|
||||||
|
|||||||
@ -247,15 +247,27 @@ export default {
|
|||||||
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
||||||
let scanWeight = this.form.scanWeight
|
let scanWeight = this.form.scanWeight
|
||||||
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
||||||
|
|
||||||
|
let haveCode = null;
|
||||||
|
let dm = this.dataMap;
|
||||||
let scList=bcList.map(function(code) {
|
let scList=bcList.map(function(code) {
|
||||||
|
if(dm[code]){
|
||||||
|
haveCode = code;
|
||||||
|
return;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
billCode:code,
|
billCode:code,
|
||||||
scanWeight:scanWeight,
|
scanWeight:scanWeight,
|
||||||
// scanWeight:null,
|
// scanWeight:null,
|
||||||
dispatchOrSendManCode: dispatchOrSendManCode
|
dispatchOrSendManCode: dispatchOrSendManCode
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if(haveCode){
|
||||||
|
this.$message.error("重复扫描:"+haveCode);
|
||||||
|
this.playNoticeTone(1);
|
||||||
|
return;//终止批量扫描逻辑
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
||||||
let scanInfo = {
|
let scanInfo = {
|
||||||
scanType:"70",
|
scanType:"70",
|
||||||
|
|||||||
@ -242,15 +242,27 @@ export default {
|
|||||||
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
||||||
let scanWeight = this.form.scanWeight
|
let scanWeight = this.form.scanWeight
|
||||||
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
||||||
|
|
||||||
|
let haveCode = null;
|
||||||
|
let dm = this.dataMap;
|
||||||
let scList=bcList.map(function(code) {
|
let scList=bcList.map(function(code) {
|
||||||
|
if(dm[code]){
|
||||||
|
haveCode = code;
|
||||||
|
return;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
billCode:code,
|
billCode:code,
|
||||||
scanWeight:scanWeight,
|
scanWeight:scanWeight,
|
||||||
// scanWeight:null,
|
// scanWeight:null,
|
||||||
dispatchOrSendManCode: dispatchOrSendManCode
|
dispatchOrSendManCode: dispatchOrSendManCode
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if(haveCode){
|
||||||
|
this.$message.error("重复扫描:"+haveCode);
|
||||||
|
this.playNoticeTone(1);
|
||||||
|
return;//终止批量扫描逻辑
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
||||||
let scanInfo = {
|
let scanInfo = {
|
||||||
scanType:"10",
|
scanType:"10",
|
||||||
|
|||||||
@ -278,6 +278,16 @@ export default {
|
|||||||
this.form.ids= arr.map(item=>item.id+item.scanType)
|
this.form.ids= arr.map(item=>item.id+item.scanType)
|
||||||
},
|
},
|
||||||
handleBatchScan(){
|
handleBatchScan(){
|
||||||
|
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
||||||
|
let preOrNextStationCode = this.form.preOrNextStationCode;
|
||||||
|
if(dispatchOrSendManCode==null || dispatchOrSendManCode==''){
|
||||||
|
this.$message.error("请选择取件员");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(preOrNextStationCode==null||preOrNextStationCode==''){
|
||||||
|
this.$message.error("请选择下一站");
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.formBatch = {
|
this.formBatch = {
|
||||||
billCode: null,
|
billCode: null,
|
||||||
}
|
}
|
||||||
@ -310,23 +320,26 @@ export default {
|
|||||||
this.$message.error("输入单号后回车");
|
this.$message.error("输入单号后回车");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(dispatchOrSendManCode==null || dispatchOrSendManCode==''){
|
let haveCode = null;
|
||||||
this.$message.error("请选择取件员");
|
let dm = this.dataMap;
|
||||||
return;
|
|
||||||
}
|
|
||||||
if(preOrNextStationCode==null||preOrNextStationCode==''){
|
|
||||||
this.$message.error("请选择下一站");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
let scList=bcList.map(function(code) {
|
let scList=bcList.map(function(code) {
|
||||||
|
if(dm[code+"10"] || dm[code+"20"]){
|
||||||
|
haveCode = code;
|
||||||
|
return;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
billCode:code,
|
billCode:code,
|
||||||
scanWeight:scanWeight,
|
scanWeight:scanWeight,
|
||||||
// scanWeight:null,
|
// scanWeight:null,
|
||||||
dispatchOrSendManCode: dispatchOrSendManCode
|
dispatchOrSendManCode: dispatchOrSendManCode
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if(haveCode){
|
||||||
|
this.$message.error("重复扫描:"+haveCode);
|
||||||
|
this.playNoticeTone(1);
|
||||||
|
return;//终止批量扫描逻辑
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
||||||
// 揽件批量
|
// 揽件批量
|
||||||
let scanArrivalInfo = {
|
let scanArrivalInfo = {
|
||||||
|
|||||||
@ -210,16 +210,32 @@ export default {
|
|||||||
// let scanWeight = this.form.scanWeight
|
// let scanWeight = this.form.scanWeight
|
||||||
// let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
// let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
||||||
let carNo = this.form.carNo;
|
let carNo = this.form.carNo;
|
||||||
|
// let scList=bcList.map(function(code) {
|
||||||
|
// return {
|
||||||
|
// billCode:code,
|
||||||
|
// carNo: carNo
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// )
|
||||||
|
|
||||||
|
let haveCode = null;
|
||||||
|
let dm = this.dataMap;
|
||||||
let scList=bcList.map(function(code) {
|
let scList=bcList.map(function(code) {
|
||||||
|
if(dm[code]){
|
||||||
|
haveCode = code;
|
||||||
|
return;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
billCode:code,
|
billCode:code,
|
||||||
carNo: carNo
|
carNo: carNo
|
||||||
// scanWeight:scanWeight,
|
|
||||||
// scanWeight:null,
|
|
||||||
// dispatchOrSendManCode: dispatchOrSendManCode
|
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if(haveCode){
|
||||||
|
this.$message.error("重复扫描:"+haveCode);
|
||||||
|
this.playNoticeTone(1);
|
||||||
|
return;//终止批量扫描逻辑
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
||||||
let scanInfo = {
|
let scanInfo = {
|
||||||
scanType:"302",
|
scanType:"302",
|
||||||
|
|||||||
@ -223,16 +223,25 @@ export default {
|
|||||||
}
|
}
|
||||||
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
let bcList=this.formBatch.billCode.split(/[;\;\,\,\n]/)||[];
|
||||||
let scanWeight = this.form.scanWeight
|
let scanWeight = this.form.scanWeight
|
||||||
let dispatchOrSendManCode = this.form.dispatchOrSendManCode;
|
|
||||||
|
let haveCode = null;
|
||||||
|
let dm = this.dataMap;
|
||||||
let scList=bcList.map(function(code) {
|
let scList=bcList.map(function(code) {
|
||||||
|
if(dm[code]){
|
||||||
|
haveCode = code;
|
||||||
|
return;
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
billCode:code,
|
billCode:code,
|
||||||
scanWeight:scanWeight,
|
scanWeight:scanWeight,
|
||||||
// scanWeight:null,
|
|
||||||
// dispatchOrSendManCode: dispatchOrSendManCode
|
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
if(haveCode){
|
||||||
|
this.$message.error("重复扫描:"+haveCode);
|
||||||
|
this.playNoticeTone(1);
|
||||||
|
return;//终止批量扫描逻辑
|
||||||
}
|
}
|
||||||
)
|
|
||||||
|
|
||||||
let scanInfo = {
|
let scanInfo = {
|
||||||
scanType:"201",
|
scanType:"201",
|
||||||
|
|||||||
@ -98,8 +98,9 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-form-item label="寄件网点" prop="sendSiteName">
|
<el-form-item label="寄件网点" prop="sendSiteCode">
|
||||||
<el-input v-model="form.sendSiteName" placeholder="" disabled />
|
<!-- <el-input v-model="form.sendSiteCode" placeholder="" /> -->
|
||||||
|
<EmisSiteSimplePicker v-model="form.sendSiteCode" @onChange="onSendSiteSelect" ></EmisSiteSimplePicker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
@ -644,6 +645,7 @@ import EmisUserSimplePicker0 from '@/views/emis/EmisBaseTools/EmisUserSimplePick
|
|||||||
import EmisUserSimplePicker1 from '@/views/emis/EmisBaseTools/EmisUserSimplePicker.vue';
|
import EmisUserSimplePicker1 from '@/views/emis/EmisBaseTools/EmisUserSimplePicker.vue';
|
||||||
import EmisUserSimplePicker2 from '@/views/emis/EmisBaseTools/EmisUserSimplePicker.vue';
|
import EmisUserSimplePicker2 from '@/views/emis/EmisBaseTools/EmisUserSimplePicker.vue';
|
||||||
import EmisUserSimplePicker3 from '@/views/emis/EmisBaseTools/EmisUserSimplePicker.vue';
|
import EmisUserSimplePicker3 from '@/views/emis/EmisBaseTools/EmisUserSimplePicker.vue';
|
||||||
|
import EmisSiteSimplePicker from '@/views/emis/EmisBaseTools/EmisSiteSimplePicker.vue';
|
||||||
|
|
||||||
import TransLinePicker from '@/views/emis/EmisBaseTools/TransLinePicker.vue';
|
import TransLinePicker from '@/views/emis/EmisBaseTools/TransLinePicker.vue';
|
||||||
import TransProductPicker from '@/views/emis/EmisBaseTools/TransProductPicker.vue';
|
import TransProductPicker from '@/views/emis/EmisBaseTools/TransProductPicker.vue';
|
||||||
@ -703,6 +705,7 @@ components: {
|
|||||||
EmisUserSimplePicker1,
|
EmisUserSimplePicker1,
|
||||||
EmisUserSimplePicker2,
|
EmisUserSimplePicker2,
|
||||||
EmisUserSimplePicker3,
|
EmisUserSimplePicker3,
|
||||||
|
EmisSiteSimplePicker,
|
||||||
// CustomerPicker0,
|
// CustomerPicker0,
|
||||||
// CustomerPicker1,
|
// CustomerPicker1,
|
||||||
// CustomerPicker2,
|
// CustomerPicker2,
|
||||||
@ -1141,6 +1144,15 @@ methods: {
|
|||||||
this.form.transLine=item[0];
|
this.form.transLine=item[0];
|
||||||
this.form.productType=item[1];
|
this.form.productType=item[1];
|
||||||
},
|
},
|
||||||
|
onSendSiteSelect(item){
|
||||||
|
if(!item){
|
||||||
|
this.form.sendSiteCode = null;
|
||||||
|
this.form.sendSiteName = null;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this.form.sendSiteCode=item.siteCode;
|
||||||
|
this.form.sendSiteName=item.siteName;
|
||||||
|
},
|
||||||
/** 提交按钮 */
|
/** 提交按钮 */
|
||||||
submitForm() {
|
submitForm() {
|
||||||
this.$refs["form"].validate(valid => {
|
this.$refs["form"].validate(valid => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user