Commit 652adcda authored by yanglilong's avatar yanglilong

'修改'

parent 1b04718c
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
<a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false" <a-table :columns="columns" :data-source="dataList" :scroll="{ x: true }" :pagination="false"
:row-selection="isEditNewEOB? { selectedRowKeys: selectedRowKeys, onChange: onSelectChange }: null"> :row-selection="isEditNewEOB? { selectedRowKeys: selectedRowKeys, onChange: onSelectChange }: null">
<template slot="eobSts" slot-scope="text"> <template slot="eobSts" slot-scope="text">
{{text==1?'待回款':'已回款'}} {{text | formatEOBStatus}}
</template> </template>
<template slot="eobBackDate" slot-scope="text"> <template slot="eobBackDate" slot-scope="text">
{{text?moment(text).format('YYYY-MM-DD'):''}} {{text?moment(text).format('YYYY-MM-DD'):''}}
...@@ -78,8 +78,7 @@ ...@@ -78,8 +78,7 @@
<a-col :lg="12" :sm="24"> <a-col :lg="12" :sm="24">
<a-form-model-item label="EOB状态" prop="eobSts"> <a-form-model-item label="EOB状态" prop="eobSts">
<a-select v-model="editFormObj.eobSts" placeholder="请选择状态" allowClear> <a-select v-model="editFormObj.eobSts" placeholder="请选择状态" allowClear>
<a-select-option value="1">待回款</a-select-option> <a-select-option v-for="(item,i) in EOBStatusOptions" :key="i" :value="item.value">{{item.name}}</a-select-option>
<a-select-option value="2">已回款</a-select-option>
</a-select> </a-select>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
...@@ -107,7 +106,9 @@ ...@@ -107,7 +106,9 @@
<script> <script>
import Goback from "@/components/CUSTOMER/goback"; import Goback from "@/components/CUSTOMER/goback";
import BurtPagination from "@/components/CUSTOMER/pagation"; import BurtPagination from "@/components/CUSTOMER/pagation";
import {EOBStatusOptions} from '@/utils/utilsdictOptions.js'
import moment from "moment"; import moment from "moment";
import mixins from "@/mixins";
const columns = [ const columns = [
{ title: "EOB编号", dataIndex: "eobNo", ellipsis: true, width: 150 }, { title: "EOB编号", dataIndex: "eobNo", ellipsis: true, width: 150 },
{ title: "EOB名称", dataIndex: "eobName", ellipsis: true, width: 195 }, { title: "EOB名称", dataIndex: "eobName", ellipsis: true, width: 195 },
...@@ -125,6 +126,7 @@ export default { ...@@ -125,6 +126,7 @@ export default {
data() { data() {
return { return {
columns, columns,
EOBStatusOptions,
dialogShow: false, dialogShow: false,
form: { form: {
payorCode: '', payorCode: '',
...@@ -157,6 +159,7 @@ export default { ...@@ -157,6 +159,7 @@ export default {
}, },
}; };
}, },
mixins: [mixins],
components: { components: {
Goback, Goback,
BurtPagination, BurtPagination,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment