|
@@ -72,6 +72,7 @@ const Ad: React.FC<Props> = (props) => {
|
|
|
campaignIdList?: any[]
|
|
|
statusList?:any[],
|
|
|
memoList?:any[]
|
|
|
+ remarkList?:any[]
|
|
|
}) => {
|
|
|
if (!params.adgroupName || params.adgroupName !== listAjax?.params[0]?.adgroupName) {
|
|
|
!params.adgroupName && delete params.adgroupName
|
|
@@ -411,6 +412,45 @@ const Ad: React.FC<Props> = (props) => {
|
|
|
}}
|
|
|
/>
|
|
|
</Col>
|
|
|
+ <Col>
|
|
|
+ <Input
|
|
|
+ placeholder='本地备注'
|
|
|
+ allowClear
|
|
|
+ style={{ width: 150 }}
|
|
|
+ onBlur={(e) => {
|
|
|
+ let value = e.target.value
|
|
|
+ let arr:any = []
|
|
|
+ if(value){
|
|
|
+ value = value.replace(/[,,\s]/g,',')
|
|
|
+ arr = value.split(',').filter(a=>a)
|
|
|
+ }
|
|
|
+ getList({ pageNum: 1, pageSize: 20, remarkList: arr })
|
|
|
+ }}
|
|
|
+ onKeyDownCapture={(e: any) => {
|
|
|
+ let key = e.key
|
|
|
+ if (key === 'Enter') {
|
|
|
+ let value = e.target.value
|
|
|
+ let arr:any = []
|
|
|
+ if(value){
|
|
|
+ value = value.replace(/[,,\s]/g,',')
|
|
|
+ arr = value.split(',').filter((a: any)=>a)
|
|
|
+ }
|
|
|
+ getList({ pageNum: 1, pageSize: 20, remarkList: arr })
|
|
|
+ }
|
|
|
+ }}
|
|
|
+ onChange={(e) => {
|
|
|
+ let value = e.target.value
|
|
|
+ if (!value) {
|
|
|
+ let arr:any = []
|
|
|
+ if(value){
|
|
|
+ value = value.replace(/[,,\s]/g,',')
|
|
|
+ arr = value.split(',').filter((a: any)=>a)
|
|
|
+ }
|
|
|
+ getList({ pageNum: 1, pageSize: 20, remarkList: arr })
|
|
|
+ }
|
|
|
+ }}
|
|
|
+ />
|
|
|
+ </Col>
|
|
|
</Row>
|
|
|
<Row gutter={[10, 10]} align='middle'>
|
|
|
<Col>
|