1.修复bug

master
董哲奇 8 months ago
parent 989966e26c
commit bbe46ce081

@ -2846,6 +2846,14 @@ export default {
}, },
// //
rowStyle1({row, rowIndex}){ rowStyle1({row, rowIndex}){
console.log(row.extData!=='1')
if (row.extData!=='1'){
return {
backgroundColor: '#FF0000FF',
color: '#fff',
cursor: 'pointer'
}
}
if (row.errors.length > 0) { if (row.errors.length > 0) {
return { return {
backgroundColor: '#FF0000FF', backgroundColor: '#FF0000FF',

@ -2,7 +2,7 @@
<div id="searchPl" ref="searchPl"> <div id="searchPl" ref="searchPl">
<ProjectSelect ref="projectSelectRef" clearable :_style="{width:'115px'}"/> <ProjectSelect ref="projectSelectRef" clearable :_style="{width:'115px'}"/>
<VxeInput v-model="queryParam.dcPl" clearable placeholder="请输入批量"/> <VxeInput v-model="queryParam.dcPl" clearable placeholder="请输入批量"/>
<VxeInput v-model="queryParam.djh" clearable placeholder="单据号"/> <VxeInput v-model="queryParam.sllsh" clearable placeholder="单据号"/>
<VxeInput v-if="ljbs" v-model="queryParam.fd" clearable placeholder="请输入分段"/> <VxeInput v-if="ljbs" v-model="queryParam.fd" clearable placeholder="请输入分段"/>
<VxeButton status="primary" content="查询" @click="search" /> <VxeButton status="primary" content="查询" @click="search" />
<VxeSelect v-if="ljbs" v-model="gylxSelectData" ref="gylxSelectRef" clearable :options="gylx" placeholder="选择工艺路线"/> <VxeSelect v-if="ljbs" v-model="gylxSelectData" ref="gylxSelectRef" clearable :options="gylx" placeholder="选择工艺路线"/>
@ -40,7 +40,7 @@ export default {
dcCh:'', dcCh:'',
dcPl:'', dcPl:'',
dcFd:'', dcFd:'',
djh:'' sllsh:''
}, },
gylxSelectData:'', gylxSelectData:'',
gylx:[ gylx:[

@ -98,7 +98,8 @@ export default function (_height=0) {
{field: 'zl', title: '组立', width: 70,formatter: zlFormat}, {field: 'zl', title: '组立', width: 70,formatter: zlFormat},
{field: 'nbsbm', title: '入库批号',minWidth: 100,}, {field: 'nbsbm', title: '入库批号',minWidth: 100,},
{field: 'lldw', title: '理料垛位',width: 50,visible:false }, {field: 'lldw', title: '理料垛位',width: 50,visible:false },
{field: 'ceng', title: '层数',width: 50,visible:false }, {field: 'llcs', title: '理料层数',width: 50,visible:false },
{field: 'zt0', title: '状态',width: 50,visible:false },
{field: 'bz', title: '备注',width: 50,visible:false }, {field: 'bz', title: '备注',width: 50,visible:false },
] ]

@ -48,7 +48,7 @@ const baifang=function (option={}) {
const group=new Konva.Group({ const group=new Konva.Group({
x:0, x:0,
y:thatHeight-280-index*40, y:thatHeight-280-index*40,
// draggable:true draggable:true
}) })
group.setAttr('item',item) group.setAttr('item',item)

Loading…
Cancel
Save