king
2023-02-09 69905117d0252701c4227c4c37a2403cd8999ecc
src/tabviews/custom/components/module/voucher/voucherTable/index.jsx
@@ -51,8 +51,8 @@
    this.setState({
      subAccounts: fromJS(this.state.subAccounts).toJS().map(cell => {
        if (key === cell.field) {
          cell.value = option.props.value
          cell.name = option.props.name
          cell.value = option ? option.props.value : ''
          cell.name = option ? option.props.name : ''
        }
        return cell
      })
@@ -697,7 +697,9 @@
        extra = <PlusOutlined onClick={this.plusLine}/>
        if (editing) {
          let options = ['现金', '发票']
          let options = localStorage.getItem(window.GLOB.host + '_voucher_extract')
          options = options ? JSON.parse(options) : []
          children = <AutoComplete
            dataSource={options.map((cell, i) => <AutoComplete.Option value={cell} key={i}>
              {cell}