|
|
|
@ -15,6 +15,7 @@
|
|
|
|
|
<el-col :span="9">
|
|
|
|
|
<el-form-item style="float: right">
|
|
|
|
|
<el-button type="success" @click="initList">查询</el-button>
|
|
|
|
|
<!-- <el-button type="success" @click="initList1">查询1</el-button>-->
|
|
|
|
|
<el-button type="success" @click="save">保存</el-button>
|
|
|
|
|
<el-button type="success" @click="tqSygd">提交三月滚动</el-button>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -31,28 +32,69 @@
|
|
|
|
|
<el-button type="success" @click="symxhz">汇总</el-button>
|
|
|
|
|
<!-- <span style="font-size: 13px;color: red; float: right"> * 表中红色数据:钢料滚动需求期为休息日</span>-->
|
|
|
|
|
<vxe-grid
|
|
|
|
|
id="id"
|
|
|
|
|
ref="xGrid"
|
|
|
|
|
id="id8"
|
|
|
|
|
ref="xGrid8"
|
|
|
|
|
border
|
|
|
|
|
resizable
|
|
|
|
|
keep-source
|
|
|
|
|
:align="'center'"
|
|
|
|
|
:height="height"
|
|
|
|
|
:auto-resize="true"
|
|
|
|
|
:columns="tableColumn"
|
|
|
|
|
:data="list"
|
|
|
|
|
:columns="tableColumn8"
|
|
|
|
|
:span-method="rowspanMethod1"
|
|
|
|
|
highlight-current-row
|
|
|
|
|
:data="list8"
|
|
|
|
|
:custom-config="{ storage: true }"
|
|
|
|
|
:edit-config="{
|
|
|
|
|
trigger: 'click',
|
|
|
|
|
mode: 'row',
|
|
|
|
|
showStatus: true,
|
|
|
|
|
}"
|
|
|
|
|
@checkbox-all="selectAllEvent"
|
|
|
|
|
@checkbox-change="selectChangeEvent"
|
|
|
|
|
highlight-hover-row
|
|
|
|
|
show-overflow
|
|
|
|
|
show-header-overflow
|
|
|
|
|
>
|
|
|
|
|
</vxe-grid>
|
|
|
|
|
<!-- <vxe-grid-->
|
|
|
|
|
<!-- id="id"-->
|
|
|
|
|
<!-- ref="xGrid"-->
|
|
|
|
|
<!-- border-->
|
|
|
|
|
<!-- resizable-->
|
|
|
|
|
<!-- keep-source-->
|
|
|
|
|
<!-- :align="'center'"-->
|
|
|
|
|
<!-- :height="height"-->
|
|
|
|
|
<!-- :auto-resize="true"-->
|
|
|
|
|
<!-- :columns="tableColumn"-->
|
|
|
|
|
<!-- :data="list"-->
|
|
|
|
|
<!-- :custom-config="{ storage: true }"-->
|
|
|
|
|
<!-- :edit-config="{-->
|
|
|
|
|
<!-- trigger: 'click',-->
|
|
|
|
|
<!-- mode: 'row',-->
|
|
|
|
|
<!-- showStatus: true,-->
|
|
|
|
|
<!-- }"-->
|
|
|
|
|
<!-- @checkbox-all="selectAllEvent"-->
|
|
|
|
|
<!-- @checkbox-change="selectChangeEvent"-->
|
|
|
|
|
<!-- highlight-current-row-->
|
|
|
|
|
<!-- highlight-hover-row-->
|
|
|
|
|
<!-- show-overflow-->
|
|
|
|
|
<!-- :scroll-y="{enabled: true}"-->
|
|
|
|
|
<!-- >-->
|
|
|
|
|
<!-- </vxe-grid>-->
|
|
|
|
|
</div>
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="三月滚动计划编制" :disabled="this.isUser">
|
|
|
|
|
<div class="mytable">
|
|
|
|
|
<vxe-grid
|
|
|
|
|
id="id9"
|
|
|
|
|
ref="xGrid9"
|
|
|
|
|
border
|
|
|
|
|
resizable
|
|
|
|
|
keep-source
|
|
|
|
|
:align="'center'"
|
|
|
|
|
:height="height"
|
|
|
|
|
:auto-resize="true"
|
|
|
|
|
:columns="tableColumn9"
|
|
|
|
|
highlight-current-row
|
|
|
|
|
:data="list1"
|
|
|
|
|
:custom-config="{ storage: true }"
|
|
|
|
|
highlight-hover-row
|
|
|
|
|
show-overflow
|
|
|
|
|
:scroll-y="{enabled: true}"
|
|
|
|
|
show-header-overflow
|
|
|
|
|
>
|
|
|
|
|
</vxe-grid>
|
|
|
|
|
</div>
|
|
|
|
@ -248,7 +290,7 @@
|
|
|
|
|
<script>
|
|
|
|
|
import router from "@/router";
|
|
|
|
|
import {getCzxx} from '@/api/jhzx/qfxq'
|
|
|
|
|
import {getList, sygdPC, saveByDcch, tqSygd, symxhz, getCnsb, saveMxList} from '@/api/jhzx/sygd'
|
|
|
|
|
import {getList, sygdPC, saveByDcch, tqSygd, symxhz, getCnsb, saveMxList, tqSygd1} from '@/api/jhzx/sygd'
|
|
|
|
|
import {mapGetters} from 'vuex'
|
|
|
|
|
import XEUtils from 'xe-utils'
|
|
|
|
|
import {getToken} from '@/utils/auth'
|
|
|
|
@ -260,6 +302,7 @@ export default {
|
|
|
|
|
components: {ScrollPane},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
isUser:true,
|
|
|
|
|
gcrl:[],
|
|
|
|
|
dialogVisible: false,
|
|
|
|
|
dialogVisible1: false,
|
|
|
|
@ -277,6 +320,7 @@ export default {
|
|
|
|
|
list1: [],
|
|
|
|
|
list2: [],
|
|
|
|
|
list3: [],
|
|
|
|
|
list8: [],
|
|
|
|
|
checkedList: [],
|
|
|
|
|
heads: {token: getToken()},
|
|
|
|
|
dictData: [],
|
|
|
|
@ -602,6 +646,22 @@ export default {
|
|
|
|
|
}],
|
|
|
|
|
filterRender: {name: 'FilterCombination',}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'slsb', title: '上料计划设备', minWidth: "120",
|
|
|
|
|
filters: [{
|
|
|
|
|
data: {
|
|
|
|
|
checks: [],
|
|
|
|
|
sVal: '',
|
|
|
|
|
sMenu: '',
|
|
|
|
|
fType1: '',
|
|
|
|
|
fVal1: '',
|
|
|
|
|
fMode: 'and',
|
|
|
|
|
fType2: '',
|
|
|
|
|
fVal2: ''
|
|
|
|
|
}
|
|
|
|
|
}],
|
|
|
|
|
filterRender: {name: 'FilterCombination',}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'pwrq', title: '抛丸计划日期', minWidth: "120",
|
|
|
|
|
filters: [{
|
|
|
|
@ -618,6 +678,22 @@ export default {
|
|
|
|
|
}],
|
|
|
|
|
filterRender: {name: 'FilterCombination',}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'pwsb', title: '抛丸计划设备', minWidth: "120",
|
|
|
|
|
filters: [{
|
|
|
|
|
data: {
|
|
|
|
|
checks: [],
|
|
|
|
|
sVal: '',
|
|
|
|
|
sMenu: '',
|
|
|
|
|
fType1: '',
|
|
|
|
|
fVal1: '',
|
|
|
|
|
fMode: 'and',
|
|
|
|
|
fType2: '',
|
|
|
|
|
fVal2: ''
|
|
|
|
|
}
|
|
|
|
|
}],
|
|
|
|
|
filterRender: {name: 'FilterCombination',}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'hxrq', title: '划线计划日期', minWidth: "120",
|
|
|
|
|
filters: [{
|
|
|
|
@ -634,6 +710,22 @@ export default {
|
|
|
|
|
}],
|
|
|
|
|
filterRender: {name: 'FilterCombination',}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'hxsb', title: '划线计划设备', minWidth: "120",
|
|
|
|
|
filters: [{
|
|
|
|
|
data: {
|
|
|
|
|
checks: [],
|
|
|
|
|
sVal: '',
|
|
|
|
|
sMenu: '',
|
|
|
|
|
fType1: '',
|
|
|
|
|
fVal1: '',
|
|
|
|
|
fMode: 'and',
|
|
|
|
|
fType2: '',
|
|
|
|
|
fVal2: ''
|
|
|
|
|
}
|
|
|
|
|
}],
|
|
|
|
|
filterRender: {name: 'FilterCombination',}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'qgrq', title: '切割计划日期', minWidth: "120",
|
|
|
|
|
filters: [{
|
|
|
|
@ -650,6 +742,22 @@ export default {
|
|
|
|
|
}],
|
|
|
|
|
filterRender: {name: 'FilterCombination',}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'qgsb', title: '切割计划设备', minWidth: "120",
|
|
|
|
|
filters: [{
|
|
|
|
|
data: {
|
|
|
|
|
checks: [],
|
|
|
|
|
sVal: '',
|
|
|
|
|
sMenu: '',
|
|
|
|
|
fType1: '',
|
|
|
|
|
fVal1: '',
|
|
|
|
|
fMode: 'and',
|
|
|
|
|
fType2: '',
|
|
|
|
|
fVal2: ''
|
|
|
|
|
}
|
|
|
|
|
}],
|
|
|
|
|
filterRender: {name: 'FilterCombination',}
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// field: 'jzsb',
|
|
|
|
|
// title: '矫正设备',
|
|
|
|
@ -2349,15 +2457,253 @@ export default {
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
tableColumn8:[
|
|
|
|
|
{ type: 'checkbox', width: 50 ,},
|
|
|
|
|
{ type: 'seq', width: 60, title: '序号',fixed: "left"},
|
|
|
|
|
{ field: 'dcCh', title: '船号',width: 100,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', }},
|
|
|
|
|
{ field: 'dcPl', title: '批量号',width: 70,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', }},
|
|
|
|
|
{ field: 'dcFd', title: '分段号',width: 100,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', }},
|
|
|
|
|
{ field: 'bs', title: '板数', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'sl', title: '上料', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'xcpw', title: '型材抛丸', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'pw', title: '抛丸', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'yklm', title: '一垮龙门板数', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'yksk', title: '一垮数控板数', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'ykpkjs', title: '坡口切割结束', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'eksk', title: '二垮数控板数', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'ekskks', title: '数控切割开始', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'ekpkjs', title: '坡口切割结束', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'sksk', title: '三垮数控板数', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'skskqgks', title: '数控切割开始', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'skpkjs', title: '坡口切割结束', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'skpt', title: '三垮平铁板数', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'ptks', title: '平铁切割开始', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'ptjs', title: '平铁切割结束', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'qpt_zjs', title: '曲平铁转结束', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'qptjs', title: '曲平铁结束', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'qwbjs', title: '曲外板结束', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'zl', title: '组立', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'skbs', title: '数控 板数', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'skqgks', title: '数控切割开始', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'pkqgjs', title: '坡口切割结束', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'mbjb', title: '面板挤边', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'qkxcms', title: '七垮型 材米数', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'xcmb', title: '型材 面板', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'fdxq', title: '分段需求', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'gdjs', title: '光电 结束', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'bz', title: '备注', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
}
|
|
|
|
|
/*{ field: 'id', title: '流水号(禁止修改)',width: 100,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', }},*/
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
tableColumn9:[
|
|
|
|
|
{ field: 'rq', title: '日期', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'bb', title: '白班', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'yb', title: '夜班', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'gw', title: '工位', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'wz', title: '位置', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'gxde', title: '工序定额', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'sbbm', title: '设备编码', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'sbmc', title: '设备名称', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'sbde', title: '设备定额', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'ch', title: '船号', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'pl', title: '批次', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'xqrq', title: '钢板需求期', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'dzks', title: '小组开始', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'dz', title: '大组', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'type', title: '类型(手工/数控)', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'zl', title: '组立', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'kw', title: '跨位', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'tzmc', title: '套料图名称', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'tzbh', title: '套料图号', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'wpgg', title: '规格', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'wpcz', title: '材质', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'sl', title: '数量', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'jglx', title: '加工路线', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'de', title: '定额', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
},
|
|
|
|
|
{ field: 'zrc', title: '中日程', width: 120,
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
filterRender: { name: 'FilterCombination', },
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
...mapGetters(['name', 'bmbm'])
|
|
|
|
|
...mapGetters(['name', 'bmbm','yhdm'])
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
window.addEventListener('resize', this.getHeight)
|
|
|
|
|
this.getHeight()
|
|
|
|
|
this.initBase()
|
|
|
|
|
if(this.yhdm=='user01'||this.yhdm=='user02'){
|
|
|
|
|
this.isUser=false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
watch: {
|
|
|
|
|
'queryParam.beginTime'(newValue, Value){
|
|
|
|
@ -2379,11 +2725,13 @@ export default {
|
|
|
|
|
//汇总
|
|
|
|
|
symxhz() {
|
|
|
|
|
|
|
|
|
|
if (this.list.length < 1) {
|
|
|
|
|
this.$message.warning('请先查询需要汇总的信息!');
|
|
|
|
|
if (this.queryParam.beginTime=='' ||this.queryParam.endTime==''||
|
|
|
|
|
this.queryParam.beginTime==null ||this.queryParam.endTime==null
|
|
|
|
|
) {
|
|
|
|
|
this.$message.warning('请先输入汇总的时间范围!');
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
symxhz(this.list).then((res) => {
|
|
|
|
|
symxhz(this.queryParam).then((res) => {
|
|
|
|
|
if (res.data) {
|
|
|
|
|
console.log(res.data)
|
|
|
|
|
this.list1 = res.data.xbList
|
|
|
|
@ -2416,6 +2764,21 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
rowspanMethod1({row, _rowIndex, column, visibleData}) {
|
|
|
|
|
//不要忘记在vxe-grid上配置 :scroll-y="{enabled: false}" 防止下拉时样式变化
|
|
|
|
|
// 需要合并的列字段
|
|
|
|
|
let fields = ['dcCh','dcPl'];// 需要合并的列
|
|
|
|
|
const cellValue = row[column.property];// 合并行的相同的唯一标识
|
|
|
|
|
if (cellValue && fields.includes(column.property)) {
|
|
|
|
|
const prevRow = visibleData[_rowIndex - 1];
|
|
|
|
|
let nextRow = visibleData[_rowIndex + 1];
|
|
|
|
|
if(_rowIndex%2==0){
|
|
|
|
|
return {rowspan: 2, colspan: 1};
|
|
|
|
|
}else {
|
|
|
|
|
return {rowspan: 0, colspan: 0};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
//明细修改弹窗
|
|
|
|
|
cellClickEvent_xb(row) {
|
|
|
|
|
this.mxList = row.row.mxList
|
|
|
|
@ -2548,12 +2911,11 @@ export default {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
getList(this.queryParam).then((res) => {
|
|
|
|
|
this.list = res.data.list
|
|
|
|
|
this.list8 = res.data.list
|
|
|
|
|
this.gcrl=res.data.gcrl
|
|
|
|
|
if (this.$refs.xGrid) {
|
|
|
|
|
this.$refs.xGrid.loadData(this.list)
|
|
|
|
|
this.$refs.xGrid8.loadData(this.list8)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
this.activeName = 'first'
|
|
|
|
|
},
|
|
|
|
@ -2570,21 +2932,11 @@ export default {
|
|
|
|
|
if (!res.success){
|
|
|
|
|
this.$message.warning(res.message)
|
|
|
|
|
}else{
|
|
|
|
|
this.list = res.data
|
|
|
|
|
// if (this.$refs.xGrid) {
|
|
|
|
|
// this.$refs.xGrid.loadData(this.list)
|
|
|
|
|
// }
|
|
|
|
|
this.list8 = res.data
|
|
|
|
|
if (this.$refs.xGrid8) {
|
|
|
|
|
this.$refs.xGrid8.loadData(this.list8)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// if (res.data.no_tlt) {
|
|
|
|
|
// this.selectMbch = res.data
|
|
|
|
|
// this.haveTltBoms = res.data.haveTltBoms
|
|
|
|
|
// this.dialogVisible = true;
|
|
|
|
|
// } else {
|
|
|
|
|
// this.list = res.data
|
|
|
|
|
// if (this.$refs.xGrid) {
|
|
|
|
|
// this.$refs.xGrid.loadData(this.list)
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
})
|
|
|
|
|
this.activeName = 'first'
|
|
|
|
|
},
|
|
|
|
|