|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<div class="app-container"> |
|
|
|
<!-- Start 列表页面 --> |
|
|
|
<div> |
|
|
|
<div v-show="viewState == 1"> |
|
|
|
<button-bar view-title="厂家系统认款" ref="btnbar" :btndisabled="btndisabled" @btnhandle="btnHandle"/> |
|
|
|
<div class="main-content"> |
|
|
|
<div class="searchcon"> |
|
|
@ -61,7 +61,7 @@ |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="申请编号" align="center" width="200px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.proSchAppNo }}</span> |
|
|
|
<span class="bluezi" @click="handleLook(scope.row.vehApplySid)">{{ scope.row.proSchAppNo }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column label="采购类型" align="center" width="200px"> |
|
|
@ -111,6 +111,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- End 列表页面 --> |
|
|
|
<cheliangpaichanInfo v-show="viewState == 2" ref="divInfo" @doback="reseaState"/> |
|
|
|
<!-- 照片弹窗 --> |
|
|
|
<el-dialog :append-to-body="true" :visible.sync="dialogImgVisible"> |
|
|
|
<img width="100%" :src="dialogImageUrl" alt="" /> |
|
|
@ -125,6 +126,7 @@ import Pagination from '@/components/pagination' |
|
|
|
import pageye from '@/components/pagination/pageye' |
|
|
|
import ButtonBar from '@/components/ButtonBar' |
|
|
|
import upload from '@/components/uploadFileimg/upload' |
|
|
|
import cheliangpaichanInfo from '../../supplychain/cheliangpaichan/cheliangpaichanInfo' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'changjiaxitongrenkuan', |
|
|
@ -132,11 +134,13 @@ export default { |
|
|
|
Pagination, |
|
|
|
pageye, |
|
|
|
upload, |
|
|
|
ButtonBar |
|
|
|
ButtonBar, |
|
|
|
cheliangpaichanInfo |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
btndisabled: false, |
|
|
|
viewState: 1, |
|
|
|
btnList: [ |
|
|
|
{ |
|
|
|
type: 'info', |
|
|
@ -289,6 +293,10 @@ export default { |
|
|
|
} |
|
|
|
this.init() |
|
|
|
}, |
|
|
|
handleLook(sid) { |
|
|
|
this.viewState = 2 |
|
|
|
this.$refs['divInfo'].showInfo(sid) |
|
|
|
}, |
|
|
|
handPass(row) { |
|
|
|
req.adopt({ sid: row.sid, remarks: row.remarks, userSid: window.sessionStorage.getItem('userSid') }).then((res) => { |
|
|
|
if (res.success) { |
|
|
@ -301,6 +309,9 @@ export default { |
|
|
|
this.dialogImgVisible = true |
|
|
|
this.dialogImageUrl = row.witMatUrl |
|
|
|
}, |
|
|
|
reseaState() { |
|
|
|
this.viewState = 1 |
|
|
|
}, |
|
|
|
doClose() { |
|
|
|
this.$store.dispatch('tagsView/delView', this.$route) |
|
|
|
this.$router.go(-1) |
|
|
|