zouyu
2026-07-01 72780bc3f7a4b47ebba49f28f4ffe219c14349ba
src/views/business/inspectionTask/inspection.vue
@@ -1150,7 +1150,7 @@
    <UnPassDialog
      v-if="unPassDialog"
      ref="unPassDialog"
      :orderId="orderId"
      :selectOrderIds="[orderId]"
      :unPassDialog="unPassDialog"
      @resetForm="resetForm"
    ></UnPassDialog>
@@ -3561,31 +3561,33 @@
      })
        .then((res) => {
          if (res.code === 200) {
            if (!res.data || res.data.errorMsg.length == 0) {
            if (!res.data || res.data.errorMsg.length === 0) {
              this.submitLoading = true;
              this.confirmSubmit(true);
              //去除拆分订单是否登记检验结果确认,默认是
              //检验类型为原材料
              if (
                this.typeSource == 1 &&
                res.data.unInsOrderCount == 0 &&
                this.isSplit == 1
              ) {
                const htmlStr =
                  "是否登记IFS采购检验结果并移库?该操作会登记<span style='color:#ff4949'>同一零件同一订单的所有拆分批次</span>,请谨慎选择。";
                this.$confirm(htmlStr, "提示", {
                  confirmButtonText: "是",
                  cancelButtonText: "否",
                  type: "warning",
                  dangerouslyUseHTMLString: true,
                })
                  .then(() => {
                    this.confirmSubmit(true);
                  })
                  .catch(() => {
                    this.confirmSubmit(false);
                  });
              } else {
                this.confirmSubmit(true);
              }
              // if (
              //   this.typeSource == 1 &&
              //   res.data.unInsOrderCount == 0 &&
              //   this.isSplit == 1
              // ) {
              //   const htmlStr =
              //     "是否登记IFS采购检验结果并移库?该操作会登记<span style='color:#ff4949'>同一零件同一订单的所有拆分批次</span>,请谨慎选择。";
              //   this.$confirm(htmlStr, "提示", {
              //     confirmButtonText: "是",
              //     cancelButtonText: "否",
              //     type: "warning",
              //     dangerouslyUseHTMLString: true,
              //   })
              //     .then(() => {
              //       this.confirmSubmit(true);
              //     })
              //     .catch(() => {
              //       this.confirmSubmit(false);
              //     });
              // } else {
              //   this.confirmSubmit(true);
              // }
            } else {
              let newData = [];
              const h = this.$createElement;
@@ -4065,11 +4067,6 @@
  display: inline-flex;
  align-items: center;
}
</style>
<style scoped>
/* .inspection .el-form-item__label {
  color: #000;
} */
.inspection .el-drawer__header::before {
  content: "";