1.预配盘临时提交

master
董哲奇 2 months ago
parent 1e6be58e08
commit 6300d8e0d5

@ -845,9 +845,9 @@ export default {
} }
for (const item of data) { for (const item of data) {
item.zyq=this.plParam.zyq||item.zyq item.zyq=this.plParam.zyq||item.zyq
for (const item of this.zyqList) { for (const _item of this.zyqList) {
if(item.value===this.plParam.zyq){ if(_item.value===this.plParam.zyq){
item.zyq1=item.label item.zyq1=_item.label
} }
} }
} }

File diff suppressed because it is too large Load Diff

@ -3,7 +3,7 @@
<el-header style="width: 100%; height: 80px;font-size: 12px"> <el-header style="width: 100%; height: 80px;font-size: 12px">
<el-form :inline="true" label-width="55px" label-position="right"> <el-form :inline="true" label-width="55px" label-position="right">
<el-row> <el-row>
<el-col :span="6"> <el-col :span="7">
<el-form-item label="船号:"> <el-form-item label="船号:">
<ProjectSelect ref="projectSelectRef" /> <ProjectSelect ref="projectSelectRef" />
</el-form-item> </el-form-item>
@ -11,7 +11,7 @@
<el-input v-model="queryParam.dcPl" type="search" placeholder="批量" /> <el-input v-model="queryParam.dcPl" type="search" placeholder="批量" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="16"> <el-col :span="15">
<VxeSelect v-model="plParam.qy" ref="qyRef" clearable :options="qyList" @change="qyChange" style="margin-left: 10px;width: 125px" placeholder="选择区域"/> <VxeSelect v-model="plParam.qy" ref="qyRef" clearable :options="qyList" @change="qyChange" style="margin-left: 10px;width: 125px" placeholder="选择区域"/>
<VxeSelect v-model="plParam.dw" ref="dwRef" clearable :options="dwList" placeholder="选择垛位"/> <VxeSelect v-model="plParam.dw" ref="dwRef" clearable :options="dwList" placeholder="选择垛位"/>
<VxeButton status="primary" content="批量" @click="pl" /> <VxeButton status="primary" content="批量" @click="pl" />
@ -19,7 +19,6 @@
<el-col :span="2"> <el-col :span="2">
<el-form-item style="float: right" > <el-form-item style="float: right" >
<el-button type="success" @click="initList"></el-button> <el-button type="success" @click="initList"></el-button>
<el-button type="success" @click="tq"></el-button>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -106,7 +105,6 @@ export default {
plParam:{ plParam:{
qy:'', qy:'',
dw:'', dw:'',
dwxxId:''
}, },
qyList:[], qyList:[],
dwList:[], dwList:[],
@ -239,9 +237,10 @@ export default {
this.$message.warning('请选择数据') this.$message.warning('请选择数据')
return return
} }
data.qy=this.plParam.qy data.forEach(item=>{
data.dwh=this.plParam.dwh item.qy=this.plParam.qy
data.dwxxId=this.plParam.dwxxId item.dwh=this.plParam.dw
})
}, },
initBase(){ initBase(){
getPgdBase({}).then(res=>{ getPgdBase({}).then(res=>{
@ -275,7 +274,6 @@ export default {
}, },
tq(){ tq(){
this.queryParam.dcCh=this.$refs.projectSelectRef.getDcch() this.queryParam.dcCh=this.$refs.projectSelectRef.getDcch()
}, },
initList() { initList() {
this.queryParam.dcCh=this.$refs.projectSelectRef.getDcch() this.queryParam.dcCh=this.$refs.projectSelectRef.getDcch()
@ -293,10 +291,9 @@ export default {
this.list = res.data this.list = res.data
}) })
}, },
qyChange({row}){ qyChange({value}){
const qy=row.qy
const dwList=[] const dwList=[]
this.qyData[qy]?.forEach(item=>{ this.qyData[value]?.forEach(item=>{
const dw={label:item.dwh,value:item.dwh}; const dw={label:item.dwh,value:item.dwh};
dwList.push(dw) dwList.push(dw)
}) })

@ -0,0 +1,29 @@
<template>
<div>
<el-row :gutter="20">
<el-col :span="3" v-for="(item, index) in list" :key="index">
<dv-border-box-12>
<YppDetail :data="item"></YppDetail>/
</dv-border-box-12>
</el-col>
</el-row>
</div>
</template>
<script>
import YppDetail from "@/views/zyjhzx/bfang/comps/YppDetail.vue";
export default {
name: "Ypp",
components: {YppDetail},
data() {
return {
list: []
}
},
methods: {
initList(){
}
}
}
</script>

@ -0,0 +1,40 @@
<template>
<div @click="clickEvent" v-if="">
</div>
</template>
<script>
export default {
name: 'YppDetail',
props:{
data:{
type:Object,
default:()=>{
return {
dcCh:'',
dcPl:'',
dcFd:'',
qy:'',
dw:'',
list:[]
}
}
}
},
data(){
return {
total:0,
wpp:0,
}
},
mounted(){
this.total = this.$props.data.list.length;
this.num=this.$props.data.list.filter(item=>item.ppzt==='01').length
},
methods:{
clickEvent(){
}
}
}
</script>

@ -26,7 +26,7 @@ export default {
data(){ data(){
return{ return{
workers:[], workers:[],
title:'摆 放 报 工', title:'预 配 盘 报 工',
zyq:'', zyq:'',
stage:null, stage:null,
layer:null, layer:null,

Loading…
Cancel
Save