소스 검색

福达销售毛利润修改

caojunjie 1 년 전
부모
커밋
e824d209da
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      src/views/exportTrade/salesContract/components/goodsInfo.vue

+ 5 - 0
src/views/exportTrade/salesContract/components/goodsInfo.vue

@@ -1013,6 +1013,11 @@ export default {
         row.outFactoryPrice,
         this.form.exchangeRate
       );
+      // 出厂价格为零,单品毛利润为零
+      if(row.outFactoryPrice == 0) {
+          row.itemMargin = 0
+      }
+
     },
     itemTypeFocus(row) {
       this.itemtypeList = [];