1.增加供货商名称

2.增加大洋入库单
3.增加大洋出库单
master
董哲奇 1 week ago
parent 6e5a2c309e
commit a65f1bfc1f

@ -322,14 +322,14 @@ export default {
filterRender: { name: 'FilterCombination' } filterRender: { name: 'FilterCombination' }
}, },
{ {
field: 'zjzt', field: 'ZJZT',formatter:this.zsFormat,
title: '证书状态', title: '证书状态',
width: 120, width: 120,
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' }
}, },
{ {
field: 'DC_PB', field: 'DC_PB',formatter:this.pbFormat,
title: '整理状态', title: '整理状态',
width: 120, width: 120,
filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }], filters: [{ data: { checks: [], sVal: '', sMenu: '', fType1: '', fVal1: '', fMode: 'and', fType2: '', fVal2: '' } }],
@ -348,6 +348,17 @@ export default {
this.initBase() this.initBase()
}, },
methods: { methods: {
zsFormat({cellValue}){
const dict=['无','有']
return dict[cellValue]||'无'
},
pbFormat({cellValue}){
const dict={
'1':'未整理',
'2':'已整理'
}
return dict[cellValue]||cellValue||''
},
//, //,
recovery(){ recovery(){
const selectData=this.$refs.xGrid.getCheckboxRecords() const selectData=this.$refs.xGrid.getCheckboxRecords()

@ -152,7 +152,6 @@ export default {
this.plslList.push(data) this.plslList.push(data)
return return
} }
console.log(data)
if (this.currentDw&&this.currentDw.id===data.dwId) { if (this.currentDw&&this.currentDw.id===data.dwId) {
if (this.slGroup){ if (this.slGroup){
this.slGroup.destroyChildren() this.slGroup.destroyChildren()

Loading…
Cancel
Save