设备维修
This commit is contained in:
@@ -3,15 +3,16 @@
|
||||
<nav-bar :inner="true" title="保养结果填报"></nav-bar>
|
||||
<section class="content mgt186">
|
||||
<div class="filter-wraper">
|
||||
<search-box
|
||||
label="设备"
|
||||
v-model="val1"
|
||||
@handleChange="handleChange1"
|
||||
></search-box>
|
||||
<div class="bottom-filter-tip">
|
||||
<div class="filter-label txtjustify">设备</div>
|
||||
<div class="fxcol mgl20">
|
||||
<input type="text" class="filter-input filter-scan-input" disabled v-model="val1">
|
||||
</div>
|
||||
</div>
|
||||
<div class="bottom-filter-tip">
|
||||
<div class="filter-label txtjustify">保养单</div>
|
||||
<div class="fxcol mgl20">
|
||||
<input type="text" class="filter-input filter-scan-input" placeholder="" v-model="val2">
|
||||
<input type="text" class="filter-input filter-scan-input" disabled v-model="val2">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -83,11 +84,6 @@ export default {
|
||||
this._queryMaintenanceDtl()
|
||||
},
|
||||
methods: {
|
||||
handleChange1 (e, type) {
|
||||
if (type) {
|
||||
console.log(e)
|
||||
}
|
||||
},
|
||||
toCheck (e) {
|
||||
this.pkId = this.pkId === e.maint_dtl_id ? '' : e.maint_dtl_id
|
||||
this.pkObj = this.pkId === e.maint_dtl_id ? e : {}
|
||||
@@ -113,6 +109,7 @@ export default {
|
||||
let res = await dtlConfirm(this.dataList)
|
||||
if (res.code === '1') {
|
||||
this.toast(res.desc)
|
||||
this.toCancle()
|
||||
} else {
|
||||
this.Dialog(res.desc)
|
||||
}
|
||||
@@ -132,6 +129,8 @@ export default {
|
||||
this._dtlConfirm()
|
||||
},
|
||||
toCancle () {
|
||||
this.$store.dispatch('materObj', {})
|
||||
this.$router.back()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user