lilei 3 anni fa
parent
commit
5411376ecf

+ 3 - 0
src/views/expenseManagement/expenseReimbursement/list.vue

@@ -25,6 +25,7 @@
               <a-form-item label="费用发生月份">
                 <a-month-picker
                   placeholder="请选择月份"
+                  locale="zh-cn"
                   v-model="queryParam.expenseDate"
                   @change="onChange"
                   :disabled-date="disabledDate"
@@ -127,6 +128,7 @@
 </template>
 
 <script>
+import locale from 'ant-design-vue/es/date-picker/locale/zh_CN'
 import moment from 'moment'
 import subarea from '@/views/common/subarea.js'
 import { STable, VSelect } from '@/components'
@@ -138,6 +140,7 @@ export default {
   components: { STable, VSelect, subarea, verifyModal, baseDataModal },
   data () {
     return {
+      locale,
       spinning: false,
       advanced: false, // 高级搜索 展开/关闭
       disabled: false, //  查询、重置按钮是否可操作

+ 1 - 1
src/views/expenseManagement/expenseReimbursementDetail/list.vue

@@ -249,7 +249,7 @@ export default {
         { title: '申请部门', dataIndex: 'applyDepartmentName', width: 90, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '费用类型', dataIndex: 'expenseTypeDictValue', width: 90, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '费用发生月份', dataIndex: 'expenseDate', width: 90, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '主题', dataIndex: 'title', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '主题', dataIndex: 'title', align: 'center', width: 150, customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '记账类型', dataIndex: 'accountTypeDictValue', width: 90, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '记账名称', dataIndex: 'accountName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '所属区域', dataIndex: 'subareaNames', width: 120, align: 'center', customRender: function (text) { return text || '--' } },