| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <template>
- <div>
- <el-button size="mini" type="text" @click="goDetail">编 辑</el-button>
- <el-drawer
- :visible.sync="drawer"
- :with-header="false"
- direction="rtl"
- size="90%"
- append-to-body
- >
- <div class="detail__panel">
- <detailInfo :id="id" ref="subordinate" :isDisabled="false"></detailInfo>
- </div>
- </el-drawer>
- </div>
- </template>
- <script>
- import detailInfo from '@/HDrpManagement/invoicePredictionManage/details/modules/subordinate'
- export default {
- name: "edit",
- props:['data'],
- components:{detailInfo},
- data(){
- return {
- drawer:false,
- id:''
- }
- },
- methods:{
- goDetail(){
- this.id = this.data.sa_salesforecastbillid
- this.drawer = true
- this.$nextTick(()=>{
- this.$refs.subordinate.queryMainData()
- })
- },
- }
- }
- </script>
- <style scoped>
- </style>
|