|
@@ -43,7 +43,6 @@
|
|
|
placeholder="请选择月份"
|
|
|
v-model="queryParam.expenseDate"
|
|
|
@change="onChange"
|
|
|
- locale="zh-cn"
|
|
|
:disabled-date="disabledDate"
|
|
|
style="width: 100%;"/>
|
|
|
</a-form-item>
|
|
@@ -167,8 +166,8 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import locale from 'ant-design-vue/es/date-picker/locale/zh_CN'
|
|
|
import moment from 'moment'
|
|
|
+import 'moment/locale/zh-cn'
|
|
|
import getDate from '@/libs/getDate.js'
|
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
|
import subarea from '@/views/common/subarea.js'
|
|
@@ -180,12 +179,12 @@ import custList from '@/views/common/custList.vue'
|
|
|
import supplier from '@/views/common/supplier.js'
|
|
|
import { expenseAccountDetailList, expenseAcctDetailReport } from '@/api/expenseManagement'
|
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
|
+moment.locale('zh-cn')
|
|
|
export default {
|
|
|
name: 'TableList',
|
|
|
components: { STable, VSelect, department, employee, subarea, rangeDate, Area, custList, supplier },
|
|
|
data () {
|
|
|
return {
|
|
|
- locale,
|
|
|
spinning: false,
|
|
|
advanced: true, // 高级搜索 展开/关闭
|
|
|
disabled: false, // 查询、重置按钮是否可操作
|
|
@@ -198,7 +197,7 @@ export default {
|
|
|
],
|
|
|
// 查询参数
|
|
|
queryParam: {
|
|
|
- expenseDate: moment().format('YYYY-MM'), // 月份
|
|
|
+ expenseDate: undefined, // 月份
|
|
|
beginDate: getDate.getCurrMonthDays().starttime,
|
|
|
endDate: getDate.getCurrMonthDays().endtime,
|
|
|
expenseAccountNo: '', // 费用单号
|