From 325aa13d3b61d1c066f8fcab107003ef36713df3 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 16 一月 2025 10:20:09 +0800
Subject: [PATCH] 2025-01-16

---
 src/menu/debug/index.jsx |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/menu/debug/index.jsx b/src/menu/debug/index.jsx
index aa75c46..2df2119 100644
--- a/src/menu/debug/index.jsx
+++ b/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

--
Gitblit v1.8.0