|
|
@@ -882,7 +882,13 @@ export default {
|
|
|
|
|
|
if (row.measureType != 1 && row.singleWeight) {
|
|
|
//计量数量*单重
|
|
|
- const weight = row.measureQuantity * Number(row.singleWeight);
|
|
|
+ let weight = row.measureQuantity * Number(row.singleWeight);
|
|
|
+
|
|
|
+ if(row.measureUnit==row.weightUnit){
|
|
|
+ weight = row.measureQuantity
|
|
|
+ }else{
|
|
|
+ weight = row.measureQuantity * Number(row.singleWeight);
|
|
|
+ }
|
|
|
this.$set(this.productList[index], 'weight', weight)
|
|
|
}
|
|
|
}
|