提交说明10/9
This commit is contained in:
+144
-3
@@ -93,7 +93,7 @@ namespace GThinking.N_XLXSBJ
|
||||
# region 给调价因子控件设只读性
|
||||
if (ControlState == TControlState.ctsInsert || ControlState == TControlState.ctsCopy || ControlState == TControlState.ctsEdit)
|
||||
{
|
||||
for (int i = 1; i <= 10; i++)
|
||||
for (int i = 1; i <= 20; i++)
|
||||
{
|
||||
gtNumTextBox txtTJYZ = (gtNumTextBox)Master.ContentFormControl.FindControl("txt" + "TJYZ" + i);
|
||||
|
||||
@@ -153,6 +153,56 @@ namespace GThinking.N_XLXSBJ
|
||||
txtTJYZ10.DecimalPlaces = GetXSWS("JZ10");
|
||||
txtTJYZ10.Enabled = true;
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ11|"))
|
||||
{
|
||||
txtTJYZ11.DecimalPlaces = GetXSWS("JZ11");
|
||||
txtTJYZ11.Enabled = true;
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ12|"))
|
||||
{
|
||||
txtTJYZ12.DecimalPlaces = GetXSWS("JZ12");
|
||||
txtTJYZ12.Enabled = true;
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ13|"))
|
||||
{
|
||||
txtTJYZ13.DecimalPlaces = GetXSWS("JZ13");
|
||||
txtTJYZ13.Enabled = true;
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ14|"))
|
||||
{
|
||||
txtTJYZ14.DecimalPlaces = GetXSWS("JZ14");
|
||||
txtTJYZ14.Enabled = true;
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ15|"))
|
||||
{
|
||||
txtTJYZ15.DecimalPlaces = GetXSWS("JZ15");
|
||||
txtTJYZ15.Enabled = true;
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ16|"))
|
||||
{
|
||||
txtTJYZ16.DecimalPlaces = GetXSWS("JZ16");
|
||||
txtTJYZ16.Enabled = true;
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ17|"))
|
||||
{
|
||||
txtTJYZ17.DecimalPlaces = GetXSWS("JZ17");
|
||||
txtTJYZ17.Enabled = true;
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ18|"))
|
||||
{
|
||||
txtTJYZ18.DecimalPlaces = GetXSWS("JZ18");
|
||||
txtTJYZ18.Enabled = true;
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ19|"))
|
||||
{
|
||||
txtTJYZ19.DecimalPlaces = GetXSWS("JZ19");
|
||||
txtTJYZ19.Enabled = true;
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ20|"))
|
||||
{
|
||||
txtTJYZ20.DecimalPlaces = GetXSWS("JZ20");
|
||||
txtTJYZ20.Enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@@ -263,6 +313,56 @@ namespace GThinking.N_XLXSBJ
|
||||
txtTJYZ10.DecimalPlaces = GetXSWS(sYZID);
|
||||
txtTJYZ10.Value = dYZZ;
|
||||
}
|
||||
else if (sYZID.Equals("JZ11"))
|
||||
{
|
||||
txtTJYZ11.DecimalPlaces = GetXSWS(sYZID);
|
||||
txtTJYZ11.Value = dYZZ;
|
||||
}
|
||||
else if (sYZID.Equals("JZ12"))
|
||||
{
|
||||
txtTJYZ12.DecimalPlaces = GetXSWS(sYZID);
|
||||
txtTJYZ12.Value = dYZZ;
|
||||
}
|
||||
else if (sYZID.Equals("JZ13"))
|
||||
{
|
||||
txtTJYZ13.DecimalPlaces = GetXSWS(sYZID);
|
||||
txtTJYZ13.Value = dYZZ;
|
||||
}
|
||||
else if (sYZID.Equals("JZ14"))
|
||||
{
|
||||
txtTJYZ14.DecimalPlaces = GetXSWS(sYZID);
|
||||
txtTJYZ14.Value = dYZZ;
|
||||
}
|
||||
else if (sYZID.Equals("JZ15"))
|
||||
{
|
||||
txtTJYZ15.DecimalPlaces = GetXSWS(sYZID);
|
||||
txtTJYZ15.Value = dYZZ;
|
||||
}
|
||||
else if (sYZID.Equals("JZ16"))
|
||||
{
|
||||
txtTJYZ16.DecimalPlaces = GetXSWS(sYZID);
|
||||
txtTJYZ16.Value = dYZZ;
|
||||
}
|
||||
else if (sYZID.Equals("JZ17"))
|
||||
{
|
||||
txtTJYZ17.DecimalPlaces = GetXSWS(sYZID);
|
||||
txtTJYZ17.Value = dYZZ;
|
||||
}
|
||||
else if (sYZID.Equals("JZ18"))
|
||||
{
|
||||
txtTJYZ18.DecimalPlaces = GetXSWS(sYZID);
|
||||
txtTJYZ18.Value = dYZZ;
|
||||
}
|
||||
else if (sYZID.Equals("JZ19"))
|
||||
{
|
||||
txtTJYZ19.DecimalPlaces = GetXSWS(sYZID);
|
||||
txtTJYZ19.Value = dYZZ;
|
||||
}
|
||||
else if (sYZID.Equals("JZ20"))
|
||||
{
|
||||
txtTJYZ20.DecimalPlaces = GetXSWS(sYZID);
|
||||
txtTJYZ20.Value = dYZZ;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
@@ -538,6 +638,47 @@ namespace GThinking.N_XLXSBJ
|
||||
{
|
||||
lblTJYZ10.Text = sTJYZList[i].Replace("JZ10|", "") + ":";
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ11|"))
|
||||
{
|
||||
lblTJYZ11.Text = sTJYZList[i].Replace("JZ11|", "") + ":";
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ12|"))
|
||||
{
|
||||
lblTJYZ12.Text = sTJYZList[i].Replace("JZ12|", "") + ":";
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ13|"))
|
||||
{
|
||||
lblTJYZ13.Text = sTJYZList[i].Replace("JZ13|", "") + ":";
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ14|"))
|
||||
{
|
||||
lblTJYZ14.Text = sTJYZList[i].Replace("JZ14|", "") + ":";
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ15|"))
|
||||
{
|
||||
lblTJYZ15.Text = sTJYZList[i].Replace("JZ15|", "") + ":";
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ16|"))
|
||||
{
|
||||
lblTJYZ16.Text = sTJYZList[i].Replace("JZ16|", "") + ":";
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ17|"))
|
||||
{
|
||||
lblTJYZ17.Text = sTJYZList[i].Replace("JZ17|", "") + ":";
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ18|"))
|
||||
{
|
||||
lblTJYZ18.Text = sTJYZList[i].Replace("JZ18|", "") + ":";
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ19|"))
|
||||
{
|
||||
lblTJYZ19.Text = sTJYZList[i].Replace("JZ19|", "") + ":";
|
||||
}
|
||||
else if (sTJYZList[i].StartsWith("JZ20|"))
|
||||
{
|
||||
lblTJYZ20.Text = sTJYZList[i].Replace("JZ20|", "") + ":";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -659,7 +800,7 @@ namespace GThinking.N_XLXSBJ
|
||||
txt2.DecimalPlaces = 5;
|
||||
}
|
||||
else
|
||||
txt2.DecimalPlaces = 2;
|
||||
txt2.DecimalPlaces = 5;
|
||||
//if (bNeedMRZ)
|
||||
// txt2.Value = dMRZ2;
|
||||
txt2.Attributes.Add("NAME", sYZID2);
|
||||
@@ -713,7 +854,7 @@ namespace GThinking.N_XLXSBJ
|
||||
txt.DecimalPlaces = 5;
|
||||
}
|
||||
else
|
||||
txt.DecimalPlaces = 2;
|
||||
txt.DecimalPlaces = 5;
|
||||
//if (bNeedMRZ)
|
||||
// txt.Value = dMRZ;
|
||||
txt.Attributes.Add("NAME", sYZID);
|
||||
|
||||
Reference in New Issue
Block a user