#
Junjie
1 天以前 0d3ecfe8b2dc6b707b60d1e64b6f9f9c7c33bbd3
pages/basics/stockCheck.vue
@@ -280,8 +280,8 @@
         confirm() {
            let arr = this.matList[this.rowNum].origin.split("/")
            let mainAnfme = this.count * parseFloat(arr[1]) * parseFloat(arr[0])
            console.log(mainAnfme);
            this.matList[this.rowNum].anfme = mainAnfme
            let flooredNum = Math.floor(mainAnfme * 10000) / 10000; // 截断到小数点后4位
            this.matList[this.rowNum].anfme = flooredNum
            this.matList[this.rowNum].weight = this.count
            this.$refs.revise.close()
         },