From 0a932e56960fc8d39eb9cb04e16cac2249445062 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 16 一月 2025 16:35:56 +0800 Subject: [PATCH] 2025-01-16 --- src/menu/debug/index.jsx | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/menu/debug/index.jsx b/src/menu/debug/index.jsx index 9b33180..d398ea2 100644 --- a/src/menu/debug/index.jsx +++ b/src/menu/debug/index.jsx @@ -1236,7 +1236,7 @@ let hasvoucher = false // 鍑瘉-鏄剧ず鍒椾腑閫夊彇,蹇呴』閫夎 - if (verify.voucher && verify.voucher.enabled && btn.Ot !== 'requiredOnce') { + if (verify.voucher && verify.voucher.enabled && btn.Ot !== 'notRequired') { let _voucher = verify.voucher hasvoucher = true @@ -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 -- Gitblit v1.8.0