shish hace 2 años
padre
commit
8835d403e6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      ghs/src/views/order/add.vue

+ 1 - 1
ghs/src/views/order/add.vue

@@ -427,7 +427,7 @@ export default {
         this.$message({message: '请先输入数量',type: 'warning'});
         this.$message({message: '请先输入数量',type: 'warning'});
         return;
         return;
       }
       }
-      let money = Number(currentItem.price) * (Number(big) + Number(small) / Number(currentItem.ratio))
+      let money = Number(currentItem.price) * Number(big)
       for (let i=0;i<this.tableData.length;i++){
       for (let i=0;i<this.tableData.length;i++){
         if(this.tableData[i].name==currentItem.name){
         if(this.tableData[i].name==currentItem.name){
           this.tableData.splice(i,1)
           this.tableData.splice(i,1)