{"version":3,"sources":["webpack:///./src/views/ap/reconciliation/appropriation/Appropriation.vue?c6d1","webpack:///./src/controllers/ap/reconciliation/appropriation/Appropriation.ts","webpack:///./src/controllers/ap/reconciliation/appropriation/Appropriation.ts?2692","webpack:///./src/views/ap/reconciliation/appropriation/Appropriation.vue"],"names":["render","_vm","this","_c","_self","_setupProxy","directives","name","rawName","value","expression","isLoading","attrs","expireTime","staticClass","_m","_v","on","$event","preventDefault","exportFile","openStoreLightbox","searchItem","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","$set","multiple","bindDateType","_l","period","key","domProps","_s","datePeriodStartMax","bindDatePeriod","composing","minDate","maxDate","String","periodType","modifiers","_n","transaction","note","card","isArray","cardType","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","searchByCondition","apply","arguments","class","filterType","changeFilter","reconciliationList","length","_e","reconciliation","checkIsUnfold","storeCode","storeName","arrowOpen","foldAndUnfoldItem","collapse","branchBank","dateStart","dateEnd","replaceAll","showAll","IsShowAllItem","byCardMap","info","index","infoType","terminalNo","date","split","submitDate","batchNo","transDate","transTime","transactionMap","type","authCode","trim","isNotNatureNum","amount","convertNumberToMoney","cardNo","cardTypeOrigin","orderNo","issuer","issuerOrigin","installCodeOrigin","installTimes","settleCode","taiwanPayQrFlag","stan","stanOrigin","tpan","subStoreCode","feeFlag","charge","installRate","openDetailLB","subCount","subTotal","dayTotal","terminal","terminalCount","terminalTotal","count","total","byAlipayMap","codeOrigin","abroadAmount","storeCharge","consumerCharge","outAmount","byMotifyMap","reimbursementDate","motifyAmount","motifyCharge","description","byAppropriationMap","typeFlagMap","typeFlag","totalCount","totalAmount","salesCount","salesAmount","returnCount","returnAmount","ifr","netAmount","openTableLB","cardTypeMap","visa","ourBankCount","ourBankAmount","notOurBankCount","notOurBankAmount","mc","jcb","cup","fisc","motify","creditCardMap","issuerName","debitCardMap","detailTotalObj","appropriationTotalObj","storeGroupList","closeLBlist","getStoreList","selectStore","detail","detailTitle","detailType","closeLBdetail","tableType","batchNoTitle","batchNoInfo","closeLBtable","hintBox","show","msg","closeHint","staticRenderFns","periodMap","PeriodMap","TransactionMap","noteMap","AppropriationNoteMap","cardMap","CardMap","TypeFlagMap","storeType","tidNumber","storeArr","start","end","transactionType","noteType","cardNum","orderNum","machineCodeStart","machineCodeEnd","tidNumberArr","isOpenStoreLB","appropriationMap","Protobuf","AppropriationMap","create","cardTypeTotalObj","isUnfold","unfoldList","showAllList","isOpenDetailLB","AppropriationInfoCredit","appropriationDetail","isOpenTableLB","Reconciliation","created","setPriv","userInfo","JSON","parse","get","identification","console","log","day","Date","toISOString","localStorage","removeItem","item","StoreInsertQuery","StoreInsertQueryType","SIQT_TID_NUMBER","storeInsertQuery","encode","finish","getStoreSearch","storeUserPermissionMap","Object","keys","forEach","thisTidNumber","rawSearchList","storeList","list","thisStore","store","id","storeId","code","registerName","push","storeGroup","setDate","getDate","getTime","openHint","validCondition","ErrorCodeMap","ErrorHintMap","RequireStore","RequireDate","startUnix","endUnix","dUnix","DatePeriodError","Util","passReconciliationByCookie","AppropriationQuery","dateType","flag","join","terminalNoStart","terminalNoEnd","storageItem","search","setItem","stringify","appropriationQuery","init","getAppropriationTotal","appropriationTotal","getAppropriationTotalData","countDetailTotal","reportParams","ScheduleReportInfo","fromWhere","WhereCode","Appropriation","params","scheduleReportInfo","add","ListCountExceed","getAppropriationSummaryTotal","appropriationSummaryTotal","getAppropriationSummaryTotalData","getAppropriationSummaryByCardTypeCollectionTotal","appropriationSummaryByCardTypeTotal","getReimbursement","reimbursementList","getReimbursementList","getAppropriationMap","appropriationMapData","getAppropriationMapData","countTotalFromMap","thisStoreCode","getAppropriationSummaryMap","appropriationSummaryMapData","getAppropriationSummaryMapData","countTotalBySummaryMap","getAppropriationSummaryByCardTypeCollectionMap","appropriationSummaryByCardTypeCollectionMapData","getAppropriationSummaryByCardTypeCollectionMapData","countTotalByCardTypeCollectionMap","reconciliationAppropriationJson","getItem","reconciliationAppropriation","some","isExist","findIndex","splice","specificStore","getAppropriation","appropriation","getAppropriationData","detailItem","getAppropriationSummary","appropriationSummary","getAppropriationSummaryData","appropriationItem","getAppropriationSummaryByCardTypeCollection","appropriationSummaryByCardTypeCollection","getAppropriationSummaryByCardTypeCollectionData","cardItem","summaryInfo","num","replace","Number","a","indexOf","Math","round","toLocaleString","storeCodeMap","cardInfoList","countByCard","totalByCard","cardMenu","terminalMap","byFirstColumn","thisTerminal","dateMap","bySecondColumn","thisDate","batchNoMap","byBatchNo","thisBatchNo","infoList","batchNoCount","thisInfo","lastItem","pop","editItem","addItem","alipayInfoList","alipayMenu","alipay","byDate","dateCount","motifyInfoList","motifyMenu","cardTypeMenu","cardByType","terminalMapByAppropriation","cardTypeList","appropriationInfoList","addTotalItem","AppropriationInfoSummary","byTerminalNo","byTypeFlag","thisCardType","chargeRate","AppropriationInfoSummaryByCardType","creditCardInfoList","creditCardMenu","creditCard","addInfo","debitCardInfoList","debitCardMenu","debitCard","$emit","meta","$route","Priv","_checkPriv","privKey","isSetPriv","$router","_checkPrivType","_getExpireTime","ExcelCountExceed","queryArray","idx","i","storecodeTxt","substring","ExportNumExceedLimit","tab","tabType","queryString","exportAppropriation","ReconciliationAppropriationController","components","BlankPage","Nav","Loading","LBlist","LBdetail","LBtable","Hint","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACA,EAAG,UAAU,CAACG,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOR,EAAa,UAAES,WAAW,gBAAgBP,EAAG,MAAM,CAACG,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,OAAQR,EAAIU,UAAWD,WAAW,eAAeE,MAAM,CAAC,WAAaX,EAAIY,cAAcV,EAAG,MAAM,CAACG,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,OAAQR,EAAIU,UA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AoB,mBACtI2M,EAAWtJ,KAAKqB,GACVC,EAA4D,KAAnCrR,KAAKoB,WAAWuL,eAA0B,iBAAmB3M,KAAKoB,WAAWuL,eAAkB,iBAC9H0M,EAAWtJ,KAAKsB,GACVlL,EAAiD,KAA7BnG,KAAKoB,WAAW+E,SAAoB,YAAcnG,KAAKoB,WAAW+E,SAAY,YACxGkT,EAAWtJ,KAAK5J,GAEZwT,EAAM,EACF3Z,KAAKoE,YACT,IAAK,SACDuV,EAAM,EACN,MACJ,IAAK,gBACDA,EAAM,EACN,MACJ,IAAK,WACDA,EAAM,EACN,MAWR,OATMC,EAA2B,IAARD,EAAc,WAAaA,EAAO,WAC3DN,EAAWtJ,KAAK6J,GAEhB1L,QAAQC,IAAI,cACZD,QAAQC,IAAIkL,GACNQ,EAAqC,IAAtBR,EAAW9U,OAAgB,GAAK8U,EAAWlI,KAAK,KACrEjD,QAAQC,IAAI,eACZD,QAAQC,IAAI0L,GAEZ,GAAM,OAAmBC,oBAAoBD,I,cAA7C,SAEA7Z,KAAKS,WAAY,E,YAGb,YAAAkR,KAAR,WACI3R,KAAKsF,UAAY,GACjBtF,KAAKiI,YAAc,GACnBjI,KAAKuI,YAAc,GACnBvI,KAAKwN,oBAAsB,GAC3BxN,KAAK4I,mBAAqB,GAC1B5I,KAAKwJ,YAAc,GACnBxJ,KAAKmK,cAAgB,GACrBnK,KAAKqK,aAAe,IA/zCP0P,EAAqC,gBAXzD,eAAiD,CAC9CC,WAAY,CACRC,UAAS,OACTC,IAAG,OACHC,QAAO,OACPC,OAAM,OACNC,SAAQ,OACRC,QAAO,OACPC,KAAI,WAGSR,GAi0CrB,EAj0CA,CAAmE,QAA9C,IC9FyS,I,YCO1TS,EAAY,eACd,EACA1a,EACA0L,GACA,EACA,KACA,KACA,MAIa,aAAAgP,E","file":"js/chunk-2d2293e6.ebaf7708.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('Loading',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isLoading),expression:\"isLoading\"}]}),_c('Nav',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoading),expression:\"!isLoading\"}],attrs:{\"expireTime\":_vm.expireTime}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoading),expression:\"!isLoading\"}],staticClass:\"col-container\"},[_c('div',{staticClass:\"l-title\"},[_c('div',{staticClass:\"col-row col-noGutter\"},[_vm._m(0),_c('div',{staticClass:\"col-4\"},[_c('div',{staticClass:\"flex--end\"},[_c('a',{staticClass:\"e-btn e-btn--primary\",attrs:{\"href\":\"/reconciliation/appropriation/appropriation/print\",\"target\":\"_blank\"}},[_vm._v(\"列印\")]),_c('a',{staticClass:\"e-btn e-btn--primary\",on:{\"click\":function($event){$event.preventDefault();return _vm.exportFile()}}},[_vm._v(\"匯出\")])])])])]),_c('div',{staticClass:\"bgBlock\"},[_c('form',[_c('div',{staticClass:\"col-12 col-noGutter flex--sb\"},[_c('div',{staticClass:\"col-6\"},[_c('div',{staticClass:\"col-row\"},[_c('div',{staticClass:\"col-4\"},[_c('div',{staticClass:\"e-formGroup\"},[_c('a',{staticClass:\"e-btn e-btn--primary ml-2\",on:{\"click\":function($event){$event.preventDefault();return _vm.openStoreLightbox()}}},[_vm._v(\"選取特店清單\")])])])]),_c('div',{staticClass:\"col-row flex--start\"},[_c('div',{staticClass:\"col-4\"},[_c('label',{attrs:{\"for\":\"\"}},[_vm._v(\"撥款日區間\")]),_c('div',{staticClass:\"e-formGroup\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchItem.periodType),expression:\"searchItem.periodType\"}],staticClass:\"e-formGroup_item\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.searchItem, \"periodType\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.bindDateType()}]}},_vm._l((_vm.periodMap),function(period,key){return _c('option',{key:key,domProps:{\"value\":key}},[_vm._v(\" \"+_vm._s(period)+\" \")])}),0),_c('img',{staticClass:\"e-formGroup_icon pb5\",attrs:{\"src\":\"/img/down.svg\",\"alt\":\"\"}})])]),_c('div',{staticClass:\"col-4\"},[_c('label',{attrs:{\"for\":\"\"}},[_vm._v(\"起\")]),_c('div',{staticClass:\"e-formGroup\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchItem.start),expression:\"searchItem.start\"}],staticClass:\"e-formGroup_item\",attrs:{\"type\":\"date\",\"max\":_vm.datePeriodStartMax},domProps:{\"value\":(_vm.searchItem.start)},on:{\"change\":function($event){return _vm.bindDatePeriod()},\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.searchItem, \"start\", $event.target.value)}}}),_c('img',{staticClass:\"e-formGroup_icon\",attrs:{\"src\":\"/img/date.svg\",\"alt\":\"\"}})])]),_c('p',{staticClass:\"e-form_to--line\"}),_c('div',{staticClass:\"col-4\"},[_c('label',{attrs:{\"for\":\"\"}},[_vm._v(\"迄\")]),_c('div',{staticClass:\"e-formGroup\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchItem.end),expression:\"searchItem.end\"}],staticClass:\"e-formGroup_item\",attrs:{\"type\":\"date\",\"min\":_vm.minDate,\"max\":_vm.maxDate,\"disabled\":String(_vm.searchItem.periodType) !== '1'},domProps:{\"value\":(_vm.searchItem.end)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.searchItem, \"end\", $event.target.value)}}}),_c('img',{staticClass:\"e-formGroup_icon\",attrs:{\"src\":\"/img/date.svg\",\"alt\":\"\"}})])])]),_c('div',{staticClass:\"col-row flex--start\"},[_c('div',{staticClass:\"col-4\"},[_c('label',{attrs:{\"for\":\"\"}},[_vm._v(\"交易別\")]),_c('div',{staticClass:\"e-formGroup\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.searchItem.transactionType),expression:\"searchItem.transactionType\",modifiers:{\"number\":true}}],staticClass:\"e-formGroup_item\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return _vm._n(val)}); _vm.$set(_vm.searchItem, \"transactionType\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"請選擇交易別\")]),_vm._l((_vm.transactionMap),function(transaction,key){return _c('option',{key:key,domProps:{\"value\":key}},[_vm._v(\" \"+_vm._s(transaction)+\" \")])})],2),_c('img',{staticClass:\"e-formGroup_icon pb5\",attrs:{\"src\":\"/img/down.svg\",\"alt\":\"\"}})])]),_c('div',{staticClass:\"col-4\"},[_c('label',{attrs:{\"for\":\"\"}},[_vm._v(\"註記\")]),_c('div',{staticClass:\"e-formGroup\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchItem.noteType),expression:\"searchItem.noteType\"}],staticClass:\"e-formGroup_item\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.searchItem, \"noteType\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.noteMap),function(note,key){return _c('option',{key:key,domProps:{\"value\":key}},[_vm._v(\" \"+_vm._s(note)+\" \")])}),0),_c('img',{staticClass:\"e-formGroup_icon pb5\",attrs:{\"src\":\"/img/down.svg\",\"alt\":\"\"}})])])])]),_c('div',{staticClass:\"col-6\"},[_c('div',{staticClass:\"col-row flex--start mb-20\"},[_c('div',{staticClass:\"col-12\"},[_c('label',{attrs:{\"for\":\"\"}},[_vm._v(\"卡別\")]),_c('div',{staticClass:\"e-form\"},_vm._l((_vm.cardMap),function(card,key){return _c('div',{key:key,staticClass:\"e-formGroup e-formGroup--2\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchItem.cardType),expression:\"searchItem.cardType\"}],staticClass:\"e-checkBox\",attrs:{\"type\":\"checkbox\"},domProps:{\"value\":key,\"checked\":Array.isArray(_vm.searchItem.cardType)?_vm._i(_vm.searchItem.cardType,key)>-1:(_vm.searchItem.cardType)},on:{\"change\":function($event){var $$a=_vm.searchItem.cardType,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=key,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.searchItem, \"cardType\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.searchItem, \"cardType\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.searchItem, \"cardType\", $$c)}}}}),_vm._v(_vm._s(card)+\" \")])}),0)])]),_c('div',{staticClass:\"col-row flex--start\"},[_c('div',{staticClass:\"col-6\"},[_c('div',{staticClass:\"e-form\"},[_c('label',{attrs:{\"for\":\"\"}},[_vm._v(\"卡號\")]),_c('div',{staticClass:\"e-formGroup\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchItem.cardNum),expression:\"searchItem.cardNum\"}],staticClass:\"e-formGroup_item\",attrs:{\"type\":\"text\",\"placeholder\":\"請輸入卡號\"},domProps:{\"value\":(_vm.searchItem.cardNum)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.searchItem, \"cardNum\", $event.target.value)}}})])])]),_c('div',{staticClass:\"col-6\"},[_c('div',{staticClass:\"e-form\"},[_c('label',{attrs:{\"for\":\"\"}},[_vm._v(\"訂單編號\")]),_c('div',{staticClass:\"e-formGroup\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchItem.orderNum),expression:\"searchItem.orderNum\"}],staticClass:\"e-formGroup_item\",attrs:{\"type\":\"text\",\"placeholder\":\"請輸入訂單編號\"},domProps:{\"value\":(_vm.searchItem.orderNum)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.searchItem, \"orderNum\", $event.target.value)}}})])])])]),_c('div',{staticClass:\"col-row flex--start\"},[_c('div',{staticClass:\"col-4\"},[_c('label',{attrs:{\"for\":\"\"}},[_vm._v(\"端末機號區間\")]),_c('div',{staticClass:\"e-formGroup\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchItem.machineCodeStart),expression:\"searchItem.machineCodeStart\"}],staticClass:\"e-formGroup_item\",attrs:{\"type\":\"text\",\"placeholder\":\"請輸入起號\"},domProps:{\"value\":(_vm.searchItem.machineCodeStart)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.searchItem, \"machineCodeStart\", $event.target.value)}}})])]),_c('p',{staticClass:\"e-form_to--line\"}),_c('div',{staticClass:\"col-4\"},[_c('div',{staticClass:\"e-formGroup mt20\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchItem.machineCodeEnd),expression:\"searchItem.machineCodeEnd\"}],staticClass:\"e-formGroup_item\",attrs:{\"type\":\"text\",\"placeholder\":\"請輸入迄號\"},domProps:{\"value\":(_vm.searchItem.machineCodeEnd)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.searchItem, \"machineCodeEnd\", $event.target.value)}}})])]),_c('div',{staticClass:\"col-4\"},[_c('div',{staticClass:\"e-form\"},[_c('label',{attrs:{\"for\":\"\"}},[_vm._v(\"授權碼\")]),_c('div',{staticClass:\"e-formGroup\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchItem.authCode),expression:\"searchItem.authCode\"}],staticClass:\"e-formGroup_item\",attrs:{\"type\":\"text\",\"placeholder\":\"請輸入授權碼\"},domProps:{\"value\":(_vm.searchItem.authCode)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.searchItem, \"authCode\", $event.target.value)}}})])])])])])]),_c('div',{staticClass:\"col-row col-noGutter flex--end\"},[_c('div',{staticClass:\"col-12 mt20\"},[_c('div',{staticClass:\"e-formGroup flex--end\"},[_c('a',{staticClass:\"e-btn e-btn--secondary mr15\",on:{\"click\":function($event){$event.preventDefault();return _vm.searchByCondition.apply(null, arguments)}}},[_vm._v(\"搜尋\")])]),_c('p',{staticClass:\"txt-gray txt-12 txt-r mr10 mt20\"},[_vm._v(\"篩選條件僅適用於明細查詢\")])])])]),_c('div',{staticClass:\"col-row\"},[_c('div',{staticClass:\"e-table col-12\"},[_c('div',{staticClass:\"l-tab\"},[_c('a',{staticClass:\"l-tab_item\",class:{ 'l-tab_item--active': _vm.filterType === 'detail' },on:{\"click\":function($event){$event.preventDefault();return _vm.changeFilter('detail')}}},[_vm._v(\"明細\")]),_c('a',{staticClass:\"l-tab_item\",class:{ 'l-tab_item--active': _vm.filterType === 'appropriation' },on:{\"click\":function($event){$event.preventDefault();return _vm.changeFilter('appropriation')}}},[_vm._v(\"依撥款彙總\")]),_c('a',{staticClass:\"l-tab_item\",class:{ 'l-tab_item--active': _vm.filterType === 'cardType' },on:{\"click\":function($event){$event.preventDefault();return _vm.changeFilter('cardType')}}},[_vm._v(\"依卡別彙總\")])]),(_vm.reconciliationList.length === 0)?_c('BlankPage'):_vm._e(),_vm._l((_vm.reconciliationList),function(reconciliation,key){return _c('div',{key:`detail_${key}`},[(_vm.filterType === 'detail')?_c('div',{staticClass:\"e-table_simplify flex--sb\"},[_c('div',{staticClass:\"e-print_title\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.checkIsUnfold(reconciliation.storeCode)),expression:\"!checkIsUnfold(reconciliation.storeCode)\"}],staticClass:\"simplifyHide\"},[_c('p',[_vm._v(\"特店代號:\"+_vm._s(reconciliation.storeCode))]),_c('p',[_vm._v(\"特店名稱:\"+_vm._s(reconciliation.storeName))])])]),_c('img',{staticClass:\"e-table_collapseBtn\",class:{\n arrowOpen: _vm.checkIsUnfold(reconciliation.storeCode),\n },attrs:{\"src\":\"/img/down.svg\",\"alt\":\"\"},on:{\"click\":function($event){$event.preventDefault();return _vm.foldAndUnfoldItem(reconciliation.storeCode)}}})]):_vm._e(),(_vm.filterType === 'detail')?_c('div',{class:{ collapse: !_vm.checkIsUnfold(reconciliation.storeCode) }},[_c('div',{staticClass:\"e-print p30\"},[_vm._m(1,true),_c('div',{staticClass:\"col-row flex--sb col-noGutter p10\"},[_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"特店代號:\"+_vm._s(reconciliation.storeCode))]),_c('p',[_vm._v(\"特店名稱:\"+_vm._s(reconciliation.storeName))])]),_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"分行:\"+_vm._s(reconciliation.branchBank))]),(reconciliation.dateStart && reconciliation.dateEnd)?_c('p',[_vm._v(\" 日期區間:\"+_vm._s(reconciliation.dateStart.replaceAll(\"-\", \"/\"))+\" ~ \"+_vm._s(reconciliation.dateEnd.replaceAll(\"-\", \"/\"))+\" \")]):_vm._e()])]),_c('div',{staticClass:\"col-row col-noGutter\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"e-table noBorder\"},[_c('div',{staticClass:\"e-tr_collapse\"},[_c('div',{staticClass:\"e-tr_collapse\",on:{\"click\":function($event){$event.preventDefault();return _vm.showAll(reconciliation.storeCode)}}},[(!_vm.IsShowAllItem(reconciliation.storeCode))?_c('div',{staticClass:\"e-tr_collapseBtn\"},[_vm._v(\" 展開明細 \")]):_vm._e(),(_vm.IsShowAllItem(reconciliation.storeCode))?_c('div',{staticClass:\"e-tr_collapseBtn\"},[_vm._v(\" 收合明細 \")]):_vm._e()])]),_c('table',{staticClass:\"e-table_body e-print\"},[_c('tr',{staticClass:\"e-table_header--noBorder txt-keep\"},[_c('td',[_vm._v(\"端末機號\")]),_c('td',[_vm._v(\"撥款日\")]),_c('td',[_vm._v(\"結帳請款日\")]),_c('td',[_vm._v(\"批號\")]),_c('td',[_vm._v(\"交易日\")]),_c('td',[_vm._v(\"交易時間\")]),_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"交易別\")]),_c('td',[_vm._v(\"授權碼\")]),_c('td',[_vm._v(\"交易金額\")]),_c('td',[_vm._v(\"卡號\")]),_c('td',[_vm._v(\"卡別\")]),_c('td',[_vm._v(\"訂單編號\")]),_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"發卡行\")]),_vm._m(2,true),_c('td',[_vm._v(\"期數\")]),_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"清算識別碼\")]),_c('td',[_vm._v(\"QR註記\")]),_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"交易STAN\")]),_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"原交易STAN\")]),_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"交易TPAN\")]),_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"次特店代號\")]),_c('td',[_vm._v(\"定額註記\")]),_c('td',[_vm._v(\"定額手續費\")]),_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"分期發卡行手續費\")]),_c('td',{staticClass:\"btn\"},[_vm._v(\"明細\")])]),_vm._l((_vm.byCardMap[reconciliation.storeCode]),function(info,index){return _c('tr',{key:index,class:{ 'e-print_line': info.infoType === 2, 'e-print_txt--b': info.infoType !== 1, 'e-print_bg': info.infoType === 3, 'e-print_darkline': info.infoType === 4 }},[(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.terminalNo))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.date.split(\" \")[0]))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.submitDate.split(\" \")[0]))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.batchNo))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.transDate.split(\" \")[0]))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.transTime))]):_vm._e(),(info.infoType === 1)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(_vm._s(_vm.transactionMap[info.type]))]):_vm._e(),(info.infoType === 1 && info.authCode.trim() !== '')?_c('td',[_vm._v(_vm._s(info.authCode))]):_vm._e(),(info.infoType === 1 && info.authCode.trim() === '')?_c('td',[_vm._v(\"-\")]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.amount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.amount)))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.cardNo))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.cardTypeOrigin))]):_vm._e(),(info.infoType === 1 && info.orderNo.trim() !== '')?_c('td',[_vm._v(_vm._s(info.orderNo))]):_vm._e(),(info.infoType === 1 && info.orderNo.trim() === '')?_c('td',[_vm._v(\"-\")]):_vm._e(),(info.infoType === 1)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(_vm._s(info.issuer)),_c('p',{staticClass:\"txt-keep\"},[_vm._v(_vm._s(info.issuerOrigin))])]):_vm._e(),(info.infoType === 1 && info.installCodeOrigin.trim() !== '')?_c('td',[_vm._v(_vm._s(info.installCodeOrigin))]):_vm._e(),(info.infoType === 1 && info.installCodeOrigin.trim() === '')?_c('td',[_vm._v(\"-\")]):_vm._e(),(info.infoType === 1 && info.installTimes !== 0)?_c('td',[_vm._v(_vm._s(info.installTimes))]):_vm._e(),(info.infoType === 1 && info.installTimes === 0)?_c('td',[_vm._v(\"-\")]):_vm._e(),(info.infoType === 1)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(_vm._s(info.settleCode))]):_vm._e(),(info.infoType === 1 && info.taiwanPayQrFlag === 1)?_c('td',[_vm._v(\"Y\")]):_vm._e(),(info.infoType === 1 && info.taiwanPayQrFlag === 2)?_c('td',[_vm._v(\"N\")]):_vm._e(),(info.infoType === 1 && info.stan.trim() !== '')?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(_vm._s(info.stan))]):_vm._e(),(info.infoType === 1 && info.stan.trim() === '')?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"-\")]):_vm._e(),(info.infoType === 1 && info.stanOrigin.trim() !== '')?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(_vm._s(info.stanOrigin))]):_vm._e(),(info.infoType === 1 && info.stanOrigin.trim() === '')?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"-\")]):_vm._e(),(info.infoType === 1 && info.tpan.trim() !== '')?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(_vm._s(info.tpan))]):_vm._e(),(info.infoType === 1 && info.tpan.trim() === '')?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"-\")]):_vm._e(),(info.infoType === 1 && info.subStoreCode.trim() !== '')?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(_vm._s(info.subStoreCode))]):_vm._e(),(info.infoType === 1 && info.subStoreCode.trim() === '')?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(\"-\")]):_vm._e(),(info.infoType === 1 && info.feeFlag === 2)?_c('td',[_vm._v(\"Y\")]):_vm._e(),(info.infoType === 1 && info.feeFlag === 1)?_c('td',[_vm._v(\"N\")]):_vm._e(),(info.infoType === 1 && info.feeFlag === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.charge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.charge)))]):_vm._e(),(info.infoType === 1 && info.feeFlag === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.charge),}},[_vm._v(\"-\")]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.installRate)))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"btn\",class:{collapse: _vm.IsShowAllItem(reconciliation.storeCode),}},[_c('a',{staticClass:\"e-btn e-btn--normal\",on:{\"click\":function($event){$event.preventDefault();return _vm.openDetailLB(reconciliation, info, 2)}}},[_vm._v(\"查看\")])]):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(\"批號小結\")]):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(_vm._s(info.batchNo))]):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(\"筆數\")]):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(_vm._s(info.subCount)+\"筆\")]):_vm._e(),(info.infoType === 2)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(\"小計\")]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.subTotal),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.subTotal)))]):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 2)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 2)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 2)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 2)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 2 && info.dayTotal !== 0)?[_c('td',[_vm._v(\"每日小結\")]),_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.dayTotal),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.dayTotal)))])]:_vm._e(),(info.infoType === 2 && info.dayTotal === 0)?[_c('td'),_c('td')]:_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"btn\"}):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(\"端末機號小結\")]):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(_vm._s(info.terminal))]):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(\"筆數\")]):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(_vm._s(info.terminalCount)+\"筆\")]):_vm._e(),(info.infoType === 3)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(\"小計\")]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.terminalTotal),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.terminalTotal)))]):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 3)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 3)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 3)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"btn\"}):_vm._e(),(info.infoType === 4)?_c('td'):_vm._e(),(info.infoType === 4)?_c('td'):_vm._e(),(info.infoType === 4)?_c('td',[_vm._v(\"特店合計\")]):_vm._e(),(info.infoType === 4)?_c('td'):_vm._e(),(info.infoType === 4)?_c('td',[_vm._v(\"筆數\")]):_vm._e(),(info.infoType === 4)?_c('td',[_vm._v(_vm._s(info.count)+\"筆\")]):_vm._e(),(info.infoType === 4)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 4)?_c('td',[_vm._v(\"總計\")]):_vm._e(),(info.infoType === 4)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.total),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.total)))]):_vm._e(),(info.infoType === 4)?_c('td'):_vm._e(),(info.infoType === 4)?_c('td'):_vm._e(),(info.infoType === 4)?_c('td'):_vm._e(),(info.infoType === 4)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 4)?_c('td'):_vm._e(),(info.infoType === 4)?_c('td'):_vm._e(),(info.infoType === 4)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 4)?_c('td'):_vm._e(),(info.infoType === 4)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 4)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 4)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 4)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 4)?_c('td'):_vm._e(),(info.infoType === 4)?_c('td'):_vm._e(),(info.infoType === 4)?_c('td',{class:{collapse: !_vm.IsShowAllItem(reconciliation.storeCode),}}):_vm._e(),(info.infoType === 4)?_c('td',{staticClass:\"btn\"}):_vm._e()],2)})],2)])])])]),(_vm.byAlipayMap[reconciliation.storeCode])?_c('div',{staticClass:\"e-print p30\"},[_vm._m(3,true),_c('div',{staticClass:\"col-row flex--sb col-noGutter p10\"},[_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"特店代號:\"+_vm._s(reconciliation.storeCode))]),_c('p',[_vm._v(\"特店名稱:\"+_vm._s(reconciliation.storeName))])]),_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"分行:\"+_vm._s(reconciliation.branchBank))]),(reconciliation.dateStart && reconciliation.dateEnd)?_c('p',[_vm._v(\" 結帳請款日區間:\"+_vm._s(reconciliation.dateStart.replaceAll(\"-\", \"/\"))+\" ~ \"+_vm._s(reconciliation.dateEnd.replaceAll(\"-\", \"/\"))+\" \")]):_vm._e()])]),_c('div',{staticClass:\"col-row col-noGutter\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"e-table noBorder\"},[_c('table',{staticClass:\"e-table_body e-print\"},[_vm._m(4,true),_vm._l((_vm.byAlipayMap[reconciliation.storeCode]),function(info,index){return _c('tr',{key:index,class:{ 'e-print_line': info.infoType === 2, 'e-print_txt--b': info.infoType === 3 }},[(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.date.split(\" \")[0]))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.submitDate.split(\" \")[0]))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.transDate.split(\" \")[0]))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.transTime))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.codeOrigin))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.abroadAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.abroadAmount)))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.amount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.amount)))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.storeCharge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.storeCharge)))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.consumerCharge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.consumerCharge)))]):_vm._e(),(info.infoType === 1 && info.orderNo.trim() !== '')?_c('td',[_vm._v(_vm._s(info.orderNo.trim()))]):_vm._e(),(info.infoType === 1 && info.orderNo.trim() === '')?_c('td',[_vm._v(\"-\")]):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(\"小計\")]):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(\"筆數\")]):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(_vm._s(info.count)+\"筆\")]):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.outAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.outAmount)))]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.amount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.amount)))]):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(\"合計\")]):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(\"筆數\")]):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(_vm._s(info.count)+\"筆\")]):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.outAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.outAmount)))]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.amount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.amount)))]):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e()])})],2)])])])]):_vm._e(),(_vm.byMotifyMap[reconciliation.storeCode])?_c('div',{staticClass:\"e-print p30\"},[_vm._m(5,true),_c('div',{staticClass:\"col-row flex--sb col-noGutter p10\"},[_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"特店代號:\"+_vm._s(reconciliation.storeCode))]),_c('p',[_vm._v(\"特店名稱:\"+_vm._s(reconciliation.storeName))])]),_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"分行:\"+_vm._s(reconciliation.branchBank))]),(reconciliation.dateStart && reconciliation.dateEnd)?_c('p',[_vm._v(\" 日期區間:\"+_vm._s(reconciliation.dateStart.replaceAll(\"-\", \"/\"))+\" ~ \"+_vm._s(reconciliation.dateEnd.replaceAll(\"-\", \"/\"))+\" \")]):_vm._e()])]),_c('div',{staticClass:\"col-row col-noGutter\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"e-table noBorder\"},[_c('table',{staticClass:\"e-table_body e-print\"},[_vm._m(6,true),_vm._l((_vm.byMotifyMap[reconciliation.storeCode]),function(info,index){return _c('tr',{key:index,class:{ 'e-print_line': info.infoType === 2, 'e-print_txt--b': info.infoType === 3 }},[(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.date.split(\" \")[0]))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.reimbursementDate.split(\" \")[0]))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.batchNo))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.motifyAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.motifyAmount)))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.motifyCharge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.motifyCharge)))]):_vm._e(),(info.infoType === 1 && info.description.trim() !== '')?_c('td',[_vm._v(_vm._s(info.description.trim()))]):_vm._e(),(info.infoType === 1 && info.description.trim() === '')?_c('td',[_vm._v(\"-\")]):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(\"小計\")]):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(\"筆數\")]):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(_vm._s(info.count)+\"筆\")]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.amount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.amount)))]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.charge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.charge)))]):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(\"合計\")]):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(\"筆數\")]):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(_vm._s(info.count)+\"筆\")]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.amount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.amount)))]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.charge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.charge)))]):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e()])})],2)])])])]):_vm._e()]):_vm._e()])}),_vm._l((_vm.reconciliationList),function(reconciliation,key){return _c('div',{key:`appropriation_${key}`},[(_vm.filterType === 'appropriation' && key === 0)?_c('div',{staticClass:\"col-row flex--center\"},[_vm._m(7,true)]):_vm._e(),(_vm.filterType === 'appropriation')?_c('div',{staticClass:\"e-table_simplify flex--sb\"},[_c('div',{staticClass:\"e-print_title\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.checkIsUnfold(reconciliation.storeCode)),expression:\"!checkIsUnfold(reconciliation.storeCode)\"}],staticClass:\"simplifyHide\"},[_c('p',[_vm._v(\"特店代號:\"+_vm._s(reconciliation.storeCode))]),_c('p',[_vm._v(\"特店名稱:\"+_vm._s(reconciliation.storeName))])])]),_c('img',{staticClass:\"e-table_collapseBtn\",class:{\n arrowOpen: _vm.checkIsUnfold(reconciliation.storeCode),\n },attrs:{\"src\":\"/img/down.svg\",\"alt\":\"\"},on:{\"click\":function($event){$event.preventDefault();return _vm.foldAndUnfoldItem(reconciliation.storeCode)}}})]):_vm._e(),(_vm.filterType === 'appropriation')?_c('div',{class:{ collapse: !_vm.checkIsUnfold(reconciliation.storeCode) }},[_c('div',{staticClass:\"e-print p30\"},[_c('div',{staticClass:\"col-row flex--sb col-noGutter p10\"},[_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"特店代號:\"+_vm._s(reconciliation.storeCode))]),_c('p',[_vm._v(\"特店名稱:\"+_vm._s(reconciliation.storeName))])]),_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"分行:\"+_vm._s(reconciliation.branchBank))]),(reconciliation.dateStart && reconciliation.dateEnd)?_c('p',[_vm._v(\" 日期區間:\"+_vm._s(reconciliation.dateStart.replaceAll(\"-\", \"/\"))+\" ~ \"+_vm._s(reconciliation.dateEnd.replaceAll(\"-\", \"/\"))+\" \")]):_vm._e()])]),_c('div',{staticClass:\"col-row col-noGutter\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"e-table noBorder\"},[_c('table',{staticClass:\"e-table_body e-print\"},[_vm._m(8,true),_vm._l((_vm.byAppropriationMap[reconciliation.storeCode]),function(info,index){return _c('tr',{key:index,class:{ 'e-print_line': info.infoType === 2, 'e-print_txt--b': info.infoType === 3 }},[(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.terminalNo))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.date.split(\" \")[0]))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(_vm.typeFlagMap[info.typeFlag]))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.submitDate.split(\" \")[0]))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.totalCount))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.totalAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.totalAmount)))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.salesCount))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.salesAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.salesAmount)))]):_vm._e(),(info.infoType === 1)?_c('td',[_vm._v(_vm._s(info.returnCount))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.returnAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.returnAmount)))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.charge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.charge)))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.ifr),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.ifr)))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.motifyAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.motifyAmount)))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.motifyCharge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.motifyCharge)))]):_vm._e(),(info.infoType === 1)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.netAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.netAmount)))]):_vm._e(),(info.infoType === 1)?_c('td',[(info.terminalNo && info.terminalNo.trim() !== '')?_c('a',{staticClass:\"e-btn e-btn--normal\",on:{\"click\":function($event){$event.preventDefault();return _vm.openTableLB(reconciliation, info)}}},[_vm._v(\"查看\")]):_vm._e()]):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(\"小計\")]):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(_vm._s(info.totalCount))]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.totalAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.totalAmount)))]):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(_vm._s(info.salesCount))]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.salesAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.salesAmount)))]):_vm._e(),(info.infoType === 2)?_c('td',[_vm._v(_vm._s(info.returnCount))]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.returnAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.returnAmount)))]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.charge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.charge)))]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.ifr),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.ifr)))]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.motifyAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.motifyAmount)))]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.motifyCharge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.motifyCharge)))]):_vm._e(),(info.infoType === 2)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.netAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.netAmount)))]):_vm._e(),(info.infoType === 2)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(\"合計\")]):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(_vm._s(info.totalCount))]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.totalAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.totalAmount)))]):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(_vm._s(info.salesCount))]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.salesAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.salesAmount)))]):_vm._e(),(info.infoType === 3)?_c('td',[_vm._v(_vm._s(info.returnCount))]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.returnAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.returnAmount)))]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.charge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.charge)))]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.ifr),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.ifr)))]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.motifyAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.motifyAmount)))]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.motifyCharge),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.motifyCharge)))]):_vm._e(),(info.infoType === 3)?_c('td',{staticClass:\"txt-r\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.netAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.netAmount)))]):_vm._e(),(info.infoType === 3)?_c('td'):_vm._e()])})],2)])])])])]):_vm._e()])}),_vm._l((_vm.reconciliationList),function(reconciliation,key){return _c('div',{key:`cardType_${key}`},[(_vm.filterType === 'cardType')?_c('div',{staticClass:\"e-table_simplify flex--sb\"},[_c('div',{staticClass:\"e-print_title\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.checkIsUnfold(reconciliation.storeCode)),expression:\"!checkIsUnfold(reconciliation.storeCode)\"}],staticClass:\"simplifyHide\"},[_c('p',[_vm._v(\"特店代號:\"+_vm._s(reconciliation.storeCode))]),_c('p',[_vm._v(\"特店名稱:\"+_vm._s(reconciliation.storeName))])])]),_c('img',{staticClass:\"e-table_collapseBtn\",class:{\n arrowOpen: _vm.checkIsUnfold(reconciliation.storeCode),\n },attrs:{\"src\":\"/img/down.svg\",\"alt\":\"\"},on:{\"click\":function($event){$event.preventDefault();return _vm.foldAndUnfoldItem(reconciliation.storeCode)}}})]):_vm._e(),(_vm.filterType === 'cardType')?_c('div',{class:{ collapse: !_vm.checkIsUnfold(reconciliation.storeCode) }},[_c('div',{staticClass:\"e-print p30\"},[_vm._m(9,true),_c('div',{staticClass:\"col-row col-noGutter flex--sb\"},[_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"特店代號:\"+_vm._s(reconciliation.storeCode))]),_c('p',[_vm._v(\"特店名稱:\"+_vm._s(reconciliation.storeName))])]),_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"分行:\"+_vm._s(reconciliation.branchBank))]),(reconciliation.dateStart && reconciliation.dateEnd)?_c('p',[_vm._v(\" 日期區間:\"+_vm._s(reconciliation.dateStart.replaceAll(\"-\", \"/\"))+\" ~ \"+_vm._s(reconciliation.dateEnd.replaceAll(\"-\", \"/\"))+\" \")]):_vm._e()])]),(_vm.cardTypeMap[reconciliation.storeCode])?_c('div',{staticClass:\"col-row col-noGutter\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"e-table noBorder\"},[_c('table',{staticClass:\"e-table_body e-print txt-c\"},[_vm._m(10,true),_c('tr',[_c('td',[_vm._v(\"VISA\")]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].visa.ourBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].visa.ourBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].visa.ourBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].visa.notOurBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].visa.notOurBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].visa.notOurBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].visa.totalCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].visa.totalAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].visa.totalAmount)))])]),_c('tr',[_c('td',[_vm._v(\"Master\")]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].mc.ourBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].mc.ourBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].mc.ourBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].mc.notOurBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].mc.notOurBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].mc.notOurBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].mc.totalCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].mc.totalAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].mc.totalAmount)))])]),_c('tr',[_c('td',[_vm._v(\"JCB\")]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].jcb.ourBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].jcb.ourBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].jcb.ourBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].jcb.notOurBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].jcb.notOurBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].jcb.notOurBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].jcb.totalCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].jcb.totalAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].jcb.totalAmount)))])]),_c('tr',[_c('td',[_vm._v(\"銀聯卡\")]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].cup.ourBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].cup.ourBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].cup.ourBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].cup.notOurBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].cup.notOurBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].cup.notOurBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].cup.totalCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].cup.totalAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].cup.totalAmount)))])]),_c('tr',[_c('td',[_vm._v(\"金融卡\")]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].fisc.ourBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].fisc.ourBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].fisc.ourBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].fisc.notOurBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].fisc.notOurBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].fisc.notOurBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].fisc.totalCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].fisc.totalAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].fisc.totalAmount)))])]),_c('tr',[_c('td',[_vm._v(\"調帳\")]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].motify.ourBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].motify.ourBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].motify.ourBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].motify.notOurBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].motify.notOurBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].motify.notOurBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].motify.totalCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].motify.totalAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].motify.totalAmount)))])]),_c('tr',{staticClass:\"e-print_txt--b e-total_line\"},[_c('td',[_vm._v(\"合計\")]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].total.ourBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].total.ourBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].total.ourBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].total.notOurBankCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].total.notOurBankAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].total.notOurBankAmount)))]),_c('td',[_vm._v(_vm._s(_vm.cardTypeMap[reconciliation.storeCode].total.totalCount))]),_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(_vm.cardTypeMap[reconciliation.storeCode].total.totalAmount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(_vm.cardTypeMap[reconciliation.storeCode].total.totalAmount)))])])])])])]):_vm._e()]),(_vm.creditCardMap[reconciliation.storeCode])?_c('div',{staticClass:\"e-print p30\"},[_vm._m(11,true),_c('div',{staticClass:\"col-row col-noGutter flex--sb\"},[_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"特店代號:\"+_vm._s(reconciliation.storeCode))]),_c('p',[_vm._v(\"特店名稱:\"+_vm._s(reconciliation.storeName))])]),_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"分行:\"+_vm._s(reconciliation.branchBank))]),(reconciliation.dateStart && reconciliation.dateEnd)?_c('p',[_vm._v(\" 日期區間:\"+_vm._s(reconciliation.dateStart.replaceAll(\"-\", \"/\"))+\" ~ \"+_vm._s(reconciliation.dateEnd.replaceAll(\"-\", \"/\"))+\" \")]):_vm._e()])]),_c('div',{staticClass:\"col-row col-noGutter\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"e-table noBorder\"},[_c('table',{staticClass:\"e-table_body e-print txt-c\"},[_vm._m(12,true),_vm._l((_vm.creditCardMap[reconciliation.storeCode]),function(info,index){return _c('tr',{key:index,class:{ 'e-print_txt--b': info.infoType === 2, 'e-total_line': info.infoType === 2}},[(!info.infoType)?_c('td',[_vm._v(_vm._s(info.issuer))]):_vm._e(),(!info.infoType)?_c('td',[_vm._v(_vm._s(info.issuerName))]):_vm._e(),(!info.infoType)?_c('td',[_vm._v(_vm._s(info.count))]):_vm._e(),(!info.infoType)?_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.amount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.amount)))]):_vm._e(),(info.infoType)?_c('td',[_vm._v(\"合計\")]):_vm._e(),(info.infoType)?_c('td'):_vm._e(),(info.infoType)?_c('td',[_vm._v(_vm._s(info.count))]):_vm._e(),(info.infoType)?_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.amount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.amount)))]):_vm._e()])})],2)])])])]):_vm._e(),(_vm.debitCardMap[reconciliation.storeCode])?_c('div',{staticClass:\"e-print p30\"},[_vm._m(13,true),_c('div',{staticClass:\"col-row col-noGutter flex--sb\"},[_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"特店代號:\"+_vm._s(reconciliation.storeCode))]),_c('p',[_vm._v(\"特店名稱:\"+_vm._s(reconciliation.storeName))])]),_c('div',{staticClass:\"e-print_title\"},[_c('p',[_vm._v(\"分行:\"+_vm._s(reconciliation.branchBank))]),(reconciliation.dateStart && reconciliation.dateEnd)?_c('p',[_vm._v(\" 日期區間:\"+_vm._s(reconciliation.dateStart.replaceAll(\"-\", \"/\"))+\" ~ \"+_vm._s(reconciliation.dateEnd.replaceAll(\"-\", \"/\"))+\" \")]):_vm._e()])]),_c('div',{staticClass:\"col-row col-noGutter\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"e-table noBorder\"},[_c('table',{staticClass:\"e-table_body e-print txt-c\"},[_vm._m(14,true),_vm._l((_vm.debitCardMap[reconciliation.storeCode]),function(info,index){return _c('tr',{key:index,class:{ 'e-print_txt--b': info.infoType === 2, 'e-total_line': info.infoType === 2}},[(!info.infoType)?_c('td',[_vm._v(_vm._s(info.issuer))]):_vm._e(),(!info.infoType)?_c('td',[_vm._v(_vm._s(info.issuerName))]):_vm._e(),(!info.infoType)?_c('td',[_vm._v(_vm._s(info.count))]):_vm._e(),(!info.infoType)?_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.amount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.amount)))]):_vm._e(),(info.infoType)?_c('td',[_vm._v(\"合計\")]):_vm._e(),(info.infoType)?_c('td'):_vm._e(),(info.infoType)?_c('td',[_vm._v(_vm._s(info.count))]):_vm._e(),(info.infoType)?_c('td',{staticClass:\"txt-c\",class:{'e-print_txt--r': _vm.isNotNatureNum(info.amount),}},[_vm._v(_vm._s(_vm.convertNumberToMoney(info.amount)))]):_vm._e()])})],2)])])])]):_vm._e()]):_vm._e()])}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.filterType === 'detail' && _vm.reconciliationList.length !== 0),expression:\"filterType === 'detail' && reconciliationList.length !== 0\"}],staticClass:\"col-row flex--center\"},[_c('div',{staticClass:\"e-print_txt\"},[_c('span',[_vm._v(\"總計\")]),_c('span',[_vm._v(\"筆數:\"+_vm._s(_vm.detailTotalObj.count)+\"筆\")]),_c('span',[_vm._v(\"總計:\"+_vm._s(_vm.convertNumberToMoney(_vm.detailTotalObj.total)))])])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.filterType === 'appropriation' && _vm.reconciliationList.length !== 0),expression:\"filterType === 'appropriation' && reconciliationList.length !== 0\"}],staticClass:\"col-row flex--center\"},[_c('div',{staticClass:\"e-print_txt\"},[_c('span',[_vm._v(\"總計\")]),_c('span',[_vm._v(\"筆數:\"+_vm._s(_vm.appropriationTotalObj.count)+\"筆\")]),_c('span',[_vm._v(\"總計:\"+_vm._s(_vm.convertNumberToMoney(_vm.appropriationTotalObj.total)))])])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.filterType === 'cardType'),expression:\"filterType === 'cardType'\"}],staticClass:\"col-row flex--center\"},[_c('div',{staticClass:\"e-print_txt\"},[_c('span',[_vm._v(\"總計\")]),_c('span',[_vm._v(\"筆數:\"+_vm._s(_vm.detailTotalObj.count)+\"筆\")]),_c('span',[_vm._v(\"總計:\"+_vm._s(_vm.convertNumberToMoney(_vm.detailTotalObj.total)))])])])],2)])])]),_c('LBlist',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpenStoreLB),expression:\"isOpenStoreLB\"}],attrs:{\"storeGroupList\":_vm.storeGroupList},on:{\"closeLBlist\":function($event){return _vm.closeLBlist()},\"getStoreList\":_vm.getStoreList,\"selectStore\":_vm.selectStore}}),_c('LBdetail',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpenDetailLB),expression:\"isOpenDetailLB\"}],attrs:{\"detail\":_vm.detail,\"detailTitle\":_vm.detailTitle,\"detailType\":_vm.detailType},on:{\"closeLBdetail\":function($event){return _vm.closeLBdetail()}}}),_c('LBtable',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpenTableLB),expression:\"isOpenTableLB\"}],attrs:{\"tableType\":_vm.tableType,\"batchNoTitle\":_vm.batchNoTitle,\"batchNoInfo\":_vm.batchNoInfo},on:{\"closeLBtable\":function($event){return _vm.closeLBtable()}}}),_c('Hint',{attrs:{\"show\":_vm.hintBox.show,\"message\":_vm.hintBox.msg},on:{\"closeHint\":function($event){return _vm.closeHint()}}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"col-3\"},[_c('span',[_vm._v(\"特約商店撥款交易查詢\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"col-row flex--center h-position--relative\"},[_c('div',{staticClass:\"e-print_title txt-c\"},[_c('span',[_vm._v(\"合作金庫商業銀行\")]),_c('p',[_vm._v(\"特約商店撥款交易明細表\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('td',[_vm._v(\"分期註記:I\"),_c('br'),_vm._v(\"TWQR註記:G\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"col-row flex--center\"},[_c('div',{staticClass:\"e-print_title txt-c\"},[_c('span',[_vm._v(\"合作金庫商業銀行\")]),_c('p',[_vm._v(\"特約商店撥款交易明細表 (支付寶)\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('tr',{staticClass:\"e-table_header--noBorder txt-keep\"},[_c('td',[_vm._v(\"撥款日\")]),_c('td',[_vm._v(\"結算日\")]),_c('td',[_vm._v(\"交易日\")]),_c('td',[_vm._v(\"交易時間\")]),_c('td',[_vm._v(\"交易別說明\")]),_c('td',[_vm._v(\"境外交易金額\")]),_c('td',[_vm._v(\"交易金額\")]),_c('td',[_vm._v(\"店家手續費\")]),_c('td',[_vm._v(\"買方手續費\")]),_c('td',[_vm._v(\"訂單編號\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"col-row flex--center\"},[_c('div',{staticClass:\"e-print_title txt-c\"},[_c('span',[_vm._v(\"合作金庫商業銀行\")]),_c('p',[_vm._v(\"特約商店撥款交易明細表 (調帳)\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('tr',{staticClass:\"e-table_header--noBorder txt-keep\"},[_c('td',[_vm._v(\"撥款日\")]),_c('td',[_vm._v(\"請款結帳日\")]),_c('td',[_vm._v(\"批號\")]),_c('td',[_vm._v(\"調整金額\")]),_c('td',[_vm._v(\"調整手續費\")]),_c('td',[_vm._v(\"說明\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"e-print_title txt-c\"},[_c('span',[_vm._v(\"合作金庫商業銀行\")]),_c('p',[_vm._v(\"特約商店撥款交易明細表 (撥款彙總)\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('tr',{staticClass:\"e-table_header--noBorder txt-keep\"},[_c('td',[_vm._v(\"端末機號\")]),_c('td',[_vm._v(\"撥款日\")]),_c('td',[_vm._v(\"類別註記\")]),_c('td',[_vm._v(\"結帳請款日\")]),_c('td',[_vm._v(\"合計筆數\")]),_c('td',[_vm._v(\"合計金額\")]),_c('td',[_vm._v(\"銷售筆數\")]),_c('td',[_vm._v(\"銷售金額\")]),_c('td',[_vm._v(\"退貨筆數\")]),_c('td',[_vm._v(\"退貨金額\")]),_c('td',[_vm._v(\"收單手續費\")]),_c('td',[_vm._v(\"代收轉付\")]),_c('td',[_vm._v(\"調整金額\")]),_c('td',[_vm._v(\"調整手續費\")]),_c('td',[_vm._v(\"撥款淨額\")]),_c('td',[_vm._v(\"查看明細\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"col-row flex--center\"},[_c('div',{staticClass:\"e-print_title txt-c\"},[_c('span',[_vm._v(\"合作金庫商業銀行\")]),_c('p',[_vm._v(\"特約商店撥款明細表 (卡別彙整)\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('tr',{staticClass:\"e-table_header--noBorder txt-keep\"},[_c('td',[_vm._v(\"卡別\")]),_c('td',[_vm._v(\"自行筆數\")]),_c('td',[_vm._v(\"自行金額\")]),_c('td',[_vm._v(\"他行筆數\")]),_c('td',[_vm._v(\"他行金額\")]),_c('td',[_vm._v(\"合計筆數\")]),_c('td',[_vm._v(\"合計金額\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"col-row flex--center\"},[_c('div',{staticClass:\"e-print_title txt-c\"},[_c('span',[_vm._v(\"合作金庫商業銀行\")]),_c('p',[_vm._v(\"特約商店撥款明細表 (發卡行交易統計-信用卡/銀聯卡)\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('tr',{staticClass:\"e-table_header--noBorder txt-keep\"},[_c('td',[_vm._v(\"發卡行代號\")]),_c('td',[_vm._v(\"發卡行\")]),_c('td',[_vm._v(\"筆數\")]),_c('td',[_vm._v(\"金額\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"col-row flex--center\"},[_c('div',{staticClass:\"e-print_title txt-c\"},[_c('span',[_vm._v(\"合作金庫商業銀行\")]),_c('p',[_vm._v(\"特約商店撥款明細表 (發卡行交易統計-金融卡)\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('tr',{staticClass:\"e-table_header--noBorder txt-keep\"},[_c('td',[_vm._v(\"發卡行代號\")]),_c('td',[_vm._v(\"發卡行\")]),_c('td',[_vm._v(\"筆數\")]),_c('td',[_vm._v(\"金額\")])])\n}]\n\nexport { render, staticRenderFns }","/* eslint-disable @typescript-eslint/camelcase */\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport Cookies from 'js-cookie';\r\n\r\nimport { BlankPage, Loading, Nav, LBlist, LBdetail, LBtable, Hint } from \"@/components\";\r\nimport { Reconciliation, Common, ScheduleReport } from \"@/constant\";\r\nimport { AppropriationModel, ScheduleReportModel } from \"@/models\";\r\nimport { TCBReceiptApi } from \"@/network/pb/proto\";\r\n\r\nimport { UserInfo } from \"@/types/Login\";\r\n\r\nimport { Priv } from \"@/util/Priv\";\r\nimport { DefaultPath } from \"@/constant/GroupPermission\";\r\nimport { Util } from \"@/util/Util\";\r\n\r\n// 特店 - 子項目 (每個特店資訊)\r\ntype Store = {\r\n id: number;\r\n code: string;\r\n name: string;\r\n selected: boolean;\r\n};\r\n\r\n// 特店 - 主項目 (統編號碼 + 全選)\r\ntype StoreGroup = {\r\n tidNumber: string;\r\n selected: boolean;\r\n storeList: Store[];\r\n};\r\n\r\n// 統計種類\r\ntype TotalItem = {\r\n infoType: number; // 種類 [2 => 批號小結, 3 => 端末機號小結, 4 => 合計]\r\n\r\n batchNo: string; // 批號小結\r\n subCount: number; // 筆數\r\n subTotal: number; // 小計\r\n\r\n dayTotal: number; // 每日小結\r\n\r\n terminal: string; // 端末機號小結\r\n terminalCount: number; // 端末機號小結 - 筆數\r\n terminalTotal: number; // 端末機號小結 - 小計\r\n\r\n count: number; // 合計 - 筆數\r\n total: number; // 合計 - 總計\r\n};\r\n\r\n// 統計支付寶\r\ntype AlipayItem = {\r\n infoType: number; // 種類 [2 => 小計, 3 => 合計]\r\n\r\n count: number; // 小計 / 合計 - 筆數\r\n outAmount: number; // 小計 / 合計 - 境外交易金額\r\n amount: number; // 小計 / 合計 - 交易金額\r\n};\r\n\r\n// 統計調帳\r\ntype MotifyItem = {\r\n infoType: number; // 種類 [2 => 小計, 3 => 合計]\r\n\r\n count: number; // 小計 / 合計 - 筆數\r\n amount: number; // 小計 / 合計 - 調整金額\r\n charge: number; // 小計 / 合計 - 調整手續費\r\n};\r\n\r\n// 撥款彙總 查看明細\r\ntype AppropriationDetailTotal = { infoType: number; terminalNo: string; count: number; total: number; };\r\ntype AppropriationDetailInfo = (TCBReceiptApi.Protobuf.AppropriationInfoCredit | AppropriationDetailTotal)[];\r\ntype AppropriationDetail = {\r\n // 特店代號\r\n [storeCode: string]: {\r\n // 端末機號\r\n [terminalNo: string]: {\r\n // 撥款日\r\n [date: string]: {\r\n // 類別( 1: C信用卡與非金融卡以外的, 2: F金融卡)\r\n [cardType: string]: AppropriationDetailInfo\r\n }\r\n }\r\n }\r\n};\r\n\r\n@Component({\r\n components: {\r\n BlankPage,\r\n Nav,\r\n Loading,\r\n LBlist,\r\n LBdetail,\r\n LBtable,\r\n Hint,\r\n },\r\n})\r\nexport default class ReconciliationAppropriationController extends Vue {\r\n private isLoading = true; // 控制顯示header\r\n\r\n // 搜尋引擎 - 空用元件\r\n // private isSearch\r\n private expireTime = 0;\r\n private periodMap = Reconciliation.PeriodMap;\r\n private transactionMap = Reconciliation.TransactionMap;\r\n private noteMap = Reconciliation.AppropriationNoteMap;\r\n private cardMap = Reconciliation.CardMap;\r\n private typeFlagMap = Reconciliation.TypeFlagMap;\r\n private minDate = \"\";\r\n private maxDate = \"\";\r\n\r\n private searchItem: {\r\n storeType: number;\r\n tidNumber: string;\r\n storeArr: string[];\r\n type: number; // 搜尋欄位 { 1: 撥款日區間, 2: 交易日, 3: 結帳請款日 }\r\n periodType: number; // 日期區間\r\n start: string;\r\n end: string;\r\n transactionType: number;\r\n noteType: number;\r\n\r\n cardType: string[];\r\n cardNum: string;\r\n orderNum: string;\r\n machineCodeStart: string;\r\n machineCodeEnd: string;\r\n authCode: string;\r\n } = {\r\n storeType: 0,\r\n tidNumber: \"\",\r\n storeArr: [],\r\n type: 1, // 前端固定是搜尋 撥款日區間 = 1\r\n periodType: 1,\r\n start: \"\",\r\n end: \"\",\r\n transactionType: 0,\r\n noteType: 0,\r\n cardType: [\"1\", \"2\", \"3\", \"4\", \"5\"],\r\n cardNum: \"\",\r\n orderNum: \"\",\r\n machineCodeStart: \"\",\r\n machineCodeEnd: \"\",\r\n authCode: \"\",\r\n };\r\n private datePeriodStartMax = \"\";\r\n\r\n private tidNumberArr:string[] = [];\r\n\r\n // 選取特約清單 => 是否展開LB\r\n private storeGroupList: StoreGroup[] = [];\r\n private isOpenStoreLB = false;\r\n\r\n // filter => 依特店彙總, 依入帳號彙總\r\n private filterType = \"detail\";\r\n\r\n // 列表\r\n private reconciliationList: TCBReceiptApi.Protobuf.IReconciliation[] = [];\r\n private appropriationMap = TCBReceiptApi.Protobuf.AppropriationMap.create();\r\n\r\n // 明細\r\n private byCardMap: { [k: string]: (TCBReceiptApi.Protobuf.AppropriationInfoCredit | TotalItem)[] } = {};\r\n private byMotifyMap: { [k: string]: (TCBReceiptApi.Protobuf.AppropriationInfoMotify | MotifyItem)[] } = {};\r\n private byAlipayMap: { [k: string]: (TCBReceiptApi.Protobuf.AppropriationInfoAlipay | AlipayItem)[] } = {};\r\n\r\n // 撥款彙總\r\n private byAppropriationMap: { [k: string]: TCBReceiptApi.Protobuf.AppropriationInfoSummary[] } = {};\r\n\r\n // 卡別彙總\r\n private cardTypeMap: { [k: string]: TCBReceiptApi.Protobuf.AppropriationSummaryByCardType } = {};\r\n private creditCardMap: { [k: string]: (TCBReceiptApi.Protobuf.AppropriationInfoSummaryByIssuer | { count: number, amount: number, infoType: number })[] } = {};\r\n private debitCardMap: { [k: string]: (TCBReceiptApi.Protobuf.AppropriationInfoSummaryByIssuer | { count: number, amount: number, infoType: number })[] } = {};\r\n\r\n // 總計 - 明細 / 依撥款彙總 / 依卡別彙總\r\n private detailTotalObj: { count: number, total: number } = { count: 0, total: 0 };\r\n private appropriationTotalObj: { count: number, total: number } = { count: 0, total: 0 };\r\n private cardTypeTotalObj: { count: number, total: number } = { count: 0, total: 0 };\r\n\r\n // 展開收合\r\n private isUnfold = false;\r\n private unfoldList: string[] = [];\r\n\r\n // 展開明細\r\n private showAllList: string[] = [];\r\n\r\n // 查看明細 => 是否展開LB\r\n private isOpenDetailLB = false;\r\n private detailTitle: object = {};\r\n private detail = TCBReceiptApi.Protobuf.AppropriationInfoCredit.create();\r\n private detailType = 1; // 預設 1 => 請款, 2 => 撥款\r\n\r\n // 查看明細 => 依撥款彙總的查看\r\n private appropriationDetail: AppropriationDetail = {};\r\n private isOpenTableLB = false;\r\n private batchNoTitle = TCBReceiptApi.Protobuf.Reconciliation.create();\r\n private batchNoInfo: object = {};\r\n private tableType = 1; // 預設 1 => 請款, 2 => 撥款\r\n\r\n // LB\r\n private hintBox: { show: boolean, msg: string } = { show: false, msg: \"\" };\r\n\r\n // 屬於該帳號下的統編 => 用來取得特店清單\r\n private tidNumber = \"\";\r\n\r\n public async created() {\r\n /* 取得最新的權限map並判斷有何權限 */\r\n await this.setPriv();\r\n /* 取得最新的權限map並判斷有何權限 */\r\n\r\n const userInfo: UserInfo = JSON.parse(Cookies.get(\"appUserInfo\") as string);\r\n this.tidNumber = userInfo.identification as string;\r\n console.log(this.tidNumber);\r\n\r\n const day = new Date();\r\n this.searchItem.end = day.toISOString().split(\"T\")[0];\r\n this.datePeriodStartMax = day.toISOString().split(\"T\")[0];\r\n this.searchItem.start = day.toISOString().split(\"T\")[0];\r\n\r\n /* sample data */\r\n // 一般撥款資料\r\n // this.searchItem.start = \"2021-03-15\";\r\n // this.searchItem.end = \"2021-04-15\";\r\n // 支付寶用\r\n // this.searchItem.start = \"2020-06-29\";\r\n // this.searchItem.end = \"2020-06-29\";\r\n /* sample data */ \r\n\r\n this.isLoading = false;\r\n\r\n localStorage.removeItem(\"FrontReconciliationAppropriation\");\r\n }\r\n\r\n /* 選取特店清單LB */\r\n // 取得特店清單\r\n private async getStoreList(tidNumber: string) {\r\n const item = TCBReceiptApi.Protobuf.StoreInsertQuery.create({\r\n type: TCBReceiptApi.Protobuf.StoreInsertQueryType.SIQT_TID_NUMBER,\r\n identification: tidNumber,\r\n });\r\n\r\n const storeInsertQuery = TCBReceiptApi.Protobuf.StoreInsertQuery.encode(\r\n item\r\n ).finish();\r\n await AppropriationModel.getStoreSearch(storeInsertQuery);\r\n\r\n /* 取得該帳號下的特店清單 */\r\n const storeUserPermissionMap = AppropriationModel.getStoreList().map;\r\n console.log(\"StoreUserPermissionMap\");\r\n console.log(storeUserPermissionMap);\r\n\r\n Object.keys(storeUserPermissionMap).forEach(thisTidNumber => {\r\n const rawSearchList = storeUserPermissionMap[thisTidNumber] as TCBReceiptApi.Protobuf.StoreUserPermissionList;\r\n // 組成map傳至LB給component使用\r\n const storeList: Store[] = [];\r\n\r\n rawSearchList.list.forEach((thisStore: any) => {\r\n const store: Store = {\r\n id: thisStore.storeId as number,\r\n code: thisStore.storeCode as string,\r\n name: thisStore.registerName?.trim() as string,\r\n selected: true,//預設全選\r\n };\r\n\r\n storeList.push(store);\r\n });\r\n\r\n const storeGroup: StoreGroup = {\r\n tidNumber: thisTidNumber,\r\n selected: true,//預設全選\r\n storeList: storeList,\r\n };\r\n\r\n this.storeGroupList.push(storeGroup);\r\n });\r\n /* 取得該帳號下的特店清單 */\r\n }\r\n\r\n private closeLBlist() {\r\n this.isOpenStoreLB = false;\r\n }\r\n\r\n private selectStore(type: number, tidNumber: string, storeArr: string[], tidNumberArr: string[]) {\r\n this.searchItem.storeType = type;\r\n this.searchItem.tidNumber = tidNumber;\r\n this.searchItem.storeArr = storeArr;\r\n this.tidNumberArr = tidNumberArr;\r\n\r\n this.isOpenStoreLB = false;\r\n }\r\n /* 選取特店清單LB */\r\n\r\n /* 起訖日期 */\r\n private bindDateType() {\r\n if (String(this.searchItem.periodType) === \"2\") {\r\n // 調整日期的起訖\r\n const day = new Date();\r\n this.searchItem.end = day.toISOString().split(\"T\")[0];\r\n day.setDate(day.getDate() - 7);\r\n this.searchItem.start = day.toISOString().split(\"T\")[0];\r\n this.datePeriodStartMax = day.toISOString().split(\"T\")[0];\r\n } else if (String(this.searchItem.periodType) === \"3\") {\r\n // 調整日期的起訖\r\n const day = new Date();\r\n this.searchItem.end = day.toISOString().split(\"T\")[0];\r\n day.setDate(day.getDate() - 31);\r\n this.searchItem.start = day.toISOString().split(\"T\")[0];\r\n this.datePeriodStartMax = day.toISOString().split(\"T\")[0];\r\n } else {\r\n const day = new Date();\r\n this.datePeriodStartMax = day.toISOString().split(\"T\")[0];\r\n }\r\n }\r\n\r\n private bindDatePeriod() {\r\n if (String(this.searchItem.periodType) === \"2\") {\r\n // 調整日期的起訖\r\n const day = new Date(this.searchItem.start);\r\n this.searchItem.start = day.toISOString().split(\"T\")[0];\r\n day.setDate(day.getDate() + 7);\r\n this.searchItem.end = day.toISOString().split(\"T\")[0];\r\n } else if (String(this.searchItem.periodType) === \"3\") {\r\n // 調整日期的起訖\r\n const day = new Date(this.searchItem.start);\r\n this.searchItem.start = day.toISOString().split(\"T\")[0];\r\n day.setDate(day.getDate() + 31);\r\n this.searchItem.end = day.toISOString().split(\"T\")[0];\r\n }\r\n\r\n const day = new Date(this.searchItem.start);\r\n\r\n if (\r\n new Date(this.searchItem.start).getTime() >\r\n new Date(this.searchItem.end).getTime()\r\n ) {\r\n this.searchItem.end = this.searchItem.start;\r\n }\r\n\r\n this.minDate = day.toISOString().split(\"T\")[0];\r\n day.setDate(day.getDate() + 31);\r\n this.maxDate = day.toISOString().split(\"T\")[0];\r\n\r\n if (\r\n (new Date(this.searchItem.end).getTime() - new Date(this.searchItem.start).getTime()) >= 86400 * 31 * 1000\r\n ) {\r\n this.searchItem.end = day.toISOString().split(\"T\")[0];\r\n }\r\n }\r\n /* 起訖日期 */\r\n\r\n /* LB */\r\n private openHint(msg: string) {\r\n this.hintBox.msg = msg;\r\n this.hintBox.show = true;\r\n }\r\n private closeHint() {\r\n this.hintBox.msg = \"\";\r\n this.hintBox.show = false;\r\n }\r\n /* LB */\r\n\r\n /* 搜尋 */\r\n private validCondition(): boolean {\r\n // 沒有選取特店\r\n if (this.searchItem.storeType === 0) {\r\n this.openHint(Common.ErrorCodeMap[Common.ErrorHintMap.RequireStore]);\r\n return false;\r\n }\r\n\r\n if (this.searchItem.start === \"\" || this.searchItem.end === \"\") {\r\n this.openHint(Common.ErrorCodeMap[Common.ErrorHintMap.RequireDate]);\r\n return false;\r\n }\r\n\r\n // 無法查詢未來時間\r\n const startUnix = new Date(this.searchItem.start).getTime();\r\n const endUnix = new Date(this.searchItem.end).getTime();\r\n const dUnix = new Date().getTime(); // today unix\r\n if ((startUnix > dUnix) || (endUnix > dUnix)) {\r\n this.openHint(Common.ErrorCodeMap[Common.ErrorHintMap.DatePeriodError]);\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n private async searchByCondition() {\r\n if (!this.validCondition()) {\r\n return false;\r\n }\r\n\r\n if (!Util.passReconciliationByCookie()) {\r\n return;\r\n }\r\n\r\n this.isLoading = true;\r\n\r\n /* 整理condition */\r\n // 選取特店\r\n const item = TCBReceiptApi.Protobuf.AppropriationQuery.create();\r\n item.storeList = this.searchItem.storeArr; // 特店清單 - 輸入\"特店代號\"\"\r\n item.tidNumber = this.searchItem.tidNumber;\r\n // 左側\r\n item.dateType = this.searchItem.type; // 搜尋種類 [撥款日區間, 交易日, 結帳請款日]\r\n item.dateStart = this.searchItem.start; // 起\r\n item.dateEnd = this.searchItem.end; // 訖\r\n item.type = this.searchItem.transactionType; // 交易別\r\n item.flag = this.searchItem.noteType; // 註記\r\n // 右側\r\n item.cardType = this.searchItem.cardType.join(\",\"); // 卡別\r\n item.cardNo = this.searchItem.cardNum; // 卡號\r\n item.orderNo = this.searchItem.orderNum; // 訂單編號\r\n item.terminalNoStart = this.searchItem.machineCodeStart; // 端末機號區間 起\r\n item.terminalNoEnd = this.searchItem.machineCodeEnd; // 端末機號區間 訖\r\n item.authCode = this.searchItem.authCode; // 授權碼\r\n /* 整理condition */\r\n\r\n console.log(\"================\");\r\n console.log(\"撥款搜尋參數\");\r\n console.log(item);\r\n\r\n /* 寫入 local storage 方便列印 */\r\n const storageItem: {\r\n filterType: string,\r\n search: TCBReceiptApi.Protobuf.AppropriationQuery,\r\n } = {\r\n filterType: this.filterType,\r\n search: item,\r\n }\r\n localStorage.setItem(\"FrontReconciliationAppropriation\", JSON.stringify(storageItem));\r\n /* 寫入 local storage 方便列印 */\r\n\r\n const appropriationQuery = TCBReceiptApi.Protobuf.AppropriationQuery.encode(\r\n item\r\n ).finish();\r\n\r\n /* init */\r\n this.init();\r\n /* init */ \r\n\r\n /* 取得統計 */\r\n // 明細\r\n await AppropriationModel.getAppropriationTotal(appropriationQuery);\r\n const appropriationTotal = AppropriationModel.getAppropriationTotalData();\r\n await this.countDetailTotal(appropriationTotal);\r\n\r\n if (this.detailTotalObj.count > process.env.VUE_APP_LIST_COUNT_LIMIT) {\r\n // insert schedule_report\r\n const reportParams = TCBReceiptApi.Protobuf.ScheduleReportInfo.create();\r\n reportParams.type = 2;\r\n reportParams.fromWhere = ScheduleReport.WhereCode.Appropriation;\r\n reportParams.params = JSON.stringify(item);\r\n reportParams.count = this.detailTotalObj.count;\r\n\r\n const scheduleReportInfo = TCBReceiptApi.Protobuf.ScheduleReportInfo.encode(reportParams).finish();\r\n await ScheduleReportModel.add(scheduleReportInfo);\r\n\r\n this.isLoading = false;\r\n this.openHint(Common.ErrorCodeMap[Common.ErrorHintMap.ListCountExceed]);\r\n return false;\r\n }\r\n\r\n // 撥款彙總\r\n await AppropriationModel.getAppropriationSummaryTotal(appropriationQuery);\r\n const appropriationSummaryTotal = AppropriationModel.getAppropriationSummaryTotalData();\r\n this.appropriationTotalObj = appropriationSummaryTotal;\r\n\r\n // 卡別彙總\r\n const appropriationSummaryByCardTypeTotal = await AppropriationModel.getAppropriationSummaryByCardTypeCollectionTotal(appropriationQuery);\r\n this.cardTypeTotalObj = appropriationSummaryByCardTypeTotal;\r\n /* 取得統計 */\r\n\r\n /* 取得列表 */\r\n await AppropriationModel.getReimbursement(appropriationQuery);\r\n const reimbursementList = AppropriationModel.getReimbursementList();\r\n console.log(\"/* 取得列表 */\");\r\n console.log(reimbursementList);\r\n console.log(\"/* 取得列表 */\");\r\n this.reconciliationList = reimbursementList.list;\r\n /* 取得列表 */\r\n\r\n /* 取得展開資料 - map */\r\n await AppropriationModel.getAppropriationMap(appropriationQuery);\r\n\r\n const appropriationMapData = AppropriationModel.getAppropriationMapData() as TCBReceiptApi.Protobuf.AppropriationMap;\r\n console.log(\"================\");\r\n console.log(\"api => get_by_condition 明細彙總,包含撥款彙總查看的資料來源: card(明細), cardByType(彙總)\");\r\n console.log(appropriationMapData);\r\n this.countTotalFromMap(appropriationMapData.map);\r\n\r\n // 第一次預先展開\r\n this.unfoldList = [];\r\n Object.keys(appropriationMapData.map).forEach(\r\n (thisStoreCode) => {\r\n this.unfoldList.push(thisStoreCode);\r\n }\r\n );\r\n /* 取得展開資料 - map */\r\n\r\n /* 取得撥款彙總 */\r\n console.log(\"取得撥款彙總\");\r\n await AppropriationModel.getAppropriationSummaryMap(appropriationQuery);\r\n const appropriationSummaryMapData = AppropriationModel.getAppropriationSummaryMapData() as TCBReceiptApi.Protobuf.AppropriationSummaryMap;\r\n console.log(appropriationSummaryMapData);\r\n this.countTotalBySummaryMap(appropriationSummaryMapData.map);\r\n console.log(\"================\");\r\n console.log(\"api => get_summary_by_condition 撥款彙總列表\");\r\n console.log(appropriationSummaryMapData);\r\n console.log(\"----彙總後----\");\r\n console.log(this.byAppropriationMap);\r\n /* 取得撥款彙總 */\r\n\r\n /* 取得卡別彙總 */\r\n await AppropriationModel.getAppropriationSummaryByCardTypeCollectionMap(appropriationQuery);\r\n const appropriationSummaryByCardTypeCollectionMapData = AppropriationModel.getAppropriationSummaryByCardTypeCollectionMapData() as TCBReceiptApi.Protobuf.AppropriationSummaryByCardTypeCollectionMap;\r\n console.log(\"appropriationSummaryByCardTypeCollectionMapData\");\r\n console.log(appropriationSummaryByCardTypeCollectionMapData);\r\n this.countTotalByCardTypeCollectionMap(appropriationSummaryByCardTypeCollectionMapData.map);\r\n /* 取得卡別彙總 */\r\n\r\n this.isLoading = false;\r\n }\r\n /* 搜尋 */\r\n\r\n /* filter => 明細, 依撥款彙總, 依卡別彙總 */\r\n private async changeFilter(type: string) {\r\n this.filterType = type;\r\n\r\n /* 寫入 local storage 方便列印 */\r\n const reconciliationAppropriationJson = localStorage.getItem(\"FrontReconciliationAppropriation\") as string;\r\n if (reconciliationAppropriationJson && reconciliationAppropriationJson !== \"\") {\r\n const reconciliationAppropriation = JSON.parse(reconciliationAppropriationJson) as { filterType: string, search: TCBReceiptApi.Protobuf.ReimbursementQuery };\r\n\r\n const storageItem: {\r\n filterType: string,\r\n search: TCBReceiptApi.Protobuf.ReimbursementQuery,\r\n } = {\r\n filterType: type,\r\n search: reconciliationAppropriation.search,\r\n }\r\n localStorage.setItem(\"FrontReconciliationAppropriation\", JSON.stringify(storageItem));\r\n }\r\n /* 寫入 local storage 方便列印 */ \r\n }\r\n /* filter => 明細, 依撥款彙總, 依卡別彙總 */\r\n\r\n /* 展開收合 */\r\n private checkIsUnfold(storeCode: string) {\r\n let isUnfold = false;\r\n this.unfoldList.some((thisStoreCode) => {\r\n if (thisStoreCode === storeCode) {\r\n isUnfold = true;\r\n return true;\r\n }\r\n });\r\n return isUnfold;\r\n }\r\n\r\n private async foldAndUnfoldItem(storeCode: string) {\r\n const isExist = this.unfoldList.findIndex(\r\n (thisStoreCode) => thisStoreCode === storeCode\r\n );\r\n if (isExist >= 0) {\r\n // 已經展開\r\n this.unfoldList.splice(isExist, 1);\r\n } else {\r\n // 判斷map是否有對應資料, 有 => 直接加入展開列表, 否 => 動態拿資料回來顯示\r\n if (!this.byCardMap[storeCode] || !this.byMotifyMap[storeCode] || !this.byAlipayMap[storeCode]\r\n || !this.byAppropriationMap[storeCode]\r\n || !this.cardTypeMap[storeCode] || !this.creditCardMap[storeCode]) {\r\n\r\n /* 整理condition */\r\n // 選取特店\r\n const item = TCBReceiptApi.Protobuf.AppropriationQuery.create();\r\n item.storeList = this.searchItem.storeArr; // 特店清單 - 輸入\"特店代號\"\"\r\n item.tidNumber = this.searchItem.tidNumber;\r\n // 左側\r\n item.dateType = this.searchItem.type; // 搜尋種類 [撥款日區間, 交易日, 結帳請款日]\r\n item.dateStart = this.searchItem.start; // 起\r\n item.dateEnd = this.searchItem.end; // 訖\r\n item.type = this.searchItem.transactionType; // 交易別\r\n item.flag = this.searchItem.noteType; // 註記\r\n // 右側\r\n item.cardType = this.searchItem.cardType.join(\",\"); // 卡別\r\n item.cardNo = this.searchItem.cardNum; // 卡號\r\n item.orderNo = this.searchItem.orderNum; // 訂單編號\r\n item.terminalNoStart = this.searchItem.machineCodeStart; // 端末機號區間 起\r\n item.terminalNoEnd = this.searchItem.machineCodeEnd; // 端末機號區間 訖\r\n item.specificStore = storeCode; // 單一特店\r\n /* 整理condition */\r\n\r\n const appropriationQuery = TCBReceiptApi.Protobuf.AppropriationQuery.encode(\r\n item\r\n ).finish();\r\n\r\n /* 取得展開資料 */\r\n // 明細\r\n await AppropriationModel.getAppropriation(appropriationQuery);\r\n const appropriation = AppropriationModel.getAppropriationData();\r\n console.log(\"================\");\r\n console.log('取得展開資料 - 明細');\r\n console.log(appropriation);\r\n const detailItem: { [k: string]: TCBReceiptApi.Protobuf.IAppropriation } = {};\r\n detailItem[storeCode] = appropriation;\r\n this.countTotalFromMap(detailItem);\r\n\r\n // 撥款彙總\r\n await AppropriationModel.getAppropriationSummary(appropriationQuery);\r\n const appropriationSummary = AppropriationModel.getAppropriationSummaryData();\r\n console.log(\"================\");\r\n console.log('取得展開資料 - 撥款彙總');\r\n console.log(appropriationSummary);\r\n const appropriationItem: { [k: string]: TCBReceiptApi.Protobuf.IAppropriationSummaryTerminalNoMap } = {};\r\n appropriationItem[storeCode] = appropriationSummary;\r\n this.countTotalBySummaryMap(appropriationItem);\r\n\r\n // 卡別彙總\r\n await AppropriationModel.getAppropriationSummaryByCardTypeCollection(appropriationQuery);\r\n const appropriationSummaryByCardTypeCollection = AppropriationModel.getAppropriationSummaryByCardTypeCollectionData();\r\n console.log(\"================\");\r\n console.log('取得展開資料 - 卡別彙總');\r\n console.log(appropriationSummaryByCardTypeCollection);\r\n const cardItem: { [k: string]: TCBReceiptApi.Protobuf.IAppropriationSummaryByCardTypeCollection } = {};\r\n cardItem[storeCode] = appropriationSummaryByCardTypeCollection;\r\n this.countTotalByCardTypeCollectionMap(cardItem);\r\n /* 取得展開資料 */\r\n }\r\n this.unfoldList.push(storeCode);\r\n }\r\n }\r\n /* 展開收合 */\r\n\r\n /* 展開明細 */\r\n private showAll(storeCode: string) {\r\n const isExist = this.showAllList.findIndex(\r\n (thisStoreCode) => thisStoreCode === storeCode\r\n );\r\n\r\n if (isExist >= 0) {\r\n this.showAllList.splice(isExist, 1);\r\n } else {\r\n this.showAllList.push(storeCode);\r\n }\r\n }\r\n\r\n private IsShowAllItem(storeCode: string) {\r\n const isExist = this.showAllList.findIndex(\r\n (thisStoreCode) => thisStoreCode === storeCode\r\n );\r\n\r\n return isExist >= 0;\r\n }\r\n /* 展開明細 */\r\n\r\n /* 查看批號明細 */\r\n private openTableLB(reconciliation: TCBReceiptApi.Protobuf.Reconciliation, summaryInfo: TCBReceiptApi.Protobuf.AppropriationInfoSummary) { \r\n // reconciliation 列表資訊(顯示title), summaryInfo 彙總資訊(索引map用)\r\n console.log(\"================\");\r\n console.log('查看撥款彙總> 導入的特店');\r\n console.log(reconciliation);\r\n console.log(summaryInfo);\r\n // 撥款的batchNo是類別註記typeFlag\r\n this.tableType = 2; // 查看樣式 預設 1 => 請款, 2 => 撥款\r\n this.batchNoTitle = reconciliation as TCBReceiptApi.Protobuf.Reconciliation;\r\n this.batchNoInfo = this.appropriationDetail[reconciliation.storeCode][summaryInfo.terminalNo][summaryInfo.date][summaryInfo.typeFlag] as AppropriationDetailInfo;\r\n\r\n this.isOpenTableLB = true;\r\n }\r\n\r\n private closeLBtable() {\r\n this.isOpenTableLB = false;\r\n }\r\n /* 查看批號明細 */\r\n\r\n /* 查看明細 */\r\n private openDetailLB(\r\n reconciliation: any,\r\n info: TCBReceiptApi.Protobuf.AppropriationInfoCredit,\r\n type = 1 // 預設 1 => 請款, 2 => 撥款\r\n ) {\r\n this.detailTitle = reconciliation;\r\n this.detail = info;\r\n this.detailType = type;\r\n\r\n this.isOpenDetailLB = true;\r\n }\r\n\r\n private closeLBdetail() {\r\n this.isOpenDetailLB = false;\r\n }\r\n /* 查看明細 */\r\n\r\n /* 其他 */\r\n private isNotNatureNum(val: string) {\r\n if (val) {\r\n const num = (val + \"\").replace(/,/g, \"\");\r\n return Number(num) <= 0;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n // 數字轉千分位 (number to string) ps.保留數字小數點至第二位\r\n private convertNumberToMoney(num: number) {\r\n if (!num) {\r\n return 0;\r\n }\r\n let a: string = (num + \"\").replace(/,/g, \"\");\r\n if (a.indexOf(\".\") != -1) {\r\n if (a.split(\".\")[1].length > 2) {\r\n a = Math.round(+a * 100) / 100 + \"\";\r\n }\r\n if (a.split(\".\").length == 2) {\r\n return (+a.split(\".\")[0]).toLocaleString() + \".\" + a.split(\".\")[1];\r\n } else {\r\n return (+a.split(\".\")[0]).toLocaleString();\r\n }\r\n } else {\r\n return (+a.split(\".\")[0]).toLocaleString();\r\n }\r\n }\r\n\r\n // 統計 - 明細\r\n private countTotalFromMap(storeCodeMap: { [k: string]: TCBReceiptApi.Protobuf.IAppropriation; }) {\r\n if (storeCodeMap) {\r\n Object.keys(storeCodeMap).forEach(thisStoreCode => {\r\n /* 卡別 */\r\n const cardInfoList: (TCBReceiptApi.Protobuf.AppropriationInfoCredit | TotalItem)[] = []; // 紀錄卡別明細 => 每一條資料\r\n // 合計\r\n let countByCard = 0;\r\n let totalByCard = 0;\r\n\r\n const cardMenu = storeCodeMap[thisStoreCode].card as TCBReceiptApi.Protobuf.AppropriationCreditFirstMap;\r\n const terminalMap = cardMenu.byFirstColumn as { [k: string]: TCBReceiptApi.Protobuf.AppropriationCreditSecondMap };\r\n if (cardMenu && terminalMap) {\r\n Object.keys(terminalMap).forEach(thisTerminal => {\r\n // 端末機號小結\r\n let terminalCount = 0;\r\n let terminalTotal = 0;\r\n\r\n const dateMap = terminalMap[thisTerminal].bySecondColumn as { [k: string]: TCBReceiptApi.Protobuf.AppropriationCreditBatchNoMap };\r\n if (dateMap) {\r\n Object.keys(dateMap).forEach(thisDate => {\r\n // 每日小結\r\n let dayTotal = 0;\r\n\r\n const batchNoMap = dateMap[thisDate].byBatchNo as { [k: string]: TCBReceiptApi.Protobuf.AppropriationCredit };\r\n if (batchNoMap) {\r\n Object.keys(batchNoMap).forEach(thisBatchNo => {\r\n const infoList = batchNoMap[thisBatchNo].list as TCBReceiptApi.Protobuf.AppropriationInfoCredit[];\r\n if (infoList) {\r\n // 批號小結\r\n const batchNoCount = infoList.length;\r\n let batchNoTotal = 0;\r\n\r\n infoList.forEach(thisInfo => {\r\n // 每一條明細\r\n cardInfoList.push(thisInfo);\r\n // 統計 - 批號小結\r\n batchNoTotal += (thisInfo.amount as number);\r\n // 統計 - 每日小結\r\n dayTotal += (thisInfo.amount as number);\r\n // 統計 - 端末機號小結\r\n terminalCount += 1;\r\n terminalTotal += (thisInfo.amount as number);\r\n // 統計 - 合計\r\n countByCard += 1;\r\n totalByCard += (thisInfo.amount as number);\r\n });\r\n\r\n const addItem: TotalItem = {\r\n infoType: 2, // 種類 [2 => 批號小結, 3 => 端末機號小結, 4 => 合計]\r\n\r\n batchNo: thisBatchNo, // 批號小結\r\n subCount: batchNoCount, // 筆數\r\n subTotal: batchNoTotal, // 小計\r\n\r\n dayTotal: 0, // 每日小結\r\n\r\n terminal: \"\", // 端末機號小結\r\n terminalCount: 0, // 端末機號小結 - 筆數\r\n terminalTotal: 0, // 端末機號小結 - 小計\r\n\r\n count: 0, // 合計 - 筆數\r\n total: 0, // 合計 - 總計\r\n };\r\n cardInfoList.push(addItem);\r\n }\r\n });\r\n }\r\n\r\n // 觀念 : 為了要讓每日小結與批號小結同層 在此無法使用push新增 而是對當前cardInfoList列表最後一筆做編輯 額外設定每日小結\r\n // 實作 : 直接使用arr.pop() 取得最後一組item且原先arr會被移除 再插入新整理好的item\r\n const lastItem: TotalItem = cardInfoList.pop() as TotalItem;\r\n if (lastItem) {\r\n const editItem: TotalItem = {\r\n infoType: 2, // 種類 [2 => 批號小結, 3 => 端末機號小結, 4 => 合計]\r\n\r\n batchNo: lastItem.batchNo, // 批號小結\r\n subCount: lastItem.subCount, // 筆數\r\n subTotal: lastItem.subTotal, // 小計\r\n\r\n dayTotal: dayTotal, // 每日小結\r\n\r\n terminal: \"\", // 端末機號小結\r\n terminalCount: lastItem.terminalCount, // 端末機號小結 - 筆數\r\n terminalTotal: lastItem.terminalTotal, // 端末機號小結 - 小計\r\n\r\n count: lastItem.count, // 合計 - 筆數\r\n total: lastItem.total, // 合計 - 總計\r\n };\r\n cardInfoList.push(editItem);\r\n }\r\n });\r\n }\r\n\r\n const addItem: TotalItem = {\r\n infoType: 3, // 種類 [2 => 批號小結, 3 => 端末機號小結, 4 => 合計]\r\n\r\n batchNo: \"\", // 批號小結\r\n subCount: 0, // 筆數\r\n subTotal: 0, // 小計\r\n\r\n dayTotal: 0, // 每日小結\r\n\r\n terminal: thisTerminal, // 端末機號小結\r\n terminalCount: terminalCount, // 端末機號小結 - 筆數\r\n terminalTotal: terminalTotal, // 端末機號小結 - 小計\r\n\r\n count: 0, // 合計 - 筆數\r\n total: 0, // 合計 - 總計\r\n };\r\n cardInfoList.push(addItem);\r\n });\r\n\r\n // if (countByCard > 0) {\r\n const addItem: TotalItem = {\r\n infoType: 4, // 種類 [2 => 批號小結, 3 => 端末機號小結, 4 => 合計]\r\n\r\n batchNo: \"\", // 批號小結\r\n subCount: 0, // 筆數\r\n subTotal: 0, // 小計\r\n\r\n dayTotal: 0, // 每日小結\r\n\r\n terminal: \"\", // 端末機號小結\r\n terminalCount: 0, // 端末機號小結 - 筆數\r\n terminalTotal: 0, // 端末機號小結 - 小計\r\n\r\n count: countByCard, // 合計 - 筆數\r\n total: totalByCard, // 合計 - 總計\r\n };\r\n cardInfoList.push(addItem);\r\n // }\r\n }\r\n\r\n // 裝入卡別的map\r\n if (cardInfoList.length > 0) {\r\n this.byCardMap[thisStoreCode] = cardInfoList; // 吃嚴謹的型別 => byCardMap也需要把TotalItem加入型別宣告\r\n // this.$set(this.byCardMap, thisStoreCode, cardInfoList); // 就算型別不一致也能set在同一組object, 沒有嚴謹的規範\r\n }\r\n /* 卡別 */\r\n\r\n /* 支付寶 */\r\n const alipayInfoList: (TCBReceiptApi.Protobuf.AppropriationInfoAlipay | AlipayItem)[] = []; // 紀錄支付寶明細 => 每一條資料\r\n\r\n const alipayMenu = storeCodeMap[thisStoreCode].alipay as TCBReceiptApi.Protobuf.AppropriationAlipayDateMap;\r\n if (alipayMenu && alipayMenu.byDate) {\r\n const dateMap = alipayMenu.byDate as { [k: string]: TCBReceiptApi.Protobuf.AppropriationAlipay };\r\n if (dateMap) {\r\n // let\r\n let totalCount = 0;\r\n let totalAbroadAmount = 0;\r\n let totalAmount = 0;\r\n\r\n Object.keys(dateMap).forEach(thisDate => {\r\n const infoList = dateMap[thisDate].list as TCBReceiptApi.Protobuf.AppropriationInfoAlipay[];\r\n if (infoList) {\r\n const dateCount = infoList.length;\r\n let dateAbroadAmount = 0;\r\n let dateAmount = 0;\r\n\r\n infoList.forEach(thisInfo => {\r\n // 每一條明細\r\n alipayInfoList.push(thisInfo);\r\n // 統計 - 每日小計\r\n dateAbroadAmount += (thisInfo.abroadAmount as number);\r\n dateAmount += (thisInfo.amount as number);\r\n // 統計 - 合計\r\n totalCount += 1;\r\n totalAbroadAmount += (thisInfo.abroadAmount as number);\r\n totalAmount += (thisInfo.amount as number);\r\n });\r\n\r\n const addItem: AlipayItem = {\r\n infoType: 2, // 種類 [2 => 小計, 3 => 合計]\r\n\r\n count: dateCount, // 筆數\r\n outAmount: dateAbroadAmount, // 境外交易金額\r\n amount: dateAmount, // 交易金額\r\n };\r\n alipayInfoList.push(addItem);\r\n }\r\n });\r\n\r\n if (totalCount > 0) {\r\n const addItem: AlipayItem = {\r\n infoType: 3, // 種類 [2 => 小計, 3 => 合計]\r\n\r\n count: totalCount, // 筆數\r\n outAmount: totalAbroadAmount, // 境外交易金額\r\n amount: totalAmount, // 交易金額\r\n };\r\n alipayInfoList.push(addItem);\r\n }\r\n\r\n }\r\n\r\n }\r\n // 裝入\b調帳的map\r\n if (alipayInfoList.length > 0) {\r\n this.byAlipayMap[thisStoreCode] = alipayInfoList; // 吃嚴謹的型別 => byAlipayMap也需要把AlipayItem加入型別宣告\r\n }\r\n /* 支付寶 */\r\n\r\n /* 調帳 */\r\n const motifyInfoList: (TCBReceiptApi.Protobuf.AppropriationInfoMotify | MotifyItem)[] = []; // 紀錄調帳明細 => 每一條資料\r\n\r\n const motifyMenu = storeCodeMap[thisStoreCode].motify as TCBReceiptApi.Protobuf.AppropriationMotifyDateMap;\r\n if (motifyMenu && motifyMenu.byDate) {\r\n const dateMap = motifyMenu.byDate as { [k: string]: TCBReceiptApi.Protobuf.AppropriationMotify };\r\n if (dateMap) {\r\n // let\r\n let totalCount = 0;\r\n let totalAmount = 0;\r\n let totalCharge = 0;\r\n\r\n Object.keys(dateMap).forEach(thisDate => {\r\n // console.log('thisDate');\r\n // console.log(thisDate);\r\n\r\n const infoList = dateMap[thisDate].list as TCBReceiptApi.Protobuf.AppropriationInfoMotify[];\r\n if (infoList) {\r\n const dateCount = infoList.length;\r\n let dateAmount = 0;\r\n let dateCharge = 0;\r\n\r\n infoList.forEach(thisInfo => {\r\n // console.log('thisInfo');\r\n console.log(thisInfo);\r\n\r\n\r\n // 每一條明細\r\n motifyInfoList.push(thisInfo);\r\n // 統計 - 每日小計\r\n dateAmount += (thisInfo.motifyAmount as number);\r\n dateCharge += (thisInfo.motifyCharge as number);\r\n // 統計 - 合計\r\n totalCount += 1;\r\n totalAmount += (thisInfo.motifyAmount as number);\r\n totalCharge += (thisInfo.motifyCharge as number);\r\n });\r\n\r\n const addItem: MotifyItem = {\r\n infoType: 2, // 種類 [2 => 小計, 3 => 合計]\r\n\r\n count: dateCount, // 筆數\r\n amount: dateAmount, // 調整金額\r\n charge: dateCharge, // 調整手續費\r\n };\r\n motifyInfoList.push(addItem);\r\n }\r\n });\r\n\r\n if (totalCount > 0) {\r\n const addItem: MotifyItem = {\r\n infoType: 3, // 種類 [2 => 小計, 3 => 合計]\r\n\r\n count: totalCount, // 筆數\r\n amount: totalAmount, // 調整金額\r\n charge: totalCharge, // 調整手續費\r\n };\r\n motifyInfoList.push(addItem);\r\n }\r\n\r\n }\r\n\r\n }\r\n // 裝入\b調帳的map\r\n if (motifyInfoList.length > 0) {\r\n this.byMotifyMap[thisStoreCode] = motifyInfoList; // 吃嚴謹的型別 => byMotifyMap也需要把MotifyItem加入型別宣告\r\n }\r\n /* 調帳 */\r\n\r\n /* 製作 - 撥款彙總的查看map */\r\n const cardTypeMenu = storeCodeMap[thisStoreCode].cardByType as TCBReceiptApi.Protobuf.AppropriationCreditFirstMap;\r\n const terminalMapByAppropriation = cardTypeMenu.byFirstColumn as { [k: string]: TCBReceiptApi.Protobuf.AppropriationCreditSecondMap };\r\n if (cardTypeMenu && terminalMapByAppropriation) {\r\n Object.keys(terminalMapByAppropriation).forEach(thisTerminal => {\r\n const dateMap = terminalMapByAppropriation[thisTerminal].bySecondColumn as { [k: string]: TCBReceiptApi.Protobuf.AppropriationCreditBatchNoMap };\r\n if (dateMap) {\r\n Object.keys(dateMap).forEach(thisDate => {\r\n const batchNoMap = dateMap[thisDate].byBatchNo as { [k: string]: TCBReceiptApi.Protobuf.AppropriationCredit }; // 這邊的byBatchNo是類別註記\r\n if (batchNoMap) {\r\n Object.keys(batchNoMap).forEach(thisBatchNo => {\r\n console.log(`thisBatchNo = ${thisBatchNo}`);\r\n const cardTypeList: AppropriationDetailInfo = []; // 紀錄同個類別註記下的明細 => 每一條資料\r\n\r\n const infoList = batchNoMap[thisBatchNo].list as TCBReceiptApi.Protobuf.AppropriationInfoCredit[];\r\n if (infoList) {\r\n // 類別註記\r\n const batchNoCount = infoList.length;\r\n let batchNoTotal = 0;\r\n\r\n infoList.forEach(thisInfo => {\r\n // 每一條明細\r\n cardTypeList.push(thisInfo);\r\n // 統計 - 類別註記\r\n batchNoTotal += (thisInfo.amount as number);\r\n });\r\n\r\n if (cardTypeList.length > 0) {\r\n const addItem: AppropriationDetailTotal = {\r\n infoType: 2, // [1 => 一般資料, 2 => 小計]\r\n terminalNo: thisTerminal,\r\n count: batchNoCount,\r\n total: batchNoTotal,\r\n };\r\n cardTypeList.push(addItem);\r\n\r\n if (!this.appropriationDetail[thisStoreCode]) {\r\n this.appropriationDetail[thisStoreCode] = {};\r\n }\r\n if (!this.appropriationDetail[thisStoreCode][thisTerminal]) {\r\n this.appropriationDetail[thisStoreCode][thisTerminal] = {};\r\n }\r\n if (!this.appropriationDetail[thisStoreCode][thisTerminal][thisDate]) {\r\n this.appropriationDetail[thisStoreCode][thisTerminal][thisDate] = {};\r\n }\r\n\r\n this.appropriationDetail[thisStoreCode][thisTerminal][thisDate][thisBatchNo] = cardTypeList;\r\n }\r\n }\r\n });\r\n }\r\n });\r\n }\r\n });\r\n }\r\n /* 製作 - 撥款彙總的查看map */\r\n });\r\n\r\n console.log(\"================\");\r\n console.log(\"appropriationDetail 撥款彙總> 查看的map\");\r\n console.log(this.appropriationDetail);\r\n }\r\n }\r\n\r\n // 統計 - 撥款彙總\r\n private countTotalBySummaryMap(storeCodeMap: { [k: string]: TCBReceiptApi.Protobuf.IAppropriationSummaryTerminalNoMap; }) {\r\n if (storeCodeMap) {\r\n Object.keys(storeCodeMap).forEach(thisStoreCode => {\r\n /* 撥款 */\r\n const appropriationInfoList: TCBReceiptApi.Protobuf.AppropriationInfoSummary[] = []; // 紀錄撥款明細 => 每一條資料\r\n // 合計\r\n const addTotalItem = TCBReceiptApi.Protobuf.AppropriationInfoSummary.create({ infoType: 3 });\r\n\r\n const terminalMap = storeCodeMap[thisStoreCode].byTerminalNo as { [k: string]: TCBReceiptApi.Protobuf.AppropriationSummaryDateMap };\r\n if (terminalMap) {\r\n Object.keys(terminalMap).forEach(thisTerminal => {\r\n const dateMap = terminalMap[thisTerminal].byDate as { [k: string]: TCBReceiptApi.Protobuf.AppropriationSummaryTypeFlagMap };\r\n if (dateMap) {\r\n Object.keys(dateMap).forEach(thisDate => {\r\n const cardTypeMenu = dateMap[thisDate].byTypeFlag as { [k: string]: TCBReceiptApi.Protobuf.AppropriationSummary };\r\n if (cardTypeMenu) {\r\n Object.keys(cardTypeMenu).forEach(thisCardType => {\r\n const infoList = cardTypeMenu[thisCardType].list as TCBReceiptApi.Protobuf.AppropriationInfoSummary[];\r\n if (infoList) {\r\n const addItem = TCBReceiptApi.Protobuf.AppropriationInfoSummary.create({ infoType: 2 });\r\n\r\n infoList.forEach(thisInfo => {\r\n // 每一條明細\r\n appropriationInfoList.push(thisInfo);\r\n // 小計\r\n addItem.totalCount += (thisInfo.totalCount as number);\r\n addItem.totalAmount += (thisInfo.totalAmount as number);\r\n addItem.salesCount += (thisInfo.salesCount as number);\r\n addItem.salesAmount += (thisInfo.salesAmount as number);\r\n addItem.returnCount += (thisInfo.returnCount as number);\r\n addItem.returnAmount += (thisInfo.returnAmount as number);\r\n addItem.charge += (thisInfo.charge as number);\r\n addItem.ifr += (thisInfo.ifr as number);\r\n addItem.motifyAmount += (thisInfo.motifyAmount as number);\r\n addItem.motifyCharge += (thisInfo.motifyCharge as number);\r\n addItem.installRate += (thisInfo.installRate as number);\r\n addItem.chargeRate += (thisInfo.chargeRate as number);\r\n addItem.netAmount += (thisInfo.netAmount as number);\r\n // 合計\r\n addTotalItem.totalCount += (thisInfo.totalCount as number);\r\n addTotalItem.totalAmount += (thisInfo.totalAmount as number);\r\n addTotalItem.salesCount += (thisInfo.salesCount as number);\r\n addTotalItem.salesAmount += (thisInfo.salesAmount as number);\r\n addTotalItem.returnCount += (thisInfo.returnCount as number);\r\n addTotalItem.returnAmount += (thisInfo.returnAmount as number);\r\n addTotalItem.charge += (thisInfo.charge as number);\r\n addTotalItem.ifr += (thisInfo.ifr as number);\r\n addTotalItem.motifyAmount += (thisInfo.motifyAmount as number);\r\n addTotalItem.motifyCharge += (thisInfo.motifyCharge as number);\r\n addTotalItem.installRate += (thisInfo.installRate as number);\r\n addTotalItem.chargeRate += (thisInfo.chargeRate as number);\r\n addTotalItem.netAmount += (thisInfo.netAmount as number);\r\n });\r\n\r\n appropriationInfoList.push(addItem); // 小計\r\n }\r\n });\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n // 合計 並 裝上map\r\n // if (appropriationInfoList.length > 0) {\r\n appropriationInfoList.push(addTotalItem); // 合計\r\n\r\n // 裝入撥款的map\r\n this.byAppropriationMap[thisStoreCode] = appropriationInfoList; // 吃嚴謹的型別\r\n // }\r\n });\r\n }\r\n }\r\n\r\n // 統計 - 卡別彙總\r\n private countTotalByCardTypeCollectionMap(storeCodeMap: { [k: string]: TCBReceiptApi.Protobuf.IAppropriationSummaryByCardTypeCollection; }) {\r\n if (storeCodeMap) {\r\n Object.keys(storeCodeMap).forEach(thisStoreCode => {\r\n /* 卡別彙整 */\r\n const cardMenu = storeCodeMap[thisStoreCode].cardType as TCBReceiptApi.Protobuf.AppropriationSummaryByCardType;\r\n if (cardMenu) {\r\n const visa = cardMenu.visa as TCBReceiptApi.Protobuf.AppropriationInfoSummaryByCardType;\r\n const mc = cardMenu.mc as TCBReceiptApi.Protobuf.AppropriationInfoSummaryByCardType;\r\n const jcb = cardMenu.jcb as TCBReceiptApi.Protobuf.AppropriationInfoSummaryByCardType;\r\n const cup = cardMenu.cup as TCBReceiptApi.Protobuf.AppropriationInfoSummaryByCardType;\r\n const fisc = cardMenu.fisc as TCBReceiptApi.Protobuf.AppropriationInfoSummaryByCardType;\r\n const motify = cardMenu.motify as TCBReceiptApi.Protobuf.AppropriationInfoSummaryByCardType;\r\n\r\n // 合計 = VISA + MasterCard + JCB + 銀聯卡 + 金融卡 + 調帳\r\n const totalByCard = TCBReceiptApi.Protobuf.AppropriationInfoSummaryByCardType.create({\r\n ourBankCount: visa.ourBankCount + mc.ourBankCount + jcb.ourBankCount + cup.ourBankCount + fisc.ourBankCount + motify.ourBankCount,\r\n ourBankAmount: visa.ourBankAmount + mc.ourBankAmount + jcb.ourBankAmount + cup.ourBankAmount + fisc.ourBankAmount + motify.ourBankAmount,\r\n notOurBankCount: visa.notOurBankCount + mc.notOurBankCount + jcb.notOurBankCount + cup.notOurBankCount + fisc.notOurBankCount + motify.notOurBankCount,\r\n notOurBankAmount: visa.notOurBankAmount + mc.notOurBankAmount + jcb.notOurBankAmount + cup.notOurBankAmount + fisc.notOurBankAmount + motify.notOurBankAmount,\r\n totalCount: visa.totalCount + mc.totalCount + jcb.totalCount + cup.totalCount + fisc.totalCount + motify.totalCount,\r\n totalAmount: visa.totalAmount + mc.totalAmount + jcb.totalAmount + cup.totalAmount + fisc.totalAmount + motify.totalAmount,\r\n });\r\n this.$set(cardMenu, \"total\", totalByCard);\r\n\r\n this.cardTypeMap[thisStoreCode] = cardMenu;\r\n }\r\n\r\n /* 卡別彙整 */\r\n\r\n /* 發卡行交易統計-信用卡/銀聯卡 */\r\n const creditCardInfoList: (TCBReceiptApi.Protobuf.AppropriationInfoSummaryByIssuer | { count: number, amount: number, infoType: number })[] = []; // 紀錄信用卡/銀聯卡明細 => 每一條資料\r\n\r\n const creditCardMenu = storeCodeMap[thisStoreCode].creditCard as TCBReceiptApi.Protobuf.AppropriationSummaryByIssuer;\r\n if (creditCardMenu) {\r\n const infoList = creditCardMenu.list as TCBReceiptApi.Protobuf.AppropriationInfoSummaryByIssuer[];\r\n if (infoList) {\r\n // 合計\r\n let count = 0;\r\n let amount = 0;\r\n\r\n infoList.forEach(thisInfo => {\r\n // 每一條明細\r\n creditCardInfoList.push(thisInfo);\r\n // 合計\r\n count += (thisInfo.count as number);\r\n amount += (thisInfo.amount as number);\r\n });\r\n\r\n const addInfo: { count: number, amount: number, infoType: number } = {\r\n count: count,\r\n amount: amount,\r\n infoType: 2, // 註記\r\n };\r\n creditCardInfoList.push(addInfo);\r\n\r\n if (count > 0) {\r\n this.creditCardMap[thisStoreCode] = creditCardInfoList;\r\n }\r\n }\r\n }\r\n /* 發卡行交易統計-信用卡/銀聯卡 */\r\n\r\n /* 發卡行交易統計-金融卡 */\r\n const debitCardInfoList: (TCBReceiptApi.Protobuf.AppropriationInfoSummaryByIssuer | { count: number, amount: number, infoType: number })[] = []; // 紀錄金融卡明細 => 每一條資料\r\n\r\n const debitCardMenu = storeCodeMap[thisStoreCode].debitCard as TCBReceiptApi.Protobuf.AppropriationSummaryByIssuer;\r\n if (debitCardMenu) {\r\n const infoList = debitCardMenu.list as TCBReceiptApi.Protobuf.AppropriationInfoSummaryByIssuer[];\r\n if (infoList) {\r\n // 合計\r\n let count = 0;\r\n let amount = 0;\r\n\r\n infoList.forEach(thisInfo => {\r\n // 每一條明細\r\n debitCardInfoList.push(thisInfo);\r\n // 合計\r\n count += (thisInfo.count as number);\r\n amount += (thisInfo.amount as number);\r\n });\r\n\r\n const addInfo: { count: number, amount: number, infoType: number } = {\r\n count: count,\r\n amount: amount,\r\n infoType: 2, // 註記\r\n };\r\n debitCardInfoList.push(addInfo);\r\n\r\n if (count > 0) {\r\n this.debitCardMap[thisStoreCode] = debitCardInfoList;\r\n }\r\n }\r\n }\r\n /* 發卡行交易統計-金融卡 */\r\n });\r\n }\r\n }\r\n\r\n // 統計 明細 總計 (把明細 + 支付寶 + 調帳)\r\n private async countDetailTotal(map: TCBReceiptApi.Protobuf.AppropriationTotal) {\r\n let count = 0;\r\n let total = 0;\r\n\r\n // 明細\r\n if (map.card) {\r\n if (map.card.count) {\r\n count += map.card.count;\r\n }\r\n if (map.card.total) {\r\n total += map.card.total;\r\n }\r\n }\r\n // 支付寶\r\n if (map.alipay) {\r\n if (map.alipay.count) {\r\n count += map.alipay.count;\r\n }\r\n if (map.alipay.total) {\r\n total += map.alipay.total;\r\n }\r\n }\r\n // 調帳\r\n if (map.motify) {\r\n if (map.motify.count) {\r\n count += map.motify.count;\r\n }\r\n if (map.motify.total) {\r\n total += map.motify.total;\r\n }\r\n }\r\n\r\n this.detailTotalObj.count = count;\r\n this.detailTotalObj.total = total;\r\n }\r\n /* 其他 */\r\n\r\n /* 特店清單LB */\r\n private openStoreLightbox() {\r\n this.isOpenStoreLB = true;\r\n this.$emit(\"searchStore\", this.tidNumber);\r\n }\r\n /* 特店清單LB */\r\n\r\n /* 取得最新的權限map並判斷有何權限 */\r\n private async setPriv() {\r\n const meta = this.$route.meta as { privKey: { controller: string, method: string, type: string } };\r\n\r\n const isSetPriv = await Priv._checkPriv(meta.privKey);\r\n if (!isSetPriv) {\r\n this.$router.push(DefaultPath); // priv\r\n }\r\n\r\n if (!Priv._checkPrivType(meta.privKey.type)) {\r\n this.$router.push(DefaultPath); // priv\r\n }\r\n\r\n this.expireTime = Priv._getExpireTime();\r\n }\r\n /* 取得最新的權限map並判斷有何權限 */\r\n\r\n private async exportFile() {\r\n if (!this.validCondition()) {\r\n return false;\r\n }\r\n\r\n if (!Util.passReconciliationByCookie()) {\r\n return;\r\n }\r\n \r\n this.isLoading = true;\r\n\r\n /* 報表專區 => 追加總計判斷 */\r\n if (this.filterType === 'detail') {\r\n // 整理input (有兩處使用item整理 => 匯出也需要整理條件)\r\n // 選取特店\r\n const item = TCBReceiptApi.Protobuf.AppropriationQuery.create();\r\n item.storeList = this.searchItem.storeArr; // 特店清單 - 輸入\"特店代號\"\"\r\n item.tidNumber = this.searchItem.tidNumber;\r\n // 左側\r\n item.dateType = this.searchItem.type; // 搜尋種類 [撥款日區間, 交易日, 結帳請款日]\r\n item.dateStart = this.searchItem.start; // 起\r\n item.dateEnd = this.searchItem.end; // 訖\r\n item.type = this.searchItem.transactionType; // 交易別 => 1:購貨, 2:退貨\r\n item.flag = this.searchItem.noteType; // 註記\r\n // 右側\r\n item.cardType = this.searchItem.cardType.join(\",\"); // 卡別\r\n item.cardNo = this.searchItem.cardNum; // 卡號\r\n item.orderNo = this.searchItem.orderNum; // 訂單編號\r\n item.terminalNoStart = this.searchItem.machineCodeStart; // 端末機號區間 起\r\n item.terminalNoEnd = this.searchItem.machineCodeEnd; // 端末機號區間 訖\r\n item.authCode = this.searchItem.authCode; // 授權碼\r\n\r\n console.log(\"================\");\r\n console.log(\"撥款搜尋參數\");\r\n console.log(item);\r\n\r\n const appropriationQuery = TCBReceiptApi.Protobuf.AppropriationQuery.encode(item).finish();\r\n\r\n // 明細\r\n await AppropriationModel.getAppropriationTotal(appropriationQuery);\r\n const appropriationTotal = AppropriationModel.getAppropriationTotalData();\r\n await this.countDetailTotal(appropriationTotal);\r\n\r\n if (this.detailTotalObj.count > process.env.VUE_APP_EXCEL_COUNT_LIMIT) { //\r\n // insert schedule_report\r\n const reportParams = TCBReceiptApi.Protobuf.ScheduleReportInfo.create();\r\n reportParams.type = 2;\r\n reportParams.fromWhere = ScheduleReport.WhereCode.Appropriation;\r\n reportParams.params = JSON.stringify(item);\r\n reportParams.count = this.detailTotalObj.count;\r\n\r\n const scheduleReportInfo = TCBReceiptApi.Protobuf.ScheduleReportInfo.encode(reportParams).finish();\r\n await ScheduleReportModel.add(scheduleReportInfo);\r\n\r\n this.isLoading = false;\r\n this.openHint(Common.ErrorCodeMap[Common.ErrorHintMap.ExcelCountExceed]); //\r\n return false;\r\n }\r\n }\r\n /* 報表專區 => 追加總計判斷 */ \r\n\r\n // 整理condition (AppropriationQuery)\r\n const queryArray: string[] = [];\r\n // 選取特店\r\n const storeArr: string[] = [];\r\n let idx = 0;\r\n\r\n for(let i=0; i 50){\r\n this.openHint(Common.ErrorCodeMap[Common.ErrorHintMap.ExportNumExceedLimit]);\r\n this.isLoading = false;\r\n return false;\r\n }\r\n \r\n // 左側\r\n const dateType: string = (this.searchItem.type !== 0) ? (\"dateType=\" + this.searchItem.type) : \"dateType=\";\r\n queryArray.push(dateType);\r\n const dateStart: string = (this.searchItem.start !== \"\") ? (\"dateStart=\" + this.searchItem.start) : \"dateStart=\";\r\n queryArray.push(dateStart);\r\n const dateEnd: string = (this.searchItem.end !== \"\") ? (\"dateEnd=\" + this.searchItem.end) : \"dateEnd=\";\r\n queryArray.push(dateEnd);\r\n const type: string = (this.searchItem.transactionType !== 0) ? (\"type=\" + this.searchItem.transactionType) : \"type=\";\r\n queryArray.push(type);\r\n const flag: string = (this.searchItem.noteType !== 0) ? (\"flag=\" + this.searchItem.noteType) : \"flag=\";\r\n queryArray.push(flag);\r\n // 右側\r\n const cardType: string = (this.searchItem.cardType.length !== 0) ? (\"cardType=\" + this.searchItem.cardType.join(\",\")) : \"cardType=\";\r\n queryArray.push(cardType);\r\n const cardNo: string = (this.searchItem.cardNum !== \"\") ? (\"cardNo=\" + this.searchItem.cardNum) : \"cardNo=\";\r\n queryArray.push(cardNo);\r\n const orderNo: string = (this.searchItem.orderNum !== \"\") ? (\"orderNo=\" + this.searchItem.orderNum) : \"orderNo=\";\r\n queryArray.push(orderNo);\r\n const terminalNoStart: string = (this.searchItem.machineCodeStart !== \"\") ? (\"terminalNoStart=\" + this.searchItem.machineCodeStart) : \"terminalNoStart=\";\r\n queryArray.push(terminalNoStart);\r\n const terminalNoEnd: string = (this.searchItem.machineCodeEnd !== \"\") ? (\"terminalNoEnd=\" + this.searchItem.machineCodeEnd) : \"terminalNoEnd=\";\r\n queryArray.push(terminalNoEnd);\r\n const authCode: string = (this.searchItem.authCode !== \"\") ? (\"authCode=\" + this.searchItem.authCode) : \"authCode=\";\r\n queryArray.push(authCode);\r\n // tabType: { 1: \"明細\", 2: \"撥款彙總\", 3: \"卡別彙總\"}\r\n let tab = 0;\r\n switch (this.filterType) {\r\n case \"detail\":\r\n tab = 1;\r\n break;\r\n case \"appropriation\":\r\n tab = 2;\r\n break;\r\n case \"cardType\":\r\n tab = 3;\r\n break;\r\n }\r\n const tabType: string = (tab !== 0) ? (\"tabType=\" + tab) : \"tabType=\";\r\n queryArray.push(tabType);\r\n\r\n console.log(\"queryArray\");\r\n console.log(queryArray);\r\n const queryString = (queryArray.length === 0) ? \"\" : queryArray.join(\"&\") as string;\r\n console.log(\"queryString\");\r\n console.log(queryString);\r\n\r\n await AppropriationModel.exportAppropriation(queryString);\r\n\r\n this.isLoading = false;\r\n }\r\n\r\n private init() {\r\n this.byCardMap = {};\r\n this.byAlipayMap = {};\r\n this.byMotifyMap = {};\r\n this.appropriationDetail = {};\r\n this.byAppropriationMap = {};\r\n this.cardTypeMap = {};\r\n this.creditCardMap = {};\r\n this.debitCardMap = {};\r\n } \r\n}\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??ref--14-2!../../../../../node_modules/eslint-loader/index.js??ref--13-0!./Appropriation.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/ts-loader/index.js??ref--14-2!../../../../../node_modules/eslint-loader/index.js??ref--13-0!./Appropriation.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Appropriation.vue?vue&type=template&id=8c54dbf8&\"\nimport script from \"@/controllers/ap/reconciliation/appropriation/Appropriation?vue&type=script&lang=ts&\"\nexport * from \"@/controllers/ap/reconciliation/appropriation/Appropriation?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}