xj qian
2024-09-24 58f02c7932fbe1ae47b63b600ff49a25f1ed2c8f
jrj/project/business/GDN3.maint.cpp
@@ -505,7 +505,7 @@
      //if(dw_base.GetItemString(1,L"GoodsSource") == L"")
      //{
      //   alert(L"请选择货物产地(货物产地:开票工厂金额最大的工厂所属地)L");
      //   alert(L"请选择货物产地(货物产地:开票工厂金额最大的工厂所属地)");
      //   return 0;
   //   }
@@ -869,7 +869,7 @@
               xstring ClassifyID = dw_custom.GetItemString(k, L"ClassifyID");
               xstring ClassifyName = dw_custom.GetItemString(k, L"CustName");
               xstring GroupNo = dw_custom.GetItemString(k, L"GroupNo");
               if (GroupNo != L"") ClassifyName += ClassifyName + L"(L" + GroupNo + L")L";
               if (GroupNo != L"") ClassifyName += ClassifyName + L"(" + GroupNo + L")";
               double LegalQty = dw_custom.GetItemDouble(k, L"LegalQty");
@@ -913,7 +913,7 @@
            xstring ClassifyID = dw_custom.GetItemString(k, L"ClassifyID");
            xstring ClassifyName = dw_custom.GetItemString(k, L"CustName");
            xstring GroupNo = dw_custom.GetItemString(k, L"GroupNo");
            if (GroupNo != L"") ClassifyName += ClassifyName + L"(L" + GroupNo + L")L";
            if (GroupNo != L"") ClassifyName += ClassifyName + L"(" + GroupNo + L")";
            double VQuantity = dw_custom.GetItemDouble(k, L"Quantity");
            double VAmount = dw_custom.GetItemDouble(k, L"Amount");
            double qty = 0.0;
@@ -2770,7 +2770,6 @@
      arg.AddArg(L"CustomerID", dw_base.GetItemString(1, L"CustomerID"));
      arg.AddArg(L"InvoiceNo", dw_base.GetItemString(1, L"InvoiceNo"));
      arg.AddArg(L"SONo", dw_base.GetItemString(1, L""));
      int p = arg;
      if (dw_base.GetItemString(1, L"CustomerID") == L"")
      {
         OpenWindow(L"dev:xpage[SelectItem.New.GDN.vx]", arg);
@@ -2784,7 +2783,7 @@
      }
      else
      {
         OpenWindow(L"dev:xpage[select.gdnitem.so.vx]", p);
         OpenWindow(L"dev:xpage[select.gdnitem.so.vx]", arg);
      }
      xstring str = arg.GetArgString(L"items");