| | |
| | | _type = "工序G003:水检不良描述"; |
| | | if (txt_gx.Text.Trim() == fGxZhongJian) |
| | | _type = "工序G004:终检不良描述"; |
| | | UcDictionarySelect frm = new UcDictionarySelect(_type, " a.s_type='" + _type + "' and pid<>'00000000-0000-0000-0000-000000000000'", _msg); |
| | | string condition = $" pid<>'00000000-0000-0000-0000-000000000000' " ; |
| | | if(txt_orgId.Text.Trim() == "104554") // 电器 |
| | | { |
| | | condition += $" and a.s_type = '{_type}' "; |
| | | } |
| | | if (txt_orgId.Text.Trim() == "104540") // 魔凡 |
| | | { |
| | | condition += $" and a.s_type = '魔凡{_type}' "; |
| | | } |
| | | |
| | | UcDictionarySelect frm = new UcDictionarySelect(_type, condition, _msg); |
| | | frm.UpdateParent += (ss, ee) => |
| | | { |
| | | System.Text.StringBuilder stringBuilder = new System.Text.StringBuilder(); |