Explorar el Código

成本分配表-合计-合计金额计算公司修改

jbb hace 2 años
padre
commit
f5db789ffc

+ 1 - 1
src/views/reportForms/cost-allocation-table.vue

@@ -416,7 +416,7 @@ export default {
             this.$refs.unitTabs.sumInfo.shipProcesFees =(d/2).toFixed(2)//出运加工费
             this.$refs.unitTabs.sumInfo.exportedAmountRMB =(b/2).toFixed(2)//出运人民币外销金额 f
             f=Number(this.$refs.unitTabs.sumInfo.ingAmount)+Number(this.$refs.unitTabs.sumInfo.shipProcesFees)
-            this.$refs.unitTabs.sumInfo.amountTotal =f.toFixed(2)//合计金额
+            this.$refs.unitTabs.sumInfo.amountTotal = Number(this.$refs.unitTabs.sumInfo.fabricExcludTax)+Number(this.$refs.unitTabs.sumInfo.ingExcludAmount)+Number( this.$refs.unitTabs.sumInfo.shipProcesFees)//合计金额
             this.pagination = {
               total: res.result.total,
               current: res.result.current,

+ 1 - 1
src/views/reportForms/cost-allocation-table/tabs.vue

@@ -105,7 +105,7 @@
                     </a-form-item>
                   </a-col>
                   <a-col :md="6" :sm="8">
-                    <a-form-item label="合计金额">
+                    <a-form-item label="成本合计金额">
                       <a-input v-model="sumInfo.amountTotal" v-show='showSelect==0'></a-input>
                       <span v-show='showSelect==1'>{{sumInfo.amountTotal}}</span>
                     </a-form-item>