king
2025-04-21 f3d4db769ba9b51b799d981511a710fd443d0e08
src/menu/components/module/invoice/index.jsx
@@ -109,8 +109,8 @@
        ['小规模纳税人征收率', 'small_tax_rate', 'Decimal(18,2)'],
        ['是否享受优惠政策', 'free_tax_mark'],
        ['优惠政策类型', 'vat_special_management'],
        ['tax_item', 'tax_item'],
        ['tax_method', 'tax_method'],
        ['征税项目', 'tax_item'],
        ['计税方法', 'tax_method'],
      ]
      details.forEach((cell, index) => {
@@ -156,8 +156,12 @@
        ['税额', 'tax_amount', 'Decimal(18,2)'],
        ['是否享受优惠政策', 'free_tax_mark'],
        ['优惠政策类型', 'vat_special_management'],
        ['tax_item', 'tax_item'],
        ['tax_method', 'tax_method'],
        ['征税项目', 'tax_item'],
        ['计税方法', 'tax_method'],
        ['发票号码', 'invoice_no'],
        ['发票代码', 'invoice_code'],
        ['开票日期', 'invoice_date'],
        ['只读(true)', 'read_only'],
      ]
      cols.forEach((cell, index) => {
@@ -205,6 +209,8 @@
    card.$c_ds = card.wrap.datatype === 'dynamic'
    card.errors = checkComponent(card)
    delete card.$c_ds
    if (card.errors.length === 0) {
      if (card.buyer.setting.interType === 'system' && card.buyer.setting.execute !== 'false' && !card.buyer.setting.dataresource) {
@@ -300,6 +306,7 @@
        </Popover>
        <div className="inv-action">
          {card.wrap.backBtn === 'show' ? <Button className="mk-back"><LeftOutlined />返回</Button> : null}
          <Button className="mk-addinv">新增发票</Button>
          <Popover overlayClassName="mk-popover-control-wrap" mouseLeaveDelay={0.2} mouseEnterDelay={0.2} content={
            <div className="mk-popover-control">
              <EditOutlined style={{color: '#1890ff'}} onClick={() => this.setState({btn: card.billSaveBtn})} title="编辑"/>