protected void btnEnter_Click(object sender, EventArgs e) { if (ddlLabelType.SelectedValue == "模具条码") { if (CheckMould() == "fail") { return; } CRUD.setWorkFlowDDL(ddlWorkflow, "Mould"); } else if (ddlLabelType.SelectedValue == "制造条码") { if (CheckProduct() == "fail") { return; } CRUD.setWorkFlowDDL(ddlWorkflow, "Film"); } //显示批次流程ID ddlWorkflow.ClearSelection(); ddlWorkflow.Items.FindByValue(ViewState["FlowID"].ToString()).Selected = true; //加载流程站点 ChangeLot.QueryWorkSite(ddlStation, ddlWorkflow.SelectedValue); }
protected void ddlWorkflow_TextChanged(object sender, EventArgs e) { ChangeLot.QueryWorkSite(ddlStation, ddlWorkflow.SelectedValue); }