Commit fa47d317 by 张立顺

fix bug修复

1 parent 4cc65fbb
......@@ -619,7 +619,7 @@ export default {
this.customObj.reportDate = !res.data.isCustomerCommit && !this.disabled && !res.data['reportDate'] ? new Date() : util.dateFormat(res.data['reportDate'], 'YYYY-MM-DD HH:mm:ss')
this.customObj.reimbursementDate = !res.data.isCustomerCommit && !this.disabled && !res.data['reimbursementDate'] ? new Date() : util.dateFormat(res.data['reimbursementDate'], 'YYYY-MM-DD HH:mm:ss')
const formatKey = ['reportDate', 'reimbursementDate', 'reimbursementAddress']
const formatKey = ['reportDate', 'reimbursementDate', 'reimbursementAddress', 'writeOffCode']
for (let key in this.customObj) {
if (!formatKey.includes(key)) {
this.customObj[key] = res.data[key] || ''
......
......@@ -248,10 +248,10 @@ export default {
},
{
label: '门店提交时间',
prop: 'commitTime',
prop: 'merchantCommitDate',
width: 200,
formatter: cellValue => {
return cellValue.commitTime ? util.dateFormat(cellValue.commitTime, 'YYYY-MM-DD HH:mm:ss') : '-'
return cellValue.merchantCommitDate ? util.dateFormat(cellValue.merchantCommitDate, 'YYYY-MM-DD HH:mm:ss') : '-'
}
},
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!