Commit 566d1186 by 王志慧

fixed

1 parent c474a1e4
...@@ -416,7 +416,7 @@ export default { ...@@ -416,7 +416,7 @@ export default {
'editForm.merchantNo': { 'editForm.merchantNo': {
handler(val) { handler(val) {
this.storeSearchForm.yqMerchantId = val this.storeSearchForm.yqMerchantId = val
this.editForm.merchantName = this.baseData.merchantList.filter(item => item.yqMerchantId == val)[0].yqMerchantName this.editForm.merchantName = this.baseData.merchantList.length>0&&this.baseData.merchantList.filter(item => item.yqMerchantId == val)[0].yqMerchantName
} }
}, },
'editForm.visualType': { 'editForm.visualType': {
......
...@@ -161,7 +161,7 @@ export default { ...@@ -161,7 +161,7 @@ export default {
prop: 'createdDate', prop: 'createdDate',
minWidth: 150, minWidth: 150,
formatter: cellValue => { formatter: cellValue => {
return cellValue.createdDate ? dayjs(cellValue.createdDate).format('YYYY/MM/DD HH:mm:ss') : '--' return cellValue.createdDate ? dayjs(cellValue.createdDate).format('YYYY/MM/DD') : '--'
} }
} }
] ]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!