lilei 1 年之前
父节点
当前提交
7b1f001b7a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

+ 1 - 1
src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

@@ -155,7 +155,7 @@
                         {_this.$hasPermissions('B_salesEdit_salesPrice')&&record.promo&&record.total&&record.total.lossAmount ? (<span>优惠金额:<strong>{record.total.lossAmount}</strong>;</span>):('')}
                         {_this.$hasPermissions('B_salesEdit_salesPrice')&&record.promo&&record.total&&record.total.cgejyAmount>0 ? (<span>采购额结余:<strong>{_this.toThousands(record.total.cgejyAmount)}</strong>;</span>):('')}
                         {_this.$hasPermissions('B_salesEdit_salesPrice')&&record.promo&&record.total&&record.total.cgejyAmount<0 ? (<span>采购额超出:<strong>{_this.toThousands(record.total.cgeccAmount)}</strong>;</span>):('')}
-                        {record.expenseAccountFlag!='WAIT' ? record.expenseAccountFlagDictValue : ''}
+                        {record.total&&record.total.expenseAccountFlag!='WAIT' ? record.total.expenseAccountFlagDictValue : ''}
                     </div>
                   </div>
                 ):(<span>{data}</span>)}