2022-09-08 合同基本修改,焊接数据分析修改
This commit is contained in:
@@ -205,6 +205,31 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
txtBankAccount_Electrophore.Text = contract.BankAccount_Electrophore;
|
||||
txtLineNumber_Electrophore.Text = contract.LineNumber_Electrophore;
|
||||
txtRetentionmoney.Text = contract.Retentionmoney;
|
||||
txtContactUnitOfPartyA.Text = contract.ContactUnitOfPartyA;
|
||||
txtContactPersonOfPartyA.Text = contract.ContactPersonOfPartyA;
|
||||
txtContactPersonOfPartyB.Text = contract.ContactPersonOfPartyB;
|
||||
txtContactPersonPhoneOfPartyB.Text = contract.ContactPersonPhoneOfPartyB;
|
||||
txtContactPersonEmailOfPartyB.Text = contract.ContactPersonEmailOfPartyB;
|
||||
txtContractAmountExcludingTax.Text = contract.ContractAmountExcludingTax.ToString();
|
||||
txtPriceMethod.Text = contract.PriceMethod;
|
||||
txtSignedOnDate.SelectedDate = contract.SignedOnDate;
|
||||
txtContractStartDate.SelectedDate = contract.ContractStartDate;
|
||||
txtContractEndDate.SelectedDate = contract.ContractEndDate;
|
||||
txtPricingBasis.Text = contract.PricingBasis;
|
||||
|
||||
if (contract.Status != null)
|
||||
{
|
||||
DropStatus.SelectedValue = contract.Status.ToString();
|
||||
|
||||
}
|
||||
if (!string.IsNullOrEmpty(contract.SubcontractingMethod))
|
||||
{
|
||||
dropSubcontractingMethod.SelectedValue = contract.SubcontractingMethod;
|
||||
}
|
||||
if (contract.IsItACentralizedPurchaseSupplier != null)
|
||||
{
|
||||
dropIsItACentralizedPurchaseSupplier.SelectedValue = contract.IsItACentralizedPurchaseSupplier.ToString();
|
||||
}
|
||||
if (!string.IsNullOrEmpty(contract.Currency))
|
||||
{
|
||||
this.drpCurrency.SelectedValue = contract.Currency;
|
||||
@@ -480,6 +505,21 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
|
||||
newContract.BankAccount_Electrophore = this.txtBankAccount_Electrophore.Text;
|
||||
newContract.LineNumber_Electrophore = this.txtLineNumber_Electrophore.Text;
|
||||
newContract.Retentionmoney = this.txtRetentionmoney.Text;
|
||||
newContract.ContactUnitOfPartyA = txtContactUnitOfPartyA.Text;
|
||||
newContract.ContactPersonOfPartyA = txtContactPersonOfPartyA.Text;
|
||||
newContract.ContactPersonOfPartyB = txtContactPersonOfPartyB.Text;
|
||||
newContract.ContactPersonPhoneOfPartyB = txtContactPersonPhoneOfPartyB.Text;
|
||||
newContract.ContactPersonEmailOfPartyB = txtContactPersonEmailOfPartyB.Text;
|
||||
newContract.ContractAmountExcludingTax = Funs.GetNewDecimal(txtContractAmountExcludingTax.Text.Trim());
|
||||
newContract.PriceMethod = txtPriceMethod.Text;
|
||||
newContract.SignedOnDate = txtSignedOnDate.SelectedDate;
|
||||
newContract.ContractStartDate = txtContractStartDate.SelectedDate;
|
||||
newContract.ContractEndDate = txtContractEndDate.SelectedDate;
|
||||
newContract.PricingBasis = txtPricingBasis.Text;
|
||||
newContract.Status = Funs.GetNewInt(DropStatus.SelectedValue);
|
||||
newContract.SubcontractingMethod = dropSubcontractingMethod.SelectedValue;
|
||||
newContract.IsItACentralizedPurchaseSupplier = Funs.GetNewInt(dropIsItACentralizedPurchaseSupplier.SelectedValue);
|
||||
|
||||
if (this.drpCurrency.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
newContract.Currency = this.drpCurrency.SelectedValue;
|
||||
|
||||
Reference in New Issue
Block a user