|
|
@@ -519,7 +519,6 @@ export default {
|
|
|
this.$message({message: '库存不足',type: 'warning'});
|
|
|
return;
|
|
|
}
|
|
|
- // let money = Number(selectList.price) * Number(big) + Number(selectList.price) * Number(small)
|
|
|
let money = Number(selectList.price) * (Number(big) + Number(small) / Number(selectList.ratio))
|
|
|
for (let i=0;i<this.tableData.length;i++){
|
|
|
if(this.tableData[i].name==selectList.itemName){
|