From 5d93e3a99d4cb096e8117f52e68cad8ff99286f8 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期二, 28 七月 2026 13:57:28 +0800
Subject: [PATCH] update

---
 jrj/project/business/AP/maint.ap.cpp |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/jrj/project/business/AP/maint.ap.cpp b/jrj/project/business/AP/maint.ap.cpp
index ef6c275..6426ec1 100644
--- a/jrj/project/business/AP/maint.ap.cpp
+++ b/jrj/project/business/AP/maint.ap.cpp
@@ -96,13 +96,12 @@
 				}
 			}
 
-			
+			x.Reset();
 			dw_base.AcceptText();
 			dw_base.DwUpdateAllTo(x);
 			xaserverarg arg;
 			
 			arg.AddArg(L"content", x.xml());
-			alert(x.xml());
 			if (xurl::get(L"/sale/data/AP/update", arg.GetString(), x) != 1)
 			{
 				xstring error = x.text();
@@ -254,6 +253,7 @@
 			SetArg();
 			APID = L"";
 			APType = L"";
+			xstring positionname = publiccode::GetUser().positionname;
 			if (GetWinParam())
 			{
 				xaserverarg arg=GetArg();
@@ -267,7 +267,7 @@
 			dw_base.SetRowSelectorWidth(0);
 			dw_base.SetHScrollState(false);
 			dw_base.SetVScrollState(false);
-
+			
 			OnAttachEvent();
 
 			if (APID != L"")
@@ -278,7 +278,11 @@
 			{
 				xstring sdate = publiccode::GetCurrentDate();
 				dw_base.SetItemString(1, L"APDate", sdate);
-				dw_base.SetItemString(1, L"PayedDate", sdate);
+				if (positionname.find(L"跟单") < 0)
+				{
+					dw_base.SetItemString(1, L"PayedDate", sdate);
+
+				}
 				dw_base.SetItemString(1, L"CreateDate", sdate);
 				xstring suserid = publiccode::GetUser().id;
 				xstring susername = publiccode::GetUser().name;

--
Gitblit v1.9.3