|
|
@ -55,7 +55,11 @@ |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="applicationDate" label="申请日期" align="center" width="100"/> |
|
|
|
<el-table-column prop="pcApplicationCode" label="排产申请编号" align="center" width="170"/> |
|
|
|
<el-table-column label="采购申请编号" align="center" width="170"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span class="bluezi" @click="hangleLook(scope.row)">{{ scope.row.pcApplicationCode }}</span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="purchaseOrderNo" label="采购订单编号" align="center" width="170"/> |
|
|
|
<el-table-column prop="modelName" label="车型" align="center"/> |
|
|
|
<el-table-column prop="vehicleNum" fit label="台数" align="center" width="60"/> |
|
|
@ -74,6 +78,8 @@ |
|
|
|
<div-add v-show="viewState == 2 || viewState == 3" ref="divadd" @doback="resetState" @reloadlist="loadList"/> |
|
|
|
<!--详情部分组件--> |
|
|
|
<div-info v-show="viewState == 4" ref="divinfo" @doback="resetState"/> |
|
|
|
<!-- 查看采购申请详情 --> |
|
|
|
<cheliangpaichanInfo v-show="viewState == 5" ref="divCaiGouInfo" @doback="resetState"/> |
|
|
|
<el-dialog title="" :visible.sync="centerDialogVisible" width="78%" height="1%" :before-close="closeIt" center> |
|
|
|
<iframe frameborder="0" id="iframe" style="width:100%;" scrolling="no" :src="this.centerDialogVisible === true ? url :''"></iframe> |
|
|
|
</el-dialog> |
|
|
@ -88,6 +94,7 @@ import pageye from '@/components/pagination/pageye' |
|
|
|
import { getPathSidByUserSid } from '@/api/cheliang/dictcommons' |
|
|
|
import divAdd from './ruzhangAdd' |
|
|
|
import divInfo from './ruzhangInfo' |
|
|
|
import cheliangpaichanInfo from '../../../views/supplychain/cheliangpaichan/cheliangpaichanInfo' |
|
|
|
import { getStorage } from '@/utils/auth' |
|
|
|
|
|
|
|
export default { |
|
|
@ -97,7 +104,8 @@ export default { |
|
|
|
Pagination, |
|
|
|
pageye, |
|
|
|
divAdd, |
|
|
|
divInfo |
|
|
|
divInfo, |
|
|
|
cheliangpaichanInfo |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
@ -218,6 +226,10 @@ export default { |
|
|
|
const sid = row.sid |
|
|
|
this.$refs['divinfo'].showInfo(sid, row) |
|
|
|
}, |
|
|
|
hangleLook(row) { |
|
|
|
this.viewState = 5 |
|
|
|
this.$refs['divCaiGouInfo'].showInfo(row.vehicleOrderSid, row) |
|
|
|
}, |
|
|
|
// 查询 |
|
|
|
dosearch() { |
|
|
|
this.queryParams.current = 1 |
|
|
|