Explorar o código

【修改】bug

莫绍宝 %!s(int64=3) %!d(string=hai) anos
pai
achega
8c42cae99f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/supply/retail/components/retail_form.vue

+ 1 - 1
src/views/supply/retail/components/retail_form.vue

@@ -157,7 +157,7 @@
         </el-table-column>
         <el-table-column align="right" label="实付金额" prop="qty" min-width="100" show-overflow-tooltip>
           <template slot-scope="scope">
-            {{((scope.row.price * scope.row.qty) * 100 - ((scope.row.price * scope.row.qty * (scope.row.rebateRate * 100)) / 100) * 100 - ((scope.row.qty * (scope.row.discAmount * 100)) / 100) * 100) / 100}}
+            {{((scope.row.price * scope.row.qty) * 100 - (((scope.row.price - scope.row.discAmount) * scope.row.qty * (scope.row.rebateRate * 100)) / 100) * 100 - ((scope.row.qty * (scope.row.discAmount * 100)) / 100) * 100) / 100}}
           </template>
         </el-table-column>
         <el-table-column align="center" label="是否直调" prop="isDirectTransfer" min-width="100">