Dim tb1 As WinForm.TextBox = e.Form.Controls("TextBox01")
Dim ary() As String =tb1.text.Split("/")
If ary.Length > 2 Then
Dim dr As DataRow = DataTables("装箱扫码_table1").find("物料编号=\'" & ary(2) & "\'")
If dr IsNot Nothing Then
dr("已扫数量") += 1
Tables("装箱扫码_table1").save()
End If
End If