master
xhj 5 months ago
parent c652350482
commit cf6d3f92aa

@ -728,13 +728,14 @@ export default {
title: '抛丸位置', title: '抛丸位置',
width: "70px", width: "70px",
field: 'pwwz', field: 'pwwz',
formatter: ['dictFormat', 'PWWZ'], editRender: { name: 'input' },
editRender: { // formatter: ['dictFormat', 'PWWZ'],
name: '$select', options: [], // editRender: {
optionProps: {value: 'bm', label: 'bmsm'}, // name: '$select', options: [],
props: {clearable: true} // optionProps: {value: 'bm', label: 'bmsm'},
, events: {change: this.selectChange} // props: {clearable: true}
}, // , events: {change: this.selectChange}
// },
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' },
}, },
@ -957,6 +958,9 @@ export default {
if(this.inParam.bz !==''){ if(this.inParam.bz !==''){
selectRecords[i].bz = this.inParam.bz selectRecords[i].bz = this.inParam.bz
} }
if(this.inParam.pwwz!==''){
selectRecords[i].pwwz = this.inParam.pwwz
}
} }
this.$refs.xGrid.updateData(this.list) this.$refs.xGrid.updateData(this.list)
} }
@ -1040,9 +1044,11 @@ export default {
printzj(){ printzj(){
if(this.queryParam.rqopt!=='03'){ if(this.queryParam.rqopt!=='03'){
this.$message({ message: '请在已打印中打印', type: 'warning' })
return return
}else { }else {
this.$message({ message: '请在已打印中打印', type: 'warning' })
} }
let selectRecords = this.$refs.xGrid.getCheckboxRecords() let selectRecords = this.$refs.xGrid.getCheckboxRecords()
if(selectRecords.length>0){ if(selectRecords.length>0){
@ -1197,10 +1203,10 @@ export default {
return return
} }
// if(this.inParam.dcpl ===''){ if(this.inParam.dcpl ===''){
// this.$message({ message: '', type: 'warning' }) this.$message({ message: '请输入需求批量', type: 'warning' })
// return return
// } }
let obj =this.$refs.xGrid.getTableData().visibleData; let obj =this.$refs.xGrid.getTableData().visibleData;
if(obj.length<=0){ if(obj.length<=0){
this.$message({ message: '页面无数据', type: 'warning' }) this.$message({ message: '页面无数据', type: 'warning' })

Loading…
Cancel
Save