Commit 8179fa4debf3546c0e033762018f076def62a803

Authored by 史婷婷
1 parent 4a8b2464

feat: 试样订单确认单-列表代码优化

... ... @@ -315,7 +315,8 @@ export default {
315 315 this.filterForm.workshopIdName = match ? (match.text || '') : ''
316 316 },
317 317 filterStatus(status) {
318   - return this.statusLocal.filter(item => item.value === status)[0].text || '';
  318 + const _item = this.statusLocal.filter(item => item.value === status)[0] || {};
  319 + return _item.text || '';
319 320 },
320 321 }
321 322 }
... ...