From d292a334b5b6d80b8a7c3d19eeb40aed58a83e2d Mon Sep 17 00:00:00 2001 From: lihao Date: Tue, 22 Apr 2025 10:53:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=AD=E8=AF=81=E7=BB=B4=E6=8A=A4=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../exportHeightQueryModal/index.js | 3 +++ .../list/searchModal/searchModal.js | 24 +++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/src/gl/gl_voucher/voucher_list/exportHeightQueryModal/index.js b/src/gl/gl_voucher/voucher_list/exportHeightQueryModal/index.js index 24f63bf..b702b55 100644 --- a/src/gl/gl_voucher/voucher_list/exportHeightQueryModal/index.js +++ b/src/gl/gl_voucher/voucher_list/exportHeightQueryModal/index.js @@ -258,6 +258,9 @@ export default class ExportHeightQueryModal extends Component { // {itemName:'摘要',itemType:'refer',itemKey:'explanation', // 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'],/* 国际化处理: 凭证状态*/ itemType: 'select', diff --git a/src/gl/gl_voucher/voucher_list/list/searchModal/searchModal.js b/src/gl/gl_voucher/voucher_list/list/searchModal/searchModal.js index a54e9f1..f477f0f 100644 --- a/src/gl/gl_voucher/voucher_list/list/searchModal/searchModal.js +++ b/src/gl/gl_voucher/voucher_list/list/searchModal/searchModal.js @@ -23,6 +23,7 @@ const { NCSelect: Select, NCCheckbox: Checkbox, NCNumber, + NCTextArea, NCRangePicker: RangePicker, NCDiv,NCRangePickerClient } = base; @@ -168,6 +169,7 @@ export default class SearchModal extends Component { listItem.selectPretype='0'; listItem.preAble = false; listItem.dataAble = true; + listItem.freevalue1 = ''; //下拉初始化默认值 let defautItem = item.itemKey; switch (defautItem) { @@ -1339,6 +1341,28 @@ export default class SearchModal extends Component { ); + }else if(item.itemKey == 'freevalue1'){ + return ( + + + + + + { + listItem[item.itemKey] = v; + this.setState( + { + listItem + }); + }} + /> + + + ); } else { return (