ruoxing.wang 1 day ago
parent
commit
a1e829124b
  1. 13
      AddMaterial/PlanScreenStyleSheet.css
  2. 10
      InjectionPC/FrmMain2408.cs

13
AddMaterial/PlanScreenStyleSheet.css

@ -5,7 +5,7 @@
} }
#TableLeft, #TableRight { #TableLeft, #TableRight {
width:925px; height:500px;border:hidden; width:925px; height:510px;border:hidden;
} }
.tdTitle { .tdTitle {
@ -14,6 +14,15 @@
.tdContent { .tdContent {
width:580px; height:48px; /*background-color:white;*/ text-align:center; font-family:黑体; font-size:60px; font-weight:500; width:580px; height:48px; /*background-color:white;*/ text-align:center; font-family:黑体; font-size:60px; font-weight:500;
} }
.tdTitle1 {
width:460px; height:170px; /*background-color: #B4EEB4;*/ text-align:center; font-family:黑体; font-size:72px; font-weight:500; background-color:#191970
}
.tdContent1 {
width:500px; height:100px; /*background-color:white;*/ text-align:center; font-family:黑体; font-size:60px; font-weight:500;
}
.tdContent2 {
width:460px; height:170px; /*background-color:white;*/ text-align:center; font-family:黑体; font-size:60px; font-weight:500;
}
#TableBottom, #TableSecondRow { #TableBottom, #TableSecondRow {
border-right:hidden; width:1900px; border-right:hidden; width:1900px;
} }
@ -40,7 +49,7 @@
font-weight: 900; font-weight: 900;
} }
#content5, #content6 { #content5, #content6,#content14, #content15, #content16 {
font-size: 140px; font-size: 140px;
font-weight: 900; font-weight: 900;

10
InjectionPC/FrmMain2408.cs

@ -3883,12 +3883,12 @@ namespace InjectionPC
private void btnHandPrintL_Click(object sender, EventArgs e) private void btnHandPrintL_Click(object sender, EventArgs e)
{ {
UnCompletePrintBox("手动打印箱码","left"); UnCompletePrintBox("手动打印箱码","left",true,0);
} }
private void btnHandPrintR_Click(object sender, EventArgs e) private void btnHandPrintR_Click(object sender, EventArgs e)
{ {
UnCompletePrintBox("手动打印箱码","right"); UnCompletePrintBox("手动打印箱码","right", true, 0);
} }
bool? lastCheckState = null; bool? lastCheckState = null;
@ -4023,7 +4023,7 @@ namespace InjectionPC
/// </summary> /// </summary>
/// <param name="lable"></param> /// <param name="lable"></param>
/// <returns></returns> /// <returns></returns>
bool UnCompletePrintBox(string lable,string leftOrRight,bool needConfirm = true) bool UnCompletePrintBox(string lable,string leftOrRight,bool needConfirm = true,int needInitComBoxSizeSelect = 1)
{ {
string boxCodeL = lbPackageCodeL.Text?.Trim(); string boxCodeL = lbPackageCodeL.Text?.Trim();
string boxCodeR = lbPackageCodeR.Text?.Trim(); string boxCodeR = lbPackageCodeR.Text?.Trim();
@ -4045,7 +4045,9 @@ namespace InjectionPC
CompleteBoxAndPrint(dt.Rows[0], "0", lbPackageCodeL, lbCurrentlQtyL, 1); CompleteBoxAndPrint(dt.Rows[0], "0", lbPackageCodeL, lbCurrentlQtyL, 1);
lbPackageCodeL.Text = ""; lbPackageCodeL.Text = "";
//comBoxSizeL.SelectedIndex = -1; if(needInitComBoxSizeSelect == 1)
comBoxSizeL.SelectedIndex = -1;
lbNeedQtyL.Text = "0"; lbNeedQtyL.Text = "0";
} }
} }

Loading…
Cancel
Save