|
@@ -379,12 +379,11 @@ export default {
|
|
|
.then((response) => {
|
|
|
for (let i = 0; i < this.purchasePriceList.length; i++) {
|
|
|
if (
|
|
|
- this.weighingList.goodsName ==
|
|
|
- this.purchasePriceList[i].goodsName
|
|
|
+ this.weighingList.goodsName == this.purchasePriceList[i].goodsName
|
|
|
) {
|
|
|
//累计售粮超上限不能完成毛检保存
|
|
|
let count = this.purchasePriceList[i].saleLimit - response
|
|
|
- if (count - this.weighingList.grossWeight < 0) {
|
|
|
+ if (count - this.weighingList.grossWeight/1000 < 0) {
|
|
|
this.$alert(
|
|
|
'该客户累计销售' +
|
|
|
this.weighingList.goodsName +
|