yyb
18 小时以前 0c9f714c32e4bc9e8eaf972d860d2d9f2a1e6763
核磅录入磅差调整过大后增加弹框二次确认
已修改2个文件
19 ■■■■■ 文件已修改
pages/wareHouse/nuclearScale/index.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/wareHouse/nuclearScale/saveForm.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/wareHouse/nuclearScale/index.vue
@@ -337,13 +337,13 @@
        if (that.form.productType == "TG01") {
          that.$refs.saveForm.open(ScanCodeRecordList);
        } else {
          that.queryCustomName(codeInfo,ScanCodeRecordList);
          that.queryCustomName(codeInfo, ScanCodeRecordList);
        }
      }
    });
  },
  methods: {
    queryCustomName(codeInfo,ScanCodeRecordList) {
    queryCustomName(codeInfo, ScanCodeRecordList) {
      // 查询客户名称
      this.$u.api.NuclearScaleEntry.queryCustomName({
        BN: codeInfo.BN,
@@ -354,10 +354,11 @@
          // 扫描报工单二维码
          uni.showModal({
            title: "提示",
            content: "客户不一致:" + res.data + " || " + that.form.customerName1,
            content:
              "客户不一致:" + res.data + " || " + that.form.customerName1,
            showCancel: true,
            success: function (res) {
                that.ScanCodeRecord.unshift(ScanCodeRecordList);
              that.ScanCodeRecord.unshift(ScanCodeRecordList);
            },
          });
        } else {
@@ -402,7 +403,13 @@
      switch (this.form.productType) {
        case "DT01":
          if (magnetic >= -3 && magnetic <= 3) {
            this.allSubmit();
            uni.showModal({
              title: "提示",
              content: "磅差:" + magnetic + ",是否确认提交?",
              success: function (res) {
                  this.allSubmit();
              },
            });
          } else {
            this.$u.toast("磅差:" + magnetic + ",请车间核查");
          }
pages/wareHouse/nuclearScale/saveForm.vue
@@ -162,7 +162,7 @@
      //    -10kg 以内
      //    核磅重量-2(新的毛重)皮重(新的毛重-净重)超过 10kg提示生产核查(不能提交)
      // (2).导体
      //    正磅差:0-3kg可直接提交
      //    正磅差:3-3kg可直接提交
      //    超过 3kg及 负磅差提示生产核查(不能提交)
      // (3).导体2.6
      //     士0.5kg 都可直接提交