From f6fedeea1263f31d28cb4413ee26672c88ba5e56 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期四, 25 七月 2024 10:25:10 +0800
Subject: [PATCH] update
---
jrj/project/business/VATNotify/list.vatinvoice.cpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/jrj/project/business/VATNotify/list.vatinvoice.cpp b/jrj/project/business/VATNotify/list.vatinvoice.cpp
index 2051d98..efbd86c 100644
--- a/jrj/project/business/VATNotify/list.vatinvoice.cpp
+++ b/jrj/project/business/VATNotify/list.vatinvoice.cpp
@@ -98,7 +98,7 @@
int h = xcombobox::GetCurSel(evt->command.hCtrl);
if(h > -1)
{
- xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h);
+ xstring txt = (string)xcombobox::GetLBText(evt->command.hCtrl, h);
if(txt==L"增值税票")
{
dw_list.openUrl(L"/sale/view/VATNotify/template/VATInvoice/list");
@@ -140,7 +140,9 @@
if(xcontrol(GetControl(L"cbx_type")).GetText() ==L"未开增值税票" ) return 1;
int row = dw_list.GetRow();
xaserverarg arg;
- xstring VatInvoiceID = dw_list.GetItemString(row,L"VATInvoiceID");
+ xstring VATInvoiceID = dw_list.GetItemString(row,L"VATInvoiceID");
+ arg.AddArg(L"VATInvoiceID", VATInvoiceID);
+
OpenWindow(L"dev:xpage[maint.vatinvoice.vx]", arg);
return 1;
}
@@ -201,7 +203,7 @@
int h = xcombobox::GetCurSel(evt->command.hCtrl);
if(h > -1)
{
- xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h);
+ xstring txt = (string)xcombobox::GetLBText(evt->command.hCtrl, h);
if(txt==L"出运日期")
{
--
Gitblit v1.9.3