king
2025-01-16 325aa13d3b61d1c066f8fcab107003ef36713df3
src/menu/debug/index.jsx
@@ -1170,13 +1170,13 @@
  
          arr.push(_key)
          if (_key === 'bid') {
            _val = BID
            _val = `'${BID}'`
          } else {
            _val = `@${_field}`
          }
          if (_key === 'bid') {
            _val2 = `' + ${BID} + '`
            _val2 = BID
          } else {
            _val2 = `' + @${_field} + '`
          }
@@ -1244,7 +1244,7 @@
      _sql += `
        /* 创建凭证 */
        exec s_BVoucher_Create
          @Bill ='0',
          @Bill = @${_voucher.linkField},
          @BVoucherType ='${_voucher.BVoucherType}',
          @VoucherTypeOne ='${_voucher.VoucherTypeOne}',
          @VoucherTypeTwo ='${_voucher.VoucherTypeTwo}',
@@ -2069,6 +2069,11 @@
      { reg: /@datam@/ig, value: `''` },
    ]
    let process = this.props.config.process === 'true'
    if (process) {
      regs.push({ reg: /@works_flow_code@/ig, value: `'1949-10-01 15:00:00'` })
    }
    let sql = this.formatDataSource(item, regs)
    return sql