#
Junjie
2025-07-05 166b9c6d7517fbff3a400e07d47d1f33c8634c69
pages/basics/stockCheck.vue
@@ -279,6 +279,7 @@
         },
         confirm() {
            let arr = this.matList[this.rowNum].origin.split("/")
            console.log(arr);
            let mainAnfme = this.count * parseFloat(arr[1]) * parseFloat(arr[0])
            let flooredNum = Math.floor(mainAnfme * 10000) / 10000; // 截断到小数点后4位
            this.matList[this.rowNum].anfme = flooredNum