yyb
9 天以前 6fdffb8c8d87b6a1fe88e897a7e406df570e743a
核磅录入页面的核磅记录展示倒叙
已修改1个文件
10 ■■■■ 文件已修改
pages/wareHouse/nuclearScale/index.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/wareHouse/nuclearScale/index.vue
@@ -130,7 +130,7 @@
            @click="cancelReport(item)"
          >
            <view class="content-header">
              <view class="content-header-title">{{ index + 1 }}</view>
              <view class="content-header-title">{{ ScanCodeRecord.length - index }}</view>
            </view>
            <view class="content-body">
              <view class="row-list">
@@ -348,7 +348,7 @@
                  if (that.form.productType == "TG01") {
                    that.$refs.saveForm.open(ScanCodeRecordList);
                  } else {
                    that.ScanCodeRecord.push(ScanCodeRecordList);
                    that.ScanCodeRecord.unshift(ScanCodeRecordList);
                  }
                } else {
                  uni.showToast({
@@ -363,14 +363,14 @@
            if (that.form.productType == "TG01") {
              that.$refs.saveForm.open(ScanCodeRecordList);
            } else {
              that.ScanCodeRecord.push(ScanCodeRecordList);
              that.ScanCodeRecord.unshift(ScanCodeRecordList);
            }
          }
        } else {
          if (that.form.productType == "TG01") {
            that.$refs.saveForm.open(ScanCodeRecordList);
          } else {
            that.ScanCodeRecord.push(ScanCodeRecordList);
            that.ScanCodeRecord.unshift(ScanCodeRecordList);
          }
        }
      }
@@ -480,7 +480,7 @@
      this.$u.api.NuclearScaleEntry.createDetail(this.form)
        .then((res) => {
          this.$u.toast("提交成功");
          this.ScanCodeRecord.push(Obj);
          this.ScanCodeRecord.unshift(Obj);
          this.$refs.saveForm.cancel();
        })
        .catch(() => {