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