瀏覽代碼

前端更新sdy

zhongtianhaoyuan 3 年之前
父節點
當前提交
1228541263
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/views/houseSelfCollect/weightCheck.vue

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

@@ -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 +