|
|
|
@ -62,13 +62,38 @@
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="4">
|
|
|
|
|
<el-col :span="2">
|
|
|
|
|
<el-form-item label="在建船只:" label-width="105px">
|
|
|
|
|
<el-checkbox v-model="request.zjcz" type="search" placeholder="合同号" ></el-checkbox>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="11" style="text-align: right">
|
|
|
|
|
<el-button type="primary" @click="initList()">查询</el-button>
|
|
|
|
|
<el-col :span="2">
|
|
|
|
|
<el-select v-model="pl.qy" placeholder="区域" clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in qyList"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="2">
|
|
|
|
|
<el-select v-model="pl.dwh" placeholder="垛位" clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="item in dwList"
|
|
|
|
|
:key="item.value"
|
|
|
|
|
:label="item.label"
|
|
|
|
|
:value="item.value"
|
|
|
|
|
>
|
|
|
|
|
</el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1" style="text-align: left">
|
|
|
|
|
<el-button type="primary" @click="plsr">批量</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8" style="text-align: right">
|
|
|
|
|
<el-button type="primary" @click="initList">查询</el-button>
|
|
|
|
|
<el-button type="primary" @click="tq">提取</el-button>
|
|
|
|
|
<el-button type="success" @click="save">保存</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
@ -83,8 +108,8 @@
|
|
|
|
|
id="id"
|
|
|
|
|
border
|
|
|
|
|
ref="tableRef"
|
|
|
|
|
resizable
|
|
|
|
|
keep-source
|
|
|
|
|
resizable
|
|
|
|
|
:height="height"
|
|
|
|
|
:auto-resize="true"
|
|
|
|
|
:columns="tableColumn"
|
|
|
|
@ -116,6 +141,10 @@ export default {
|
|
|
|
|
yppTqShow:false,
|
|
|
|
|
height: "500px",
|
|
|
|
|
list:[],
|
|
|
|
|
pl:{
|
|
|
|
|
dwh:'',
|
|
|
|
|
qy:''
|
|
|
|
|
},
|
|
|
|
|
projectColumns: [
|
|
|
|
|
{field: 'cbbm', title: '船号',width: 110},
|
|
|
|
|
{ field: 'wgbs', title: '完工标识', width: 80,
|
|
|
|
@ -135,6 +164,7 @@ export default {
|
|
|
|
|
zjcz:true
|
|
|
|
|
},
|
|
|
|
|
tableColumn: [
|
|
|
|
|
{type: "checkbox", width: "50", align: "center", fixed: "left",},
|
|
|
|
|
{type: "seq", width: "50", title: "序号", align: "center", fixed: "left",},
|
|
|
|
|
{ field: 'dcCh', title: '船只', width: 120,align: "center",
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
@ -268,6 +298,21 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
plsr(){
|
|
|
|
|
const data = this.$refs.tableRef.getCheckboxRecords();
|
|
|
|
|
if(data.length<=0){
|
|
|
|
|
this.$message.warning('请先选择要批量操作的数据')
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (!this.pl.dwh||!this.pl.qy){
|
|
|
|
|
this.$message.warning('请选择摆放位置');
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
data.forEach(item=>{
|
|
|
|
|
item.dwh=this.pl.dwh
|
|
|
|
|
item.qy=this.pl.qy
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
bfwzChanged({row}){
|
|
|
|
|
checkBfwz([row]).then(res=>{
|
|
|
|
|
if (!res.data.success){
|
|
|
|
|