| | |
| | | return 0; |
| | | } |
| | | } |
| | | |
| | | if (APType1 != L"001") |
| | | { |
| | | if (dw_base.GetItemString(1, L"APSource") == L"" ) { |
| | | alert(L"付款原因为空!"); |
| | | return 0; |
| | | } |
| | | if (dw_base.GetItemString(1, L"InvoiceNo") == L"") { |
| | | alert(L"请外运编号为空!"); |
| | | return 0; |
| | | } |
| | | } |
| | | x.Reset(); |
| | | dw_base.AcceptText(); |
| | | dw_base.DwUpdateAllTo(x); |
| | |
| | | if (t.selectSingleNode(L"ShortName"))dw_base.SetItemDisplayString(1, L"APSupplierID", t.selectSingleNode(L"ShortName").text()); |
| | | if (t.selectSingleNode(L"ShortName"))dw_base.SetItemDisplayString(1, L"SupplierID", t.selectSingleNode(L"ShortName").text()); |
| | | if (t.selectSingleNode(L"SONo"))dw_base.SetItemString(1, L"SONO", t.selectSingleNode(L"SONo").text()); |
| | | if (t.selectSingleNode(L"SOShortName"))dw_base.SetItemDisplayString(1, L"CustomerID", t.selectSingleNode(L"SOShortName").text()); |
| | | if (t.selectSingleNode(L"CustomerID"))dw_base.SetItemString(1, L"CustomerID", t.selectSingleNode(L"CustomerID").text()); |
| | | |
| | | |
| | | if (t.selectSingleNode(L"POAmount"))dw_base.SetItemString(1, L"POAmount", t.selectSingleNode(L"POAmount").text()); |
| | | } |