From f338578bd94fe06a644d9e20843c1de71bd1d1ae Mon Sep 17 00:00:00 2001 From: weizhiqiang <598748873@qq.com> Date: Sat, 27 Apr 2024 22:39:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20ERP=E9=9B=B6=E5=94=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/template/js/retailOutlet/retailOutletList.js | 2 +- .../resources/template/js/retailReturns/retailReturnsList.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erp/src/main/resources/template/js/retailOutlet/retailOutletList.js b/erp/src/main/resources/template/js/retailOutlet/retailOutletList.js index 532c9e0a8..35ef9f815 100644 --- a/erp/src/main/resources/template/js/retailOutlet/retailOutletList.js +++ b/erp/src/main/resources/template/js/retailOutlet/retailOutletList.js @@ -28,7 +28,7 @@ layui.config({ return '' + d.oddNumber + ''; }}, { field: 'holderMation', title: '会员', align: 'left', width: 150, templet: function (d) { - return d.holderMation.name; + return d.holderMation?.name; }}, { field: 'totalPrice', title: '合计金额', align: 'left', width: 120 }, { field: 'operTime', title: '单据日期', align: 'center', width: 140 }, diff --git a/erp/src/main/resources/template/js/retailReturns/retailReturnsList.js b/erp/src/main/resources/template/js/retailReturns/retailReturnsList.js index 6e55babfd..457b9a98f 100644 --- a/erp/src/main/resources/template/js/retailReturns/retailReturnsList.js +++ b/erp/src/main/resources/template/js/retailReturns/retailReturnsList.js @@ -30,7 +30,7 @@ layui.config({ return '' + d.oddNumber + ''; }}, { field: 'holderMation', title: '会员', align: 'left', width: 150, templet: function (d) { - return d.holderMation.name; + return d.holderMation?.name; }}, { field: 'totalPrice', title: '退款总金额', align: 'left', width: 120 }, { field: 'operTime', title: '单据日期', align: 'center', width: 140 }, -- GitLab