| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <template>
- <div style="padding: 10px 0px 0px 10px">
- <el-table
- :data="data"
- border
- height="calc(100vh - 60px)"
- style="width: 100%">
- <el-table-column
- prop="billno"
- label="报价单号"
- width="0">
- </el-table-column>
- <el-table-column
- prop="projectname"
- label="报价项目"
- width="0">
- </el-table-column>
- <el-table-column
- prop="submitdate"
- label="报价日期"
- width="0">
- </el-table-column>
- <el-table-column
- prop="operation"
- width="100"
- label="操作">
- <template slot-scope="scope">
- <!-- <el-input v-model="scope.row.remarks" placeholder="输入订单备注" size="mini" @change="rowChange(scope.row,scope.$index)"></el-input>-->
- <el-button size="mini" type="text" @click="rowChange(scope.row)">详 情</el-button>
- <!-- <detailsInfo :row="scope.row"></detailsInfo>-->
- </template>
- </el-table-column>
- </el-table>
- </div>
- </template>
- <script>
- export default {
- name: "contractInfo",
- props:['data'],
- methods:{
- rowChange(data){
- this.$store.dispatch('changeDetailDrawer',false)
- setTimeout(()=>{
- let route = this.$route
- route.query.portrait = 'xmbj'
- console.log(route,'route')
- if (route.path !== '/quotedPriceDetail') {
- this.oldRoute = {path:route.path,query:route.query}
- this.$store.dispatch('setHistoryRouter',this.oldRoute)
- }
- this.$router.replace({
- path:'/quotedPriceDetail',
- query:{
- id:data.sa_quotedpriceid,
- rowindex:data.rowindex,
- }
- })
- this.$store.dispatch('changeDetailDrawer',true)
- },500)
- }
- }
- }
- </script>
- <style scoped>
- </style>
|