You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
156 lines
3.7 KiB
156 lines
3.7 KiB
<template>
|
|
<div>
|
|
|
|
<div class="tab-header webtop">
|
|
<!-- 标题 -->
|
|
<div>旧件回收登记</div>
|
|
<!-- start 添加修改按钮 -->
|
|
<div>
|
|
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button>
|
|
</div>
|
|
<!-- end 添加修改按钮 -->
|
|
<!-- end 详情按钮 -->
|
|
</div>
|
|
|
|
<div class="listconadd">
|
|
|
|
<el-form ref="form_obj" :model="formobj" class="formaddcopy02">
|
|
|
|
<el-row class="first_row">
|
|
<el-col :span="12">
|
|
<div class="span-sty">维修工单编号</div>
|
|
<el-form-item><span class="addinputInfo">{{ formobj.billNo }}</span></el-form-item>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<div class="span-sty">申请日期</div>
|
|
<el-form-item><span class="addinputInfo">{{ formobj.billTime }}</span></el-form-item>
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12">
|
|
<div class="span-sty">客户名称</div>
|
|
<el-form-item><span class="addinputInfo">{{ formobj.customerName }}</span></el-form-item>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<div class="span-sty">车牌号</div>
|
|
<el-form-item><span class="addinputInfo">{{ formobj.vehMark }}</span></el-form-item>
|
|
</el-col>
|
|
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="12">
|
|
<div class="span-sty">车架号</div>
|
|
<el-form-item><span class="addinputInfo">{{ formobj.vinNo }}</span></el-form-item>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<!-- <div class="span-sty"></div>
|
|
<el-form-item><span class="addinputInfo">{{ formobj.vehMark }}</span></el-form-item> -->
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="24">
|
|
<div class="span-sty">旧件回收说明</div>
|
|
<el-form-item><span class="addinputInfo">{{ formobj.shortss }}</span></el-form-item>
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
<el-row>
|
|
|
|
<el-col :span="24">
|
|
<div class="span-sty">旧件照片</div>
|
|
<el-form-item>
|
|
<el-image class="addinputInfo" style="width: 120px;height: 120px; margin: 10px;" v-for="(item,index) in formobj.photos"
|
|
:src="item.url" :preview-src-list="[item.url]">
|
|
</el-image>
|
|
</el-form-item>
|
|
</el-col>
|
|
|
|
</el-row>
|
|
|
|
</el-form>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import req from '@/api/storage/oldPartsRecovery.js'
|
|
|
|
export default {
|
|
components: {},
|
|
data() {
|
|
return {
|
|
listLoading: false,
|
|
submitdisabled: false,
|
|
formobj: {},
|
|
}
|
|
},
|
|
methods: {
|
|
indexMethod(index) {
|
|
return index + 1
|
|
},
|
|
|
|
handleReturn(isreload) {
|
|
if (isreload === 'true') this.$emit('reloadlist')
|
|
this.$emit('doback')
|
|
},
|
|
|
|
showAdd() {
|
|
|
|
},
|
|
showEdit(row) {
|
|
|
|
var params = {
|
|
sid: row.sid
|
|
}
|
|
req.getOneByBillNo(params)
|
|
.then(resp => {
|
|
if (resp.success) {
|
|
this.formobj = resp.data
|
|
}
|
|
})
|
|
.catch(e => {
|
|
this.formobj = {}
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<style scoped>
|
|
.span-sty {
|
|
width: 130px !important;
|
|
}
|
|
|
|
.addinputInfo {
|
|
margin-left: 120px !important;
|
|
}
|
|
|
|
.formaddcopy02 .el-row .el-col /deep/ .el-form-item .addinputw {
|
|
margin-left: 120px !important;
|
|
width: calc(100% - 115px);
|
|
}
|
|
|
|
.first_row{
|
|
border-top: 1px solid #E0E3EB;
|
|
}
|
|
|
|
.titleOne {
|
|
padding: 7px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
</style>
|
|
|