private void btnExcConfirmor_Click(object sender, EventArgs e) { if (lbBillStatus.Text != "等待收货") { MessageDialog.ShowPromptMessage("请重新确认单据状态"); return; } if (SubmitData()) { m_billMessageServer.PassFlowMessage(m_lnqManeuverBill.Bill_ID, string.Format("{0}号调运单已收货,请收货方入库", m_lnqManeuverBill.Bill_ID), BillFlowMessage_ReceivedUserType.用户, IntegrativeQuery.GetStorageOrStationPrincipal(m_lnqManeuverBill.InStorageID)); MessageDialog.ShowPromptMessage("收货成功"); this.Close(); } }
private void btnReceiving_Click(object sender, EventArgs e) { if (lbBillStatus.Text != "等待入库") { MessageDialog.ShowPromptMessage("请重新确认单据状态"); return; } if (SubmitData()) { MessageDialog.ShowPromptMessage("入库成功"); m_billMessageServer.EndFlowMessage(m_lnqManeuverBill.Bill_ID, string.Format("{0}号调运单收货方已入库", m_lnqManeuverBill.Bill_ID), null, IntegrativeQuery.GetStorageOrStationPrincipal(m_lnqManeuverBill.OutStorageID)); this.Close(); } }
private void btnAuditing_Click(object sender, EventArgs e) { if (lbBillStatus.Text != "等待主管审核") { MessageDialog.ShowPromptMessage("请重新确认单据状态"); return; } if (SubmitData()) { MessageDialog.ShowPromptMessage("审核成功"); m_billMessageServer.PassFlowMessage(m_lnqManeuverBill.Bill_ID, string.Format("{0}号调运单已审核,请发货方出库", m_lnqManeuverBill.Bill_ID), BillFlowMessage_ReceivedUserType.用户, IntegrativeQuery.GetStorageOrStationPrincipal(m_lnqManeuverBill.OutStorageID)); this.Close(); } }