/webccr/src/com/emis/caesar/senao/event/button/TBtnPreOrder.java
https://bitbucket.org/sanliou/synccr · Java · 525 lines · 434 code · 39 blank · 52 comment · 84 complexity · 21ec033f2c8d9c8918c6e34e90054c61 MD5 · raw file
- package com.emis.caesar.senao.event.button;
- import com.emis.caesar.senao.data.TEntryEdit;
- import com.emis.caesar.senao.data.TEntryEdits;
- import com.emis.caesar.senao.event.TButtonEventContext;
- import com.emis.caesar.senao.event.TForceAssignSalesEventContext;
- import com.emis.caesar.senao.unit.TCcrConst;
- import com.emis.caesar.senao.unit.sale.TSaleItem;
- import com.emis.caesar.senao.util.EDCUtil;
- import com.emis.caesarui.webccr.webccr;
- import com.emis.util.emisUtil;
- import com.vaadin.ui.UI;
- import java.util.ArrayList;
- import java.util.HashMap;
- /**
- * 預購取件 (目前設定一個預購單號,只會有一種型態(PRE_ORDER_REF))
- * 兩種情況
- * 1.入帳商品被判斷為預購品時, 需輸入預購單號. 取得預購資料判斷
- * 2.由功能鍵輸入預購單號, 帶入預購商品
- */
- public class TBtnPreOrder extends TForceAssignSalesEventContext {
- TEntryEdits FoEntryEdits = null;
- ArrayList<HashMap> listSaleG = null;// 預購單資料
- ArrayList<HashMap> listENT = null; // 企客案資料
- private String sCM_PRE_ORDNO = ""; // 預購單號 SALE_G.CM_PRE_ORDNO / EC_PREORDER_PRICE_INFO.EC_PREORDER_NO
- private String sPRE_ORDER_REF = ""; // 預約購機型態
- boolean isCM_PRICE = false; // CM_PRICE 價格由預購單拋轉(Y/N)
- boolean isOpenPromo = false; // 是否搭配促案 (非欄位,isOpenPromo()判斷)
- private boolean isPLUinto = false; // 是否為PLU執行
- private TBtnPLU btnPLU = null; // PLU傳過來原本的PLU
- private String PLU_P_NO = ""; // PLU傳過來P_NO
- private String sP_NO = ""; // 新增品項
- private String sSL_KEY = ""; // SALE_G.SL_KEY
- private String sRECNO = ""; // SALE_G.RECNO
- private int iNowIndex = 0; // 目前執行listSaleG的index
- private int iNowIndexENT = 0; // 目前執行listENT的index
- private boolean isDOA = false; // 是否為福利品
- private boolean isENT = false; // 是否為企客案
- private String sPAY_NO = TCcrConst.PAY_UNKNOW; // 企客案 付款類型: 現金、信用卡 (TCcrConst.PAY_CASH / TCcrConst.PAY_CREDIT)
- private String sPAY_PRICE = "0"; // 企客案 付款金額
- private String sINSP_KIND = ""; // 分期數
- private String sBindKey = ""; // 綁定值
- //
- public boolean runEventMethod(String sMethod_) {
- if (sMethod_.equals("clickOK")) {
- return clickOK();
- } else if (sMethod_.equals("clickCancel")) {
- return clickCancel();
- } else if (sMethod_.equals("runGeneralPLU")) {
- return runGeneralPLU(); // 直接走一般PLU流程
- } else if (sMethod_.equals("PLU_OK")) {
- return PLU_OK();
- } else if (sMethod_.equals("PLU_OR_OK")) {
- return PLU_OR_OK();
- } else if (sMethod_.equals("PLU_OK_END")) {
- return PLU_OK_END();
- } else if (sMethod_.equals("PLU_ERR")) {
- return PLU_ERR();
- } else if (sMethod_.equals("ENTcancel")) {
- return clickCancel();
- } else if (sMethod_.equals("ENTok")) {
- return ENTok();
- } else if (sMethod_.equals("PLU_ENT_OK")) {
- return PLU_ENT_OK();
- } else if (sMethod_.equals("PAY_OK_MSG")) {
- return PAY_OK_MSG();
- } else if (sMethod_.equals("PAY_ERROR_MSG")) {
- return PAY_ERROR_MSG();
- } else if (sMethod_.equals("PAY_ERROR")) {
- return PAY_ERROR();
- }
- else {
- return super.runEventMethod(sMethod_);
- }
- }
- protected boolean clickOK() {
- // 取得 預購取件 資料
- sCM_PRE_ORDNO = FoEntryEdits.getEdit(0).getText(); // 預購單號
- if (FoSale != null) {
- if (FoSale.isPreOrder(sCM_PRE_ORDNO)) {
- FsErrMsg = "預購單號不可重複輸入!!";
- return eventOver(false);
- }
- }
- listSaleG = FoCcr.getDbData.getPreOrder(FoCcr.getStore().FLDxS_NO, sCM_PRE_ORDNO, PLU_P_NO);
- if (listSaleG == null || listSaleG.isEmpty()) {
- if (isPLUinto) {
- // PLU商品進來,無預購資料,提示”非預購機,按一般商品入帳”.後續則直接走一般PLU流程
- FoCcr.UInotify.swErrMsgWithBtnEvent("非預購機,按一般商品入帳", this, "runGeneralPLU");
- return handover();
- }
- FsErrMsg = "無預購資料";
- return eventOver(false);
- }
- HashMap<String,String> mapSaleG;
- for (int i = 0; i < listSaleG.size(); i++) {
- mapSaleG = listSaleG.get(i);
- // 企客案(ENT)
- if ((TCcrConst.PREORDER_ENT).equals(mapSaleG.get("PRE_ORDER_REF"))) {
- isENT = true;
- } else if ((TCcrConst.PREORDER_DOA).equals(mapSaleG.get("PRE_ORDER_REF"))) {
- isDOA = true;
- }
- }
- /*
- PLU進入之商品 (”門號申辦”及”領機”之帶入商品)
- SALE_G.PRE_ORDER_REF='DOA'時,
- 不適用於由”門號申辦”及”領機”之帶入商品.
- 提示”福利品僅能空機銷售, 無法搭配門號銷售”
- 繼續跑PLU
- */
- if (isPLUinto) {
- if (isDOA) {
- if ((TSaleItem.PRJ_SALE).equals(btnPLU.ACT_CODE) || (TSaleItem.PRJ_RECEIVE_PHONE).equals(btnPLU.ACT_CODE)) {
- FoCcr.UInotify.swErrMsgWithBtnEvent("該商品為福利品,無法搭配門號銷售或領機", this, "runGeneralPLU");
- return handover();
- }
- }
- }
- // 給入綁定值
- sBindKey = (FoSale.getSaleItemCount() + 1) + "";
- // 企客案(ENT) 判斷
- if (isENT) {
- // 檢查是否有輸入業務員
- if (FoCcr.getUser() == null) {
- FsErrMsg = "請輸入業務員";
- return eventOver(false);
- } else {
- if (emisUtil.isEmpty(FoCcr.getUser().getFLDxST_KEY())) {
- FsErrMsg = "請輸入業務員";
- return eventOver(false);
- }
- }
- if (FoSale.getRealSaleItemCount() != 0) {
- FsErrMsg = "已有交易品項不可使用本功能之企客案";
- return eventOver(false);
- }
- // 檢查是否有輸入經銷商代碼
- if (emisUtil.isEmpty(FoSale.getFsCS_NO())) {
- FsErrMsg = "此為企客案,請先輸入經銷商代碼";
- return eventOver(false);
- }
- return doENT();
- }
- return execute();
- }
- protected boolean clickCancel() {
- if (isPLUinto) {
- return runGeneralPLU();
- }
- FsErrMsg = TCcrConst.MSG_HIDE;
- return eventOver(false);
- }
- protected boolean runGeneralPLU() {
- // 繼續執行原本的PLU
- TBtnPLU _oEvent = btnPLU;
- _oEvent.setPreOrderRtn(true); // 設定不執行預購取件,返回執行原本的PLU
- return _oEvent.validate();
- }
- protected boolean PLU_OK() {
- iNowIndex ++;
- return execute();
- }
- protected boolean PLU_OR_OK() {
- iNowIndex ++;
- PLU_P_NO = ""; // 清空PLU傳過來的商品品號
- return execute();
- }
- // 最後一筆PLU,結束這個事件
- protected boolean PLU_OK_END() {
- return finalProcedure();
- }
- protected boolean PLU_ERR() {
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, sP_NO + "品項新增失敗!");
- FsErrMsg = TCcrConst.MSG_HIDE;
- return eventOver(false);
- }
- protected boolean ENTok() {
- if (FoEntryEdits != null) {
- if (FoEntryEdits.getEdit(0) != null) {
- sPAY_NO = FoEntryEdits.getEdit(0).getText();
- sPAY_PRICE = FoEntryEdits.getEdit(1).getText();
- sINSP_KIND = FoEntryEdits.getEdit(2).getText();
- // 將SALE_G.SL_KEY和RECNO 寫入listENT
- saleGmatchENT();
- doListENT();
- }
- }
- FsErrMsg = TCcrConst.MSG_HIDE;
- return eventOver(false);
- }
- protected boolean PLU_ENT_OK() {
- iNowIndexENT ++;
- return doListENT();
- }
- protected boolean PAY_OK_MSG() {
- isENT = false; // 信用卡付完款,不會再跑eventOver中的付款
- FoCcr.UInotify.swMessage("交易完成!");
- return eventOver(true);
- }
- protected boolean PAY_ERROR_MSG() {
- // 主要是信用付款會失敗(取消用信用卡交易)
- FoCcr.UInotify.swErrMsgWithBtnEvent("付款失敗,請重新交易!", this, "PAY_ERROR");
- return eventOver(false);
- }
- protected boolean PAY_ERROR() {
- // 取消交易
- TBtnCancelSale _oCancelSaleEvent = new TBtnCancelSale(false);
- _oCancelSaleEvent.go();
- return eventOver(false);
- }
- // 檢核條件
- protected boolean verifyPrecondition() {
- if (!forceAssignSales()) {
- FsErrMsg = TCcrConst.MSG_HIDE;
- return eventOver(false);
- }
- return entryData();
- }
- public boolean entryData() {
- FoEntryEdits = new TEntryEdits("預購取件");
- FoEntryEdits.addEdit(new TEntryEdit("預購單號", true, false)); //不限定英數
- FoCcr.UInotify.swEntryEdits(FoEntryEdits, this, "clickOK", "clickCancel");
- return handover();
- }
- public boolean execute() {
- /*
- 當 非企客案 PRE_ORDER_REF != 'ENT'
- 執行listSaleG內的全部商品,跑PLU
- 執行PLU成功==>PLU_OK()
- ==> 1.更新iNowIndex,決定目前的商品
- 2.execute()
- 如果為最後一筆資料 iNowIndex == (listSaleG.size()-1)
- ==> PLU_OK_END() 1.finalProcedure()
- */
- doListG();
- return handover();
- }
- protected boolean doListG() {
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "===第" + iNowIndex + "筆===");
- if (iNowIndex < listSaleG.size()) {
- HashMap<String,String> mapSaleG;
- String sCM_PRICE = "";
- String sCM_PAYFOR = "";
- int iSL_PRICE = -1;
- String sMethodOK = "PLU_OK";
- // 最後一筆
- if (iNowIndex == (listSaleG.size()-1)) {
- sMethodOK = "PLU_OK_END";
- }
- mapSaleG = listSaleG.get(iNowIndex);
- sP_NO = mapSaleG.get("P_NO");
- sPRE_ORDER_REF = mapSaleG.get("PRE_ORDER_REF");
- sSL_KEY = mapSaleG.get("SL_KEY");
- sRECNO = mapSaleG.get("RECNO");
- sCM_PRICE = mapSaleG.get("CM_PRICE");
- sCM_PAYFOR = mapSaleG.get("CM_PAYFOR");
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "SL_KEY:" + sSL_KEY);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "RECNO:" + sRECNO);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "P_NO:" + sP_NO);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "PRE_ORDER_REF:" + sPRE_ORDER_REF);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "CM_PRICE:" + sCM_PRICE);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "CM_PAYFOR:" + sCM_PAYFOR);
- // N==>取VPLU_WEBCCR.P_PRICE;Y==>取SALE_G.SL_PRICE
- isCM_PRICE = "Y".equals(sCM_PRICE) ? true : false;
- if (isCM_PRICE) {
- iSL_PRICE = emisUtil.parseInt(mapSaleG.get("SL_PRICE"));
- }
- // C (S4預購、iPhone預購)搭配促案 可能不只有C而已 反向判斷
- if (!TCcrConst.PREORDER_PVON.equals(sPRE_ORDER_REF) &&
- !TCcrConst.PREORDER_DOA.equals(sPRE_ORDER_REF) &&
- !TCcrConst.PREORDER_OLT.equals(sPRE_ORDER_REF) &&
- !TCcrConst.PREORDER_GEN.equals(sPRE_ORDER_REF) &&
- !TCcrConst.PREORDER_ENT.equals(sPRE_ORDER_REF)) {
- isOpenPromo = true;
- } else {
- isOpenPromo = false;
- }
- runPLU(iSL_PRICE, sMethodOK);
- }
- return handover();
- }
- protected boolean runPLU(int iPrice, String sMethodOK) {
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "===runPLU===");
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "PLU_P_NO:" + PLU_P_NO);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "P_NO:" + sP_NO);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "isOpenPromo:" + isOpenPromo);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "isCM_PRICE:" + isCM_PRICE);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "iPrice:" + iPrice);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "sMethodOK:" + sMethodOK);
- TBtnPLU _oEvent = new TBtnPLU();
- // 如果由PLU入之商品和預購取件之商品相同,使用原本之PLU (”門號申辦”及”領機”使用)
- if (PLU_P_NO.equals(sP_NO)) {
- sMethodOK = "PLU_OR_OK";
- _oEvent = btnPLU;
- }
- _oEvent.setOpenPromo(isOpenPromo);
- _oEvent.setFsNo(sP_NO);
- if (isCM_PRICE) {
- _oEvent.setFsAmt(iPrice);
- }
- _oEvent.setFbChangePrice(isCM_PRICE); // 設定為固定傳入價格
- _oEvent.setPreOrder(true);
- _oEvent.setCM_PRE_ORDNO(sCM_PRE_ORDNO);
- _oEvent.setPreOrderSL_KEY(sSL_KEY);
- _oEvent.setPreOrderRECNO(sRECNO);
- _oEvent.setFsServiceBindKey(sBindKey); // 一併商品同預購單號之商品 以RECNO為主
- _oEvent.setOtherEvent_(this);
- _oEvent.setOtherMethodOK_(sMethodOK);
- _oEvent.setOtherMethodCancel_("PLU_ERR");
- if (PLU_P_NO.equals(sP_NO)) {
- return _oEvent.validate();
- }
- return _oEvent.go();
- }
- protected boolean doENT() {
- // 企客案(信義企客、等等)
- listENT = FoCcr.getDbData.getPreOrderCsNO(FoCcr.getStore().FLDxS_NO, sCM_PRE_ORDNO);
- if (!listENT.isEmpty()) {
- // 切換狀態
- FiNextState = TCcrConst.CPS_WAIT_PAY;
- FoEntryEdits = new TEntryEdits("");
- FoCcr.UInotify.swPreOrderCsNo(FoEntryEdits, this, listENT, "ENTok", "ENTcancel");
- return handover();
- } else {
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "---查無企客案資料---");
- FsErrMsg = "查無企客案資料!";
- return eventOver(false);
- }
- }
- protected boolean saleGmatchENT() {
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "===saleGmatchENT===");
- HashMap<String,String> mapSaleG;
- HashMap<String,String> mapENT;
- String sP_NO_SALE_G = "";
- String sSL_KEY_SALE_G = "";
- String sRECNO_SALE_G = "";
- String sP_NO_ENT = "";
- String sSL_KEY_ENT = "";
- String sRECNO_ENT = "";
- for (int i = 0; i < listSaleG.size(); i++) {
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "---i=" + i + "---");
- mapSaleG = listSaleG.get(i);
- sP_NO_SALE_G = mapSaleG.get("P_NO");
- sSL_KEY_SALE_G = mapSaleG.get("SL_KEY");
- sRECNO_SALE_G = mapSaleG.get("RECNO");
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "sP_NO_SALE_G = " + sP_NO_SALE_G);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "sSL_KEY_SALE_G = " + sSL_KEY_SALE_G);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "sRECNO_SALE_G = " + sRECNO_SALE_G);
- for (int j = 0; j < listENT.size(); j++) {
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "-j=" + j + "-");
- mapENT = listENT.get(j);
- sP_NO_ENT = mapENT.get("P_NO");
- sSL_KEY_ENT = mapENT.get("SL_KEY");
- sRECNO_ENT = mapENT.get("RECNO");
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "sP_NO_ENT = " + sP_NO_ENT);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "sSL_KEY_ENT = " + sSL_KEY_ENT);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "sRECNO_ENT = " + sRECNO_ENT);
- // 如果此筆mapENT的SL_KEY和RECNO為空,檢查P_NO是否相同,相同,就將mapSaleG的SL_KEY和RECNO塞到此筆mapENT
- if (emisUtil.isEmpty(sSL_KEY_ENT) && emisUtil.isEmpty(sRECNO_ENT)) {
- if (sP_NO_SALE_G.equals(sP_NO_ENT)) {
- mapENT.put("SL_KEY", sSL_KEY_SALE_G);
- mapENT.put("RECNO", sRECNO_SALE_G);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "--P_NO相等--");
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "SL_KEY = " + mapENT.get("SL_KEY"));
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "RECNO = " + mapENT.get("RECNO"));
- break;
- }
- }
- }
- }
- return handover();
- }
- protected boolean doListENT() {
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "===第" + iNowIndexENT + "筆===");
- if (iNowIndexENT < listENT.size()) {
- HashMap<String,String> mapENT;
- String sCASH_PRICE = ""; // 現金金額
- String sCREDIT_PRICE = "";// 信用卡金額
- String sINSP_KIND = ""; // 分期數
- int iSL_PRICE = -1;
- String sMethodOK = "PLU_ENT_OK";
- // 最後一筆
- if (iNowIndexENT == (listENT.size()-1)) {
- sMethodOK = "PLU_OK_END";
- }
- mapENT = listENT.get(iNowIndexENT);
- sP_NO = mapENT.get("P_NO");
- sSL_KEY = mapENT.get("SL_KEY");
- sRECNO = mapENT.get("RECNO");
- sCASH_PRICE = mapENT.get("CASH_PRICE");
- sCREDIT_PRICE = mapENT.get("CREDIT_PRICE");
- sINSP_KIND = mapENT.get("INSP_KIND");
- // 付款方式
- if ((TCcrConst.PAY_CASH).equals(sPAY_NO)) {
- iSL_PRICE = emisUtil.parseInt(sCASH_PRICE);
- } else if ((TCcrConst.PAY_CREDIT).equals(sPAY_NO)) {
- iSL_PRICE = emisUtil.parseInt(sCREDIT_PRICE);
- }
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "P_NO:" + sP_NO);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "SL_KEY:" + sSL_KEY);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "RECNO:" + sRECNO);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "付款類型:" + sPAY_NO);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "CASH_PRICE:" + sCASH_PRICE);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "CREDIT_PRICE:" + sCREDIT_PRICE);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "金額:" + iSL_PRICE);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "INSP_KIND:" + sINSP_KIND);
- isOpenPromo = false;
- isCM_PRICE = true;
- runPLU(iSL_PRICE, sMethodOK);
- }
- return handover();
- }
- protected boolean payment() {
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "----付款模式---");
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "付款方式 = " + sPAY_NO);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "付款金額 = " + sPAY_PRICE);
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "分期付款 = " + sINSP_KIND);
- String sPAY_NO_NAME = TCcrConst.PAY_NAME_UNKNOW;
- int iPAY_PRICE = emisUtil.parseInt(sPAY_PRICE);
- if ((TCcrConst.PAY_CASH).equals(sPAY_NO)) {
- sPAY_NO_NAME = TCcrConst.PAY_NAME_CASH;
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "1.現金付款,結束交易");
- TBtnPayCash _oPayCashEvent = new TBtnPayCash(false);
- return _oPayCashEvent.go();
- } else if ((TCcrConst.PAY_CREDIT).equals(sPAY_NO)) {
- sPAY_NO_NAME = TCcrConst.PAY_NAME_CREDIT;
- ((webccr) UI.getCurrent()).getlog().info(webccr.class, "2.信用卡付款,結束交易");
- // 參考TBtnCreditStage.java
- int iTransType = EDCUtil.NORMAIL_SALE; // 一般銷售
- if (!emisUtil.isEmpty(sINSP_KIND)) {
- iTransType = EDCUtil.CARD_CREDITSTAGE; // 分期
- }
- // 這個目的只是要信用卡畫面取消,會跑eventOver,去跑runEventMethod
- TButtonEventContext eventContext = new TButtonEventContext();
- EDCUtil edcUtil = new EDCUtil(iTransType, eventContext, false);
- // 傳入金額與分期數
- edcUtil.setiCreditStageAmt(iPAY_PRICE); // 刷卡金額
- edcUtil.setsStage(sINSP_KIND); // 分期數
- edcUtil.getParentEvent().setOtherEvent_(this);
- edcUtil.getParentEvent().setOtherMethodOK_("PAY_OK_MSG");
- edcUtil.getParentEvent().setOtherMethodCancel_("PAY_ERROR_MSG");
- edcUtil.openPartWin();
- return false; // 信用卡付款會開視窗,所以return false,尚未付款成功
- }
- return false;
- }
- public boolean eventOver(boolean bSuccess_) {
- // 按鈕先解鎖
- FoCcr.setLockBtn(false);
- if (bSuccess_) {
- // 企客案才需新增付款,結束交易
- if (isENT) {
- if (payment()) {
- FoCcr.UInotify.swMessage("交易完成!");
- return handover();
- }
- return handover();
- }
- // 更新畫面資訊
- FoCcr.UInotify.updateMainForm();
- }
- return super.eventOver(bSuccess_);
- }
- // 通知主畫面變更內容顯示
- protected void NotifyMainFormUpdate() {
- FoCcr.UInotify.updateMainForm();
- }
- public boolean isPLUinto() {
- return isPLUinto;
- }
- public void setPLUinto(boolean isPLUinto) {
- this.isPLUinto = isPLUinto;
- }
- public TBtnPLU getBtnPLU() {
- return btnPLU;
- }
- public void setBtnPLU(TBtnPLU btnPLU) {
- this.btnPLU = btnPLU;
- }
- public String getPLU_P_NO() {
- return PLU_P_NO;
- }
- public void setPLU_P_NO(String PLU_P_NO) {
- this.PLU_P_NO = PLU_P_NO;
- }
- }