mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-06 23:18:19 +09:00
admin_chrg 상세조회 수정중
This commit is contained in:
@@ -93,6 +93,11 @@ const insertChrg = (params) => {
|
||||
return httpClient.post('/api/v1/bo/custMgt/insertChrg', params);
|
||||
}
|
||||
|
||||
// 충전금 수정
|
||||
const updateChrg = (params) => {
|
||||
return httpClient.post('/api/v1/bo/custMgt/updateChrg', params);
|
||||
}
|
||||
|
||||
const getExcelHeader = category => {
|
||||
// 엑셀에 출력할 Header 정보를 Mockup 데이터로 관리한다.
|
||||
return new Promise(function(resolve, reject) {
|
||||
@@ -135,4 +140,5 @@ export default {
|
||||
duplicateCheckUserId,
|
||||
chrgList,
|
||||
insertChrg,
|
||||
updateChrg,
|
||||
}
|
||||
|
||||
@@ -96,6 +96,7 @@
|
||||
></custom-grid>
|
||||
</div>
|
||||
<insert-chrg-modal ref="insertChrgModal"></insert-chrg-modal>
|
||||
<chrg-detail-pop ref="chrgDetailPop" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -105,6 +106,7 @@
|
||||
import customGrid from '@/components/CustomGrid';
|
||||
import moment from 'moment';
|
||||
import InsertChrgModal from '../components/InsertChrgModal';
|
||||
import chrgDetailPop from '../components/ChrgDetailPop.vue';
|
||||
|
||||
class CustomATagRenderer {
|
||||
constructor(props) {
|
||||
@@ -167,7 +169,10 @@ export default {
|
||||
|
||||
columns:[
|
||||
{name: 'no', header: 'No', align: 'center', width: 60},
|
||||
{name: 'custNm', header: '고객사명', align: 'center', width: 130},
|
||||
{
|
||||
name: 'custNm', header: '고객사명', align: 'center', width: 130,
|
||||
renderer: {type: CustomATagRenderer, options: {callback: this.inDetailPop}}
|
||||
},
|
||||
{name: 'userId', header: '고객명', align: 'center', width: 130},
|
||||
{name: 'chrgDiv', header: '충전구분', align: 'center', width: 130},
|
||||
{name: 'chrgDate', header: '기간', align: 'center', width: 130},
|
||||
@@ -187,6 +192,7 @@ export default {
|
||||
customGrid: customGrid,
|
||||
vuejsDatepicker,
|
||||
InsertChrgModal,
|
||||
chrgDetailPop,
|
||||
},
|
||||
created() {
|
||||
this.setPeriodDay(0);
|
||||
@@ -257,6 +263,10 @@ export default {
|
||||
|
||||
const getCondition = this.$store.getters['searchcondition/getSearchCondition'];
|
||||
},
|
||||
|
||||
inDetailPop(props){
|
||||
this.$refs.chrgDetailPop.ChrgDetailModalOpen(props);
|
||||
},
|
||||
|
||||
//달력 셋팅
|
||||
setPeriodDay(day) {
|
||||
|
||||
Reference in New Issue
Block a user