md
This commit is contained in:
parent
32c28fecfb
commit
b321a8969c
@ -44,3 +44,12 @@ export function delEmisSettlePayRecord(id) {
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 删除账单收退款记录
|
||||
export function payRecordReturn(id) {
|
||||
return request({
|
||||
url: '/emis/emisSettlePayRecord/payRecordReturn/' + id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
|
||||
@ -27,8 +27,8 @@
|
||||
plain
|
||||
icon="el-icon-download"
|
||||
size="mini"
|
||||
@click="handleReturn"
|
||||
v-hasPermi="['emis:payRecordReturn']"
|
||||
@click="handlePayRecordReturn"
|
||||
v-hasPermi="['emis:emisSettlePayRecord:return']"
|
||||
>收款回退</el-button>
|
||||
</div>
|
||||
|
||||
@ -122,7 +122,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { listEmisSettlePayRecord, getEmisSettlePayRecord, delEmisSettlePayRecord, addEmisSettlePayRecord, updateEmisSettlePayRecord } from "@/api/emis/emisSettlePayRecord";
|
||||
import { listEmisSettlePayRecord, getEmisSettlePayRecord, delEmisSettlePayRecord, addEmisSettlePayRecord, updateEmisSettlePayRecord,payRecordReturn } from "@/api/emis/emisSettlePayRecord";
|
||||
import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker';
|
||||
import PayRecordSubBillRelList from '@/views/emis/emisSettlePayRecord/panel/PayRecordSubBillRelList.vue';
|
||||
|
||||
@ -241,6 +241,15 @@ export default {
|
||||
});
|
||||
},
|
||||
|
||||
handlePayRecordReturn(row){
|
||||
const id = row.id;
|
||||
this.$modal.confirm('是否回退').then(function() {
|
||||
return payRecordReturn(id);
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
}).catch(() => {});
|
||||
},
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user