凭证维护增加查询条件
This commit is contained in:
parent
746735c4ec
commit
d292a334b5
|
@ -258,6 +258,9 @@ export default class ExportHeightQueryModal extends Component {
|
||||||
|
|
||||||
// {itemName:'摘要',itemType:'refer',itemKey:'explanation',
|
// {itemName:'摘要',itemType:'refer',itemKey:'explanation',
|
||||||
// config:{refCode:"uapbd/refer/org/AccountBookByFinanceOrgRef"},queryGridUrl:'',refType:'grid'},
|
// config:{refCode:"uapbd/refer/org/AccountBookByFinanceOrgRef"},queryGridUrl:'',refType:'grid'},
|
||||||
|
// {itemName:'客商名称',itemType:'String',itemKey:'freevalue1'},
|
||||||
|
{ itemName: '客商名称', itemType: 'textInput', itemKey: 'freevalue1' },/* 国际化处理: 凭证号*/
|
||||||
|
|
||||||
{
|
{
|
||||||
itemName: this.props.stateJson['20021005list-000098'],/* 国际化处理: 凭证状态*/
|
itemName: this.props.stateJson['20021005list-000098'],/* 国际化处理: 凭证状态*/
|
||||||
itemType: 'select',
|
itemType: 'select',
|
||||||
|
|
|
@ -23,6 +23,7 @@ const {
|
||||||
NCSelect: Select,
|
NCSelect: Select,
|
||||||
NCCheckbox: Checkbox,
|
NCCheckbox: Checkbox,
|
||||||
NCNumber,
|
NCNumber,
|
||||||
|
NCTextArea,
|
||||||
NCRangePicker: RangePicker,
|
NCRangePicker: RangePicker,
|
||||||
NCDiv,NCRangePickerClient
|
NCDiv,NCRangePickerClient
|
||||||
} = base;
|
} = base;
|
||||||
|
@ -168,6 +169,7 @@ export default class SearchModal extends Component {
|
||||||
listItem.selectPretype='0';
|
listItem.selectPretype='0';
|
||||||
listItem.preAble = false;
|
listItem.preAble = false;
|
||||||
listItem.dataAble = true;
|
listItem.dataAble = true;
|
||||||
|
listItem.freevalue1 = '';
|
||||||
//下拉初始化默认值
|
//下拉初始化默认值
|
||||||
let defautItem = item.itemKey;
|
let defautItem = item.itemKey;
|
||||||
switch (defautItem) {
|
switch (defautItem) {
|
||||||
|
@ -1339,6 +1341,28 @@ export default class SearchModal extends Component {
|
||||||
</Col>
|
</Col>
|
||||||
</Col>
|
</Col>
|
||||||
);
|
);
|
||||||
|
}else if(item.itemKey == 'freevalue1'){
|
||||||
|
return (
|
||||||
|
<Col {...voucherHeightConfig.halfCol} className="nomal-item">
|
||||||
|
<Col {...voucherHeightConfig.referLabelCol} className='ver-center'>
|
||||||
|
<label class="gl-voucher-label nc-theme-common-font-c">{item.itemName}</label>
|
||||||
|
</Col>
|
||||||
|
<Col {...voucherHeightConfig.selectWrapperCol}>
|
||||||
|
<NCTextArea
|
||||||
|
fieldid={item.itemKey}
|
||||||
|
className="gl-voucher-number"
|
||||||
|
value={listItem[item.itemKey]}
|
||||||
|
onChange={(v) => {
|
||||||
|
listItem[item.itemKey] = v;
|
||||||
|
this.setState(
|
||||||
|
{
|
||||||
|
listItem
|
||||||
|
});
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</Col>
|
||||||
|
</Col>
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<Col {...voucherHeightConfig.halfCol} className="nomal-item">
|
<Col {...voucherHeightConfig.halfCol} className="nomal-item">
|
||||||
|
|
Loading…
Reference in New Issue