Exemplo n.º 1
0
        public void ShowBillLog()
        {
            SOHeaderEntity header = IParent.GetFocusedBill();

            if (header == null)
            {
                MsgBox.Warn("请选中要查看的行。");
            }
            else
            {
                FrmViewBillLog frmLog = new FrmViewBillLog(header.BillID, header.BillNO, "出库单据");
                frmLog.ShowDialog();
            }
        }
Exemplo n.º 2
0
        public void ViewLog(POBodyEntity focusedHeader)
        {
            if (focusedHeader == null)
            {
                MsgBox.Warn("请选中要查看的行。");
                return;
            }

            if (GetFocusedRowCount(ipo.GetFocusedHeaders()) > 1)
            {
                MsgBox.Warn("不支持多行操作,请选择其中一行。");
                return;
            }

            using (FrmViewBillLog frmLog = new FrmViewBillLog(focusedHeader.BillID, BaseCodeConstant.PO_STATE))
            {
                frmLog.ShowDialog();
            }
        }
Exemplo n.º 3
0
        public void ViewLog(AsnBodyEntity focusedHeader)
        {
            if (focusedHeader == null)
            {
                MsgBox.Warn("请选中要查看的行。");
                return;
            }

            if (GetFocusedRowCount(iasn.GetFocusedHeaders()) > 1)
            {
                MsgBox.Warn("不支持多行操作,请选择其中一行。");
                return;
            }

            using (FrmViewBillLog frmLog = new FrmViewBillLog(focusedHeader.BillID, focusedHeader.BillNO, "入库单据"))
            {
                frmLog.ShowDialog();
            }
        }