gaoluyang
2025-03-03 5ed9f916ad17baf81124d1b8678779a1530c13f4
src/views/business/productOrder/components/add.vue
@@ -432,7 +432,7 @@
      </div>
      <span slot="footer" class="dialog-footer">
        <el-row>
          <el-button @click="issuedDialogVisible=false;goBack">取 消</el-button>
          <el-button @click="issuedDialogVisible=false;closeOpenPage">取 消</el-button>
          <el-button :loading="upLoad" type="primary" @click="submitForm2">确 定</el-button>
        </el-row>
      </span>
@@ -560,6 +560,7 @@
import {selectCustomPageList} from "@/api/system/customer";
export default {
  name: 'Add',
  components: {
    limsTable,
    cableConfig,
@@ -1210,7 +1211,7 @@
            this.saveLoad = false
            this.$message.success('已提交')
            this.bsm3Dia = false;
            this.goBack()
            this.closeOpenPage()
          }).catch(e=>{
            this.saveLoad = false
          })
@@ -1220,7 +1221,7 @@
            this.saveLoad = false
            this.$message.success('已提交')
            this.bsm3Dia = false;
            this.goBack()
            this.closeOpenPage()
          }).catch(e=>{
            this.saveLoad = false
          })
@@ -1283,7 +1284,7 @@
          this.$message.success('提交成功')
          this.upLoad = false
          this.issuedDialogVisible = false
          this.goBack()
          this.closeOpenPage()
        }).catch(e => {
          this.$message.error('提交失败')
          this.upLoad = false
@@ -1921,16 +1922,12 @@
          state: 2,
          id: this.currentId,
          tell: this.tell
        }, {
          headers: {
            'Content-Type': 'application/json'
          }
        }).then(res => {
          this.noLoading = false;
          this.tell = '';
          this.$message.success('提交成功')
          this.issuedDialogVisible = false;
          this.goBack()
          this.closeOpenPage()
        })
      },
      filterHandler(value, row, column) {
@@ -2144,7 +2141,11 @@
      },
      goBack () {
        this.$router.go(-1)
      }
      },
      closeOpenPage() {
        this.$router.go(-1)
        this.$tab.closeOpenPage()
      },
    }
  }
</script>