kts-component-invoice-operate 3.2.221 → 3.2.223

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -200,7 +200,7 @@ export default decorator<IStakeholder, IStakeholder & FormComponentProps>(Form.c
200
200
  </Form.Item>
201
201
  </Col>
202
202
 
203
- <Col span={10+riskspanW} style={{ display: isExpand ? undefined : 'none' }} >
203
+ <Col span={10+leqispanW} style={{ display: isExpand ? undefined : 'none' }} >
204
204
  <Form.Item label='购买方地址' colon={false}>
205
205
  {getFieldDecorator('buyerAddress', {
206
206
  rules: getRules('buyerAddress', [{ max: 100, message: '购买方地址内容超长' }])
@@ -208,13 +208,22 @@ export default decorator<IStakeholder, IStakeholder & FormComponentProps>(Form.c
208
208
  </Form.Item>
209
209
  </Col>
210
210
 
211
- <Col span={10+riskspanW} style={{ display: isExpand ? undefined : 'none' }} >
211
+ <Col span={10+leqispanW} style={{ display: isExpand ? undefined : 'none' }} >
212
212
  <Form.Item label='电话' colon={false} className='telephone'>
213
213
  {getFieldDecorator('buyerPhone', {
214
214
  rules: getRules('buyerPhone', RULES.buyerTelPhone('购买方电话'))
215
215
  })(<MyInput readOnly={isReadOnly('buyerPhone')} placeholder="请输入电话" autoComplete="off" />)}
216
216
  </Form.Item>
217
217
  </Col>
218
+ {(props.leqi) &&
219
+ <Col span={4} style={{ display: isExpand ? undefined : 'none' }}>
220
+ <Form.Item colon={false}>
221
+ {getFieldDecorator('buyerAddressPhoneFlag', {
222
+ valuePropName: 'checked',
223
+ })(<Checkbox onChange={props?.invoiceMarkCallback} disabled={isReadOnly('buyerAddressPhoneFlag')} style={{whiteSpace:'nowrap'}}>是否展示</Checkbox>)}
224
+ </Form.Item>
225
+ </Col>
226
+ }
218
227
  <Col span={10 + leqispanW} style={{ display: isExpand ? undefined : 'none' }} >
219
228
  <Form.Item label='购买方开户银行' colon={false}>
220
229
  {getFieldDecorator('buyerBank', {
@@ -281,7 +290,7 @@ export default decorator<IStakeholder, IStakeholder & FormComponentProps>(Form.c
281
290
  </Form.Item>
282
291
  </Col>
283
292
 
284
- <Col span={10+riskspanW} style={{ display: isExpand ? undefined : 'none' }} >
293
+ <Col span={10+leqispanW} style={{ display: isExpand ? undefined : 'none' }} >
285
294
  <Form.Item label='销售方地址' colon={false}>
286
295
  {getFieldDecorator('sellerAddress', {
287
296
  rules: getRules('sellerAddress', [{ max: 300, message: '销售方地址内容超长' }])
@@ -289,13 +298,22 @@ export default decorator<IStakeholder, IStakeholder & FormComponentProps>(Form.c
289
298
  </Form.Item>
290
299
  </Col>
291
300
 
292
- <Col span={10+riskspanW} style={{ display: isExpand ? undefined : 'none' }} >
301
+ <Col span={10+leqispanW} style={{ display: isExpand ? undefined : 'none' }} >
293
302
  <Form.Item label='电话' colon={false} className='telephone' >
294
303
  {getFieldDecorator('sellerPhone', {
295
304
  rules: getRules('sellerPhone', RULES.sellerTelPhone('销售方电话'))
296
305
  })(<MyInput readOnly={isReadOnly('sellerPhone')} placeholder="请输入电话" autoComplete="off" />)}
297
306
  </Form.Item>
298
307
  </Col>
308
+ {(props.leqi) &&
309
+ <Col span={4} style={{ display: isExpand ? undefined : 'none' }}>
310
+ <Form.Item colon={false}>
311
+ {getFieldDecorator('sellerAddressPhoneFlag', {
312
+ valuePropName: 'checked',
313
+ })(<Checkbox onChange={props?.invoiceMarkCallback} disabled={isReadOnly('sellerAddressPhoneFlag')} style={{whiteSpace:'nowrap'}}>是否展示</Checkbox>)}
314
+ </Form.Item>
315
+ </Col>
316
+ }
299
317
  <Col span={10 + leqispanW} style={{ display: isExpand ? undefined : 'none' }} >
300
318
  <Form.Item label='销售方开户银行' colon={false}>
301
319
  {getFieldDecorator('sellerBank', {