Browse Source

前端更新sdy

zhongtianhaoyuan 3 years ago
parent
commit
1228541263
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/views/houseSelfCollect/weightCheck.vue

+ 2 - 3
src/views/houseSelfCollect/weightCheck.vue

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