Browse Source

委外维修-验收委外维修编辑领用单查看禁止输入

duanxiaoduan 1 year ago
parent
commit
aef6cee95f
2 changed files with 8 additions and 4 deletions
  1. 0 0
      dist/index.html
  2. 8 4
      src/views/maintenance/subcontractingMainten/tabPage/tab2.vue

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


+ 8 - 4
src/views/maintenance/subcontractingMainten/tabPage/tab2.vue

@@ -614,7 +614,7 @@
             <template slot-scope="scope">
               <el-form :model="scope.row">
                 <el-form-item prop="amount">
-                  <el-input ref="amount" v-model="scope.row.amount" :disabled="dialogStatus==='collectionSparePartsSee'" style="margin-top:15px" />
+                  <el-input ref="amount" v-model="scope.row.amount" :disabled="dialogStatus==='collectionSparePartsSee1'" style="margin-top:15px" />
                 </el-form-item>
               </el-form>
             </template>
@@ -628,7 +628,7 @@
             <template slot-scope="scope">
               <el-form :model="scope.row">
                 <el-form-item prop="note">
-                  <el-input ref="note" v-model="scope.row.note" :disabled="dialogStatus==='collectionSparePartsSee'" style="margin-top:15px" />
+                  <el-input ref="note" v-model="scope.row.note" :disabled="dialogStatus==='collectionSparePartsSee1'" style="margin-top:15px" />
                 </el-form-item>
               </el-form>
             </template>
@@ -921,6 +921,7 @@ export default {
         examine33: '审核4',
         examine3: '审核5',
         collectionSparePartsSee: '查看领用',
+        collectionSparePartsSee1:'查看领用',
         collectionSparePartsCreate: '添加领用',
       },
 
@@ -1113,7 +1114,7 @@ export default {
     handleCollarUseSee(row, isStock) {
       console.log(row)
       this.collectionSparePartsSeeTemp = Object.assign({}, row)
-      // this.dialogStatus = 'collectionSparePartsSee'
+      this.dialogStatus = 'collectionSparePartsSee1'
 
       this.collectionSparePartsSeeTemp.applyDate = row.createDate
       this.dialogFormVisible_CollectionSparePartsSee = true
@@ -1574,6 +1575,9 @@ export default {
                       this.$notify({ title: '', message: '保存成功', type: 'success', duration: 2000 })
                     }
                   })
+                  setTimeout(() => {
+                    this.isokDisable = false
+                  }, 2000)
                   return true
                 }
               } else {
@@ -1664,7 +1668,7 @@ export default {
 
         this.collectionSparePartsSeeTemp.empId =  this.collectionSparePartsSeeTemp.applicant
         this.collectionSparePartsSeeTemp.applyDate = parseTime(new Date(), '{y}-{m}-{d}')
-        // this.dialogStatus = 'collectionSparePartsCreate'
+        this.dialogStatus = 'collectionSparePartsSee'
         this.dialogFormVisible_CollectionSparePartsSee = true
         this.isCreatePartDelete = true
         this.listCreateCollectionSpareParts = []

Some files were not shown because too many files changed in this diff