|
@@ -635,6 +635,7 @@ import util from "../../common/js/util";
|
|
// 自定义select组件
|
|
// 自定义select组件
|
|
import selectCat from "@/components/select.vue"
|
|
import selectCat from "@/components/select.vue"
|
|
import { version } from 'vue';
|
|
import { version } from 'vue';
|
|
|
|
+import calculation from '../../common/js/compute.js';
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
selectCat
|
|
selectCat
|
|
@@ -940,7 +941,8 @@ export default {
|
|
},
|
|
},
|
|
priceSingleTotal: function () {
|
|
priceSingleTotal: function () {
|
|
return this.procedureLit.reduce((total, item) => {
|
|
return this.procedureLit.reduce((total, item) => {
|
|
- return +total + +item.unitPrice
|
|
|
|
|
|
+ // return +total + +item.unitPrice
|
|
|
|
+ return calculation.accAdd(+total, +item.unitPrice)
|
|
}, 0)
|
|
}, 0)
|
|
},
|
|
},
|
|
},
|
|
},
|