loulijun2021
2022-11-04 e02b7eb8cd24cc53e188c693392fa165d51fe804
1.工序检验未扫描回车加控制
已修改3个文件
14 ■■■■ 文件已修改
src/views/scgl/sckbg.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/zlgl/gxjy.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/scgl/sckbg.vue
@@ -1938,7 +1938,7 @@
    dialogVisibleConfirm() {
      this.$refs.dialogForm.validate(valid => {
        if (valid) {
          this.$store.state.app.buttonIsDisabled = true
          // this.$store.state.app.buttonIsDisabled = true
          if (this.dialogTitle === '外协发料') {
            if (parseFloat(this.dialogForm.fqty) > parseFloat(this.dialogForm.noreportqty)) {
              return this.$message.info('发料数量不能大于未发数量!')
@@ -1953,6 +1953,7 @@
              taskqty: this.dialogForm.planqty, // 任务数量
              fqty: this.dialogForm.fqty // 发料数量
            }
            this.$store.state.app.buttonIsDisabled = true
            SavaMesOrderStepOut(data).then(res => {
              if (res.code === '200') {
                this.dialogVisible = false
@@ -1989,6 +1990,7 @@
              ngqty: this.dialogForm.noputqty === '' ? 0 : this.dialogForm.noputqty, // 不良数量
              badcode: this.dialogForm.badcode.length < 1 ? '' : this.dialogForm.badcode.join(';')// 不良原因
            }
            this.$store.state.app.buttonIsDisabled = true
            SavaMesOrderStepIn(data).then(res => {
              if (res.code === '200') {
                this.dialogVisible = false
@@ -2015,6 +2017,7 @@
              taskqty: this.dialogForm.planqty, // 任务数量
              startqty: this.dialogForm.startqty// 开始数量
            }
            this.$store.state.app.buttonIsDisabled = true
            SavaMesOrderStepStart(data).then(res => {
              if (res.code === '200') {
                this.dialogVisible = false
@@ -2065,7 +2068,7 @@
              ngqty: this.dialogForm.noputqty === '' ? 0 : this.dialogForm.noputqty, // 不良数量
              badcode: this.dialogForm.badcode.length < 1 ? '' : this.dialogForm.badcode.join(';')// 不良原因
            }
            this.$store.state.app.buttonIsDisabled = true
            SavaMesOrderStepReport(data).then(res => {
              if (res.code === '200') {
                this.dialogVisible = false
src/views/zlgl/gxjy.vue
@@ -639,6 +639,9 @@
        if (this.form.orderstepqrcode.length < 1) {
          return this.$message.info('扫描条码不能为空!')
        }
        if (this.form.wo_code.toString().length === 0) {
          return this.$message.info('未获得工单编码!')
        }
        if (this.checkStandard.length < 1) {
          return this.$message.info('检验标准不能为空!')
        }
vue.config.js
@@ -50,8 +50,8 @@
    },
    proxy: {
      [process.env.VUE_APP_BASE_API]: {
        // target: 'http://121.196.36.24:8003', // 请求的第三⽅接⼝地址      客户服务器(大岛)
        target: 'http://192.168.2.138:8001', // 请求的第三⽅接⼝地址   本地服务器(大岛)
        target: 'http://121.196.36.24:8003', // 请求的第三⽅接⼝地址      本地服务器(大岛)
        // target: 'http://192.168.2.138:8001', // 请求的第三⽅接⼝地址   客户服务器(大岛)
        changeOrigin: true, // 请求跨域时,需 配置此项
        pathRewrite: { // 路径重写,替换target中的请求地址
          ['^' + process.env.VUE_APP_BASE_API]: '/api/'