|
@@ -177,7 +177,7 @@
|
|
|
|
|
|
|
|
|
<!-- 新增委外维修单 -->
|
|
|
- <el-dialog title="新增委外维修单" :visible.sync="dialogFormVisibleCont" :close-on-click-modal="false" width="90%">
|
|
|
+ <el-dialog title="新增委外维修单1" :visible.sync="dialogFormVisibleCont" :close-on-click-modal="false" width="90%" @close="handleClose(1)">
|
|
|
<div >
|
|
|
<el-form ref="createTempCont" :rules="rules" :model="createTempCont" label-position="right" label-width="100px" style="width: 100%;">
|
|
|
<el-row :gutter="20">
|
|
@@ -499,10 +499,11 @@
|
|
|
</div>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<el-button type="primary" :disabled="isokDisable" @click="dialogStatus==='create'?add_dialog_save():edit_dialog_save()">保存并关闭</el-button>
|
|
|
- <el-button @click="dialogFormVisible_Create = false;get_table_data()">关闭</el-button>
|
|
|
+ <el-button @click="handleClose(2)">关闭</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
- <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible_See" :close-on-click-modal="false" width="90%">
|
|
|
+ <!-- todo -->
|
|
|
+ <el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible_See" :close-on-click-modal="false" @close="handleClose(1)" width="90%">
|
|
|
<div class="app-see">
|
|
|
<div v-if="orderStatue1" class="see">
|
|
|
<el-form ref="seeTemp" :rules="rules" :model="seeTemp" label-position="right" label-width="130px" style="width: 90%;margin:0 auto;">
|
|
@@ -908,7 +909,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div slot="footer" class="dialog-footer" style="bottom:5px;">
|
|
|
- <el-button @click="dialogFormVisible_See = false">关闭</el-button>
|
|
|
+ <el-button @click="handleClose(1)">关闭</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<!-- 派单 -->
|
|
@@ -983,7 +984,7 @@
|
|
|
</el-radio-group>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col v-if="statueReason" :span="20">
|
|
|
+ <el-col v-if="statueReason && examineTemp.statue == 4 " :span="20">
|
|
|
<el-input v-model="examineTemp.workflowNote" type="textarea" :autosize="{ minRows: 2, maxRows: 4}" placeholder="请输入审核不通过原因" />
|
|
|
</el-col>
|
|
|
</el-row>
|
|
@@ -2023,7 +2024,18 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
methods: {
|
|
|
-
|
|
|
+ // 关闭要做的事 todo
|
|
|
+ handleClose(val) {
|
|
|
+ console.log( this.dialogStatus,' this.dialogStatus')
|
|
|
+ this.dialogStatus = ''
|
|
|
+ if(val== 1){
|
|
|
+ this.dialogFormVisible_See = false
|
|
|
+ }else{
|
|
|
+ this.dialogFormVisible_Create = false
|
|
|
+ this.get_table_data()
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
roleSet1(row){
|
|
|
var result = true
|
|
|
if(row.orderStatue == 0 && this.isReceipt ){
|
|
@@ -3226,7 +3238,7 @@ export default {
|
|
|
},
|
|
|
// 维修审核-保存
|
|
|
createExamineData() {
|
|
|
- console.log('点击了维修审核确认')
|
|
|
+ console.log('点击了维修审核确认123')
|
|
|
this.isokDisable = true
|
|
|
setTimeout(() => {
|
|
|
this.isokDisable = false
|