1.调整语音服务器IP地址

2.修正几处因取消理料垛位展示导致的报错隐患
3.预配盘原则显示内容调整
4.优化报工时扫码输入框点击其他地方时取消焦点的问题
master
董哲奇 1 month ago
parent 85726aa73a
commit 37b8a481f4

@ -120,13 +120,13 @@ export default {
tableColumn: [ tableColumn: [
{ type: 'checkbox', width: 50 ,}, { type: 'checkbox', width: 50 ,},
{ type: 'seq', width: 40, title: '序号' }, { type: 'seq', width: 40, title: '序号' },
{ // {
field: 'dcCh', // field: 'dcCh',
title: '船号',editRender: { name: '$select',options: [], }, // title: '',editRender: { name: '$select',options: [], },
width: 120, // width: 120,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], // filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination' } // filterRender: { name: 'FilterCombination' }
}, // },
{ {
field: 'ypph', field: 'ypph',
title: '虚拟托盘',editRender: { name: 'input' }, title: '虚拟托盘',editRender: { name: 'input' },
@ -134,20 +134,20 @@ export default {
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination' } filterRender: { name: 'FilterCombination' }
}, },
{ // {
field: 'dcPl', // field: 'dcPl',
title: '批量',editRender: { name: 'input' }, // title: '',editRender: { name: 'input' },
width: 120, // width: 120,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], // filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination' } // filterRender: { name: 'FilterCombination' }
}, // },
{ // {
field: 'dcFd',editRender: { name: 'input' }, // field: 'dcFd',editRender: { name: 'input' },
title: '分段', // title: '',
width: 120, // width: 120,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], // filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination' } // filterRender: { name: 'FilterCombination' }
}, // },
{ {
field: 'kw', field: 'kw',
title: '跨位', formatter: ['dictFormat', 'QGKW'], title: '跨位', formatter: ['dictFormat', 'QGKW'],
@ -204,13 +204,13 @@ export default {
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination' } filterRender: { name: 'FilterCombination' }
}, },
{ // {
field: 'status', // field: 'status',
title: '状态', // title: '',
width: 120, // width: 120,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], // filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
filterRender: { name: 'FilterCombination' } // filterRender: { name: 'FilterCombination' }
}, // },
] ]
} }
}, },

@ -1,5 +1,5 @@
<template> <template>
<VxeInput id="gdh" ref="gdhRef" v-model="gdh" placeholder="工单号" @change="gdhChange" clearable /> <VxeInput id="gdh" ref="gdhRef" v-model="gdh" placeholder="工单号" @change="gdhChange" @blur="blurEvent" clearable />
</template> </template>
<script> <script>
@ -19,6 +19,9 @@ export default {
}) })
}, },
methods: { methods: {
blurEvent(){
this.$refs.gdhRef.focus();
},
gdhChange(){ gdhChange(){
if (this.gdh.length===10){ if (this.gdh.length===10){
this.$nextTick(()=>{ this.$nextTick(()=>{

@ -478,7 +478,7 @@ export default function (width,height){
strokeWidth:1, strokeWidth:1,
}) })
group.add(rect) group.add(rect)
QRCode.toDataURL(text,{width:600,height:600,margin:1}) !!text&&QRCode.toDataURL(text,{width:600,height:600,margin:1})
.then(url => { .then(url => {
const imageObj = new Image(); const imageObj = new Image();
imageObj.src = url; imageObj.src = url;

@ -94,11 +94,14 @@ export default {
dw=item dw=item
} }
} }
this.dwGroup.children[index].selected()
if (index>=0){
this.dwGroup.children[index].selected()
this.initDwInfo(index,dw) this.initDwInfo(index,dw)
}
const that=this const that=this
this.slGroup.children.forEach(item=>{ this.slGroup?.children.forEach(item=>{
const data=item.getAttr('item') const data=item.getAttr('item')
if (data.czbh===option.dcCh&&data.pl===option.dcPl&&data.fd===option.dcFd&&data.tlth===option.tzbh){ if (data.czbh===option.dcCh&&data.pl===option.dcPl&&data.fd===option.dcFd&&data.tlth===option.tzbh){
const imageObj = new Image(); const imageObj = new Image();

@ -478,7 +478,7 @@ export default function (width,height){
strokeWidth:1, strokeWidth:1,
}) })
group.add(rect) group.add(rect)
QRCode.toDataURL(text,{width:600,height:600,margin:1}) !!text&&QRCode.toDataURL(text,{width:600,height:600,margin:1})
.then(url => { .then(url => {
const imageObj = new Image(); const imageObj = new Image();
imageObj.src = url; imageObj.src = url;

@ -96,11 +96,14 @@ export default {
dw=item dw=item
} }
} }
if (index>=0){
this.dwGroup.children[index].selected() this.dwGroup.children[index].selected()
this.initDwInfo(index,dw) this.initDwInfo(index,dw)
}
const that=this const that=this
this.slGroup.children.forEach(item=>{ this.slGroup?.children.forEach(item=>{
const data=item.getAttr('item') const data=item.getAttr('item')
if (data.czbh===option.dcCh){ if (data.czbh===option.dcCh){
const imageObj = new Image(); const imageObj = new Image();

Loading…
Cancel
Save