| | |
| | | cancelText="关闭" |
| | | @cancel="handleCancel" |
| | | :confirmLoading="confirmLoading" |
| | | title="附录4" |
| | | > |
| | | <!-- :title="title" --> |
| | | <a-spin :spinning="confirmLoading"> |
| | |
| | | |
| | | edit(record) { |
| | | let that = this; |
| | | debugger |
| | | if (record.receipts == "" || record.receipts == null) { |
| | | this.getSysFileName() |
| | | } |
| | |
| | | |
| | | const that = this; |
| | | // 触发表单验证 |
| | | for (let i = 0; i < that.dataSource.length; i++) { |
| | | let o = that.dataSource[i] |
| | | if (o.firstInspect == "2" && o.secondInspect == "2") { |
| | | that.$message.warning("验收单第" + (i + 1) + "行,两次检验均为不通过,请重新检验该项保养内容!"); |
| | | return |
| | | } |
| | | } |
| | | that.form.validateFields((err, values) => { |
| | | if (!err) { |
| | | this.$confirm({ |