diff --git a/src/views/release/productioninformation.vue b/src/views/release/productioninformation.vue index ba4d812..cb0ae68 100644 --- a/src/views/release/productioninformation.vue +++ b/src/views/release/productioninformation.vue @@ -252,6 +252,8 @@ methods: { rowSave(row, done, loading) { + this.form.checkstatus="1"; + this.form.id = row.id; add(row).then(() => { done(); this.onLoad(this.page); @@ -265,6 +267,7 @@ }); }, rowUpdate(row, index, done, loading) { + row.checkstatus="1"; update(row).then(() => { done(); this.onLoad(this.page); diff --git a/src/views/smart/operationticket.vue b/src/views/smart/operationticket.vue index 89c6afa..edc7786 100644 --- a/src/views/smart/operationticket.vue +++ b/src/views/smart/operationticket.vue @@ -625,7 +625,7 @@ import {getList, getDetail, add, update, remove, closeticket} from "@/api/smart/ debugger return closeticket( this.updateid, this.closeTicketForm.isQuakified,this.closeTicketForm.riskControlEvaluation) .then(() => { - this.closeTicketForm.isQuakifie = -1; + this.closeTicketForm.isQuakifie = ''; this.closeTicketForm.riskControlEvaluation = ''; this.closeTicketBox = false; this.onLoad(this.page); diff --git a/src/views/smart/operationticketDetail.vue b/src/views/smart/operationticketDetail.vue index 10c00f5..d607490 100644 --- a/src/views/smart/operationticketDetail.vue +++ b/src/views/smart/operationticketDetail.vue @@ -5,7 +5,7 @@ 审核状态: - + { + this.option.column[1].disabled = !val; + }, + } }, { label: "操作票类型", @@ -440,10 +449,7 @@ export default { span: 8, maxlength: 20, }, - - ] - }, ] }, @@ -541,11 +547,12 @@ export default { }, created () { this.type = this.option.column[0]; - this.option.column.push({ label: '操作项目', prop: 'operationItem' }); + // this.option.column.push({ label: '操作项目', prop: 'operationItem' }); if(this.$route.query.frameMode == "add"){ this.readonlyForm=false; this.shouldShowButton=false; this.addUpdateShowButton=true; + this.addUpdateShowButton=true; this.frame_class = null; }else{ this.readonlyForm=false; @@ -602,6 +609,7 @@ export default { cancelButtonText: "取消", type: "warning" }).then(() => { + this.tab1_form.reviewStatus="1" add(this.tab1_form).then(() => { this.$router.push({ path: "/smart/operationticket", @@ -642,20 +650,8 @@ export default { }, handleChange (column) { this.type = column - if(this.$route.query.frameMode != "add"){ - if (column.prop == 'operationItem') { - this.item_onLoad(); - } - } - if(column.prop == 'operationItem'){ - if(this.tab1_form.operationTicketNo ==="" || this.tab1_form.operationTicketNo ===null){ - this.$message({ - type: "error", - message: "请返回基本信息填写“操作票编号”!!!" - }); - } - } this.item_form.operationTicketNo = this.tab1_form.operationTicketNo; + this.item_onLoad(); }, // 操作项目 新增按钮处理 @@ -776,9 +772,9 @@ export default { headerClass(){ return 'head-style' }, - item_onLoad(row, params = {}) { + item_onLoad() { this.loading = true; - item_getListByItemId(this.item_data[0].operationTicketNo).then(res => { + item_getListByItemId(this.tab1_form.operationTicketNo).then(res => { this.item_data = res.data.data; this.loading = false; }); @@ -803,13 +799,27 @@ export default { .frame_class1 .el-input__icon { display: none; } -.frame_class1 .el-input--prefix .el-input__inner { +.frame_class1 .el-input--prefix { padding-left: 15px; } .container { display: flex; justify-content: flex-end; /* 将子元素推到容器的末端 */ } +.frame_class1 textarea.el-textarea__inner { + border: none; + box-shadow: none; + outline: none; + pointer-events: none; +} +.frame_class1 input::placeholder { + color: transparent; + display: none; /* 默认隐藏 */ +} +.frame_class1 textarea::placeholder { + color: transparent; + display: none; /* 默认隐藏 */ +} .check_status_class { display: flex; justify-content: flex-end; /* 将子元素推到容器的末端 */