src/views/scgl/scdd.vue
@@ -370,7 +370,12 @@
      <span slot="footer" class="dialog-footer">
        <div class="footerButton">
          <el-button @click="dialogVisibleCancel">取 消</el-button>
          <el-button type="primary" :disabled="sendButtonIsDisabled" @click="dialogVisibleConfirm">下 达</el-button>
          <el-button
            type="primary"
            :loading="$store.state.app.buttonIsDisabled"
            :disabled="$store.state.app.buttonIsDisabled"
            @click="dialogVisibleConfirm"
          >下 达</el-button>
        </div>
      </span>
    </el-dialog>
@@ -653,7 +658,6 @@
      this.dialogForm.ordernum = ''
      this.dialogForm.relse_qty = ''
      this.sendButtonIsDisabled = false
      this.$refs.dialogForm.clearValidate()
    },
    // 对话框取消
@@ -670,13 +674,13 @@
        return this.$message.info('下单数量超出可下单数的范围!')
      }
      console.log(this.dialogForm.ordernum < this.dialogForm.markqty)
      if (this.dialogForm.ordernum < 1 || this.dialogForm.ordernum > this.dialogForm.markqty) {
        return this.$message.info('下单单数超出可下单单数的范围!')
      }
      this.$refs.dialogForm.validate(valid => {
        if (valid) {
          this.$store.state.app.buttonIsDisabled = true
          const data = {
            'erporderid': this.dialogForm.erporderid,
            // 'erporderstus': this.dialogForm.erporderstus,
@@ -689,12 +693,12 @@
            'ordernum': this.dialogForm.ordernum,
            'relse_qty': this.dialogForm.relse_qty
          }
          this.sendButtonIsDisabled = true
          MarkSaveErpOrder(data).then(res => {
            if (res.code === '200') {
              this.$message.success('下达成功!')
              this.dialogVisible = false
              this.$message.success('下达成功!')
              this.getErpOrderSearch()
              this.$store.state.app.buttonIsDisabled = false
            } else {
              this.$message.error('下达失败!')
            }
@@ -839,15 +843,18 @@
    height: 100% !important;
  }
}
</style>
<style>
.el-table .custom-row {
  background: #f8f8fa;
}
</style>
<style>
.osloading{
  font-size: 40px;
  font-size: 26px !important;
}
.el-loading-text{
  font-size: 26px !important;
}
</style>