|
|
@ -98,6 +98,7 @@
|
|
|
|
<el-button type="success" @click="print()">打印</el-button>
|
|
|
|
<el-button type="success" @click="print()">打印</el-button>
|
|
|
|
<el-button type="success" @click="printzj()">直接打印</el-button>
|
|
|
|
<el-button type="success" @click="printzj()">直接打印</el-button>
|
|
|
|
<el-button type="success" @click="exportExcel()">导出</el-button>
|
|
|
|
<el-button type="success" @click="exportExcel()">导出</el-button>
|
|
|
|
|
|
|
|
<!-- <el-button type="success" @click="exportExcel1()">导出</el-button>-->
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<!-- <el-col :span="10">-->
|
|
|
|
<!-- <el-col :span="10">-->
|
|
|
|
|
|
|
|
|
|
|
@ -236,6 +237,8 @@
|
|
|
|
<el-date-picker v-model="inParam.jhrq" value-format="yyyy/MM/dd" type="date" placeholder="计划日期"/>
|
|
|
|
<el-date-picker v-model="inParam.jhrq" value-format="yyyy/MM/dd" type="date" placeholder="计划日期"/>
|
|
|
|
<el-input v-model="inParam.bz" type="search" placeholder="备注" ></el-input>
|
|
|
|
<el-input v-model="inParam.bz" type="search" placeholder="备注" ></el-input>
|
|
|
|
<el-button type="info" @click="updates2()" >批量</el-button>
|
|
|
|
<el-button type="info" @click="updates2()" >批量</el-button>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-button type="success" @click="exportExcel1()">抛丸导出</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<!-- <el-col :span="10">-->
|
|
|
|
<!-- <el-col :span="10">-->
|
|
|
|
|
|
|
|
|
|
|
@ -829,6 +832,107 @@ export default {
|
|
|
|
width: "120px",
|
|
|
|
width: "120px",
|
|
|
|
field: 'ydid',
|
|
|
|
field: 'ydid',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
tableColumn1Excel: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '炉批号',
|
|
|
|
|
|
|
|
width: "70px",
|
|
|
|
|
|
|
|
field: 'lph',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '材质',
|
|
|
|
|
|
|
|
width: "80px",
|
|
|
|
|
|
|
|
field: 'wpxh',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '规格',
|
|
|
|
|
|
|
|
width: "120px",
|
|
|
|
|
|
|
|
field: 'wpgg',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '物品状态',
|
|
|
|
|
|
|
|
width: "70px",
|
|
|
|
|
|
|
|
field: 'wpzt',
|
|
|
|
|
|
|
|
formatter: ['dictFormat', 'WPZT'],
|
|
|
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '需求船只',
|
|
|
|
|
|
|
|
width: "70px",
|
|
|
|
|
|
|
|
field: 'zych',
|
|
|
|
|
|
|
|
editRender: {
|
|
|
|
|
|
|
|
name: '$select', options: [],
|
|
|
|
|
|
|
|
optionProps: {value: 'cbbm', label: 'cbbm'},
|
|
|
|
|
|
|
|
props: {clearable: true}
|
|
|
|
|
|
|
|
, events: {change: this.selectChange}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '需求批量',
|
|
|
|
|
|
|
|
width: "70px",
|
|
|
|
|
|
|
|
field: 'zypl',
|
|
|
|
|
|
|
|
editRender: { name: 'input' },
|
|
|
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '流向',
|
|
|
|
|
|
|
|
width: "70px",
|
|
|
|
|
|
|
|
field: 'zylx', formatter: ['dictFormat', 'ZYLX'],
|
|
|
|
|
|
|
|
editRender: {
|
|
|
|
|
|
|
|
name: '$select', options: [],
|
|
|
|
|
|
|
|
optionProps: {value: 'bm', label: 'bmsm'},
|
|
|
|
|
|
|
|
props: {clearable: true}
|
|
|
|
|
|
|
|
, events: {change: this.selectChange}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '切割跨位',
|
|
|
|
|
|
|
|
width: "80px",
|
|
|
|
|
|
|
|
field: 'sldw',
|
|
|
|
|
|
|
|
formatter: ['dictFormat', 'QGKW'],
|
|
|
|
|
|
|
|
editRender: {
|
|
|
|
|
|
|
|
name: '$select', options: [],
|
|
|
|
|
|
|
|
optionProps: {value: 'bm', label: 'bmsm'},
|
|
|
|
|
|
|
|
props: {clearable: true}
|
|
|
|
|
|
|
|
, events: {change: this.selectChange}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '套料图号',
|
|
|
|
|
|
|
|
width: "70px",
|
|
|
|
|
|
|
|
field: 'dcth',
|
|
|
|
|
|
|
|
editRender: { name: 'input' },
|
|
|
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title: '库存',
|
|
|
|
|
|
|
|
width: "50px",
|
|
|
|
|
|
|
|
field: 'kwh',
|
|
|
|
|
|
|
|
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
filterRender: { name: 'FilterCombination' },
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -849,6 +953,13 @@ export default {
|
|
|
|
exportExcel(){
|
|
|
|
exportExcel(){
|
|
|
|
exportByExcel(this.tableColumn1,this.$refs.xGrid.getTableData().visibleData,1,'上料派工单.xlsx')
|
|
|
|
exportByExcel(this.tableColumn1,this.$refs.xGrid.getTableData().visibleData,1,'上料派工单.xlsx')
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
exportExcel1(){
|
|
|
|
|
|
|
|
exportByExcel(this.tableColumn1Excel,this.$refs.xGrid.getTableData().visibleData,0,'上料派工单.xls')
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cellClickEvent({row}) {
|
|
|
|
cellClickEvent({row}) {
|
|
|
|
this.queryParam.xqdcch = row.cbbm
|
|
|
|
this.queryParam.xqdcch = row.cbbm
|
|
|
|
this.$refs.xDown4.hidePanel()
|
|
|
|
this.$refs.xDown4.hidePanel()
|
|
|
|