loulijun2021
2022-08-31 436569820a3084dcf90f8156a4f812bc220fbb98
src/views/scgl/scdd.vue
@@ -389,7 +389,7 @@
      <span slot="footer" class="dialog-footer">
        <div class="footerButton">
          <el-button @click="dialogVisibleCancel">取 消</el-button>
          <el-button type="primary" @click="dialogVisibleConfirm">下 达</el-button>
          <el-button type="primary" :disabled="sendButtonIsDisabled" @click="dialogVisibleConfirm">下 达</el-button>
        </div>
      </span>
    </el-dialog>
@@ -447,7 +447,6 @@
        { code: 'CLOSED', name: '已关闭' }
      ],
      total: 10,
      radioSelected: '',
      radioSelectedId: '',
      tableData: [],
      dialogVisible: false,
@@ -596,8 +595,6 @@
    },
    // 单选框选中获取当前行信息
    getCurrentRow(id) {
      // console.log(row, 2)
      // this.radioSelected = row.wo
      this.radioSelectedId = id
    },
    // 订单关闭
@@ -619,7 +616,6 @@
                if (res.code === '200') {
                  this.$message.success('订单关闭成功!')
                  this.getErpOrderSearch()
                  // this.radioSelected = ''
                }
              })
            }).catch(() => {
@@ -673,6 +669,8 @@
      this.dialogForm.markqty = ''
      this.dialogForm.ordernum = ''
      this.dialogForm.relse_qty = ''
      this.sendButtonIsDisabled = false
      this.$refs.dialogForm.clearValidate()
    },
    // 对话框取消
@@ -702,7 +700,7 @@
            'ordernum': this.dialogForm.ordernum,
            'relse_qty': this.dialogForm.relse_qty
          }
          console.log(data)
          this.sendButtonIsDisabled = true
          MarkSaveErpOrder(data).then(res => {
            if (res.code === '200') {
              this.$message.success('下达成功!')