This commit is contained in:
PastSaid
2024-08-29 09:42:49 +08:00
parent fa480006a8
commit 5472714e30
66 changed files with 7417 additions and 243 deletions

View File

@@ -627,7 +627,7 @@ namespace HNJNSH910.GDHNJN.BusinessForm.BusinessPlugIn
dynamicFormViewService.SetItemValueByNumber("FCustomerID", dt.Rows[0]["客户代码"].ToString(), 0);
string text = base.Context.CurrentOrganizationInfo.Name.ToString();
string text2 = "";
text2 = ((!(text == "910华南洁能中山石化有限公司")) ? GetSalDept(text) : dt.Rows[0]["部门编码"].ToString());
text2 = (!(text == "910华南洁能中山石化有限公司") ? GetSalDept(text) : dt.Rows[0]["部门编码"].ToString());
dynamicFormViewService.SetItemValueByNumber("FSaleDeptID", text2, 0);
string text3 = "";
text3 = ((dt.Rows[0]["记账日期"].ToString().Length <= 5) ? GetBillDate(dt.Rows[0]["记账日期"].ToString()) : dt.Rows[0]["记账日期"].ToString());