|
|
|
@ -244,7 +244,11 @@ export default {
|
|
|
|
|
getForemanByWorker({worker:worker}).then(res=>{
|
|
|
|
|
getYdjhByZtOrForeman({foreman:res.data.userCode,zt:zt,field:'hxpgry',zyq:this.zyq,userCode:worker}).then(res=>{
|
|
|
|
|
res.data.forEach(item=>{
|
|
|
|
|
item._lx=item.tzbh.substring(5,6)
|
|
|
|
|
try {
|
|
|
|
|
item._lx=item.tzbh.substring(5,6)
|
|
|
|
|
}catch (e){
|
|
|
|
|
//this.$message(`船号${item.dcCh},批次${item.dcPl}有图纸编号存在数据异常`)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
this.list=res.data
|
|
|
|
|
this.gridOptions.data=res.data
|
|
|
|
|