123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- <template>
- <div>
-
- <div class="mui-content vongi-qingjiadt">
-
- <form class="mui-input-group">
- <div class="mui-input-row">
- <label>接待部门</label>
- <span>{{info.companyName}}</span>
- </div>
- <div class="mui-input-row">
- <label>申请日期</label>
- <span>{{info.createTime}}</span>
- </div>
- <div class="mui-input-row">
- <label>来客单位</label>
- <span>{{info.customerCompany}}</span>
- </div>
- <div class="mui-input-row">
- <label>事由</label>
- <span>{{info.reason}}</span>
- </div>
- <div class="mui-input-row">
- <label>来客人数</label>
- <span>{{info.customerNum}}</span>
- </div>
- <div class="mui-input-row">
- <label>陪同人数</label>
- <span>{{info.accompanyNum}}</span>
- </div>
- <div class="mui-input-row">
- <label>进餐时间</label>
- <span>{{info.diningTime}}</span>
- </div>
- </form>
- <form class="mui-input-group">
- <div class="mui-input-row">
- <label>用餐安排</label>
- <span>{{info.diningName}}</span>
- </div>
- <div class="mui-input-row">
- <label style="width:50%">进餐标准金额(元)</label>
- <span style="width:50%">{{info.diningFee}}</span>
- </div>
- <div class="mui-input-row">
- <label>大写</label>
- <span>{{info.diningFeeChinese}}</span>
- </div>
- </form>
-
- </div>
- <loading :visible="isLoading"></loading>
- </div>
- </template>
- <script>
- import * as API from '@/apis-xsy/treat'
- import * as API_sp from '@/apis-xsy/xsy'
- import ExamineDetail from '$project/components/ExamineDetail.vue'
- import Common from '$project/components/Common.vue'
- import Loading from '$project/components/Loading.vue'
- import TopHeader from '$project/components/TopHeader.vue'
- import {
- mapGetters,
- mapMutations
- } from 'vuex'
- export default {
- name: '',
- components: {
- Common,
- Loading,
- TopHeader,ExamineDetail
- },
- data() {
- return {
- pageTitle: '申请调班详情',
- isLoading: false,
- id: '',
- info: {},
- examineDetail: {},
- only: "test"
- }
- },
- created() {
- this.id = this.$route.query.id;
- },
- methods: {
- allowExamine(op){
- this.$emit('allowExamine',op);
-
- },
- getClass(ac, i) {
- var reclass = ""
-
- if (ac.action == "0") {
- if (this.only == "test") {
- this.only = i;
- }
- if (this.only == i) {
- return "color3385FF"
- } else {
- return "mui-hidden"
- }
- }
- if (ac.action == "3" || ac.action == "2") {
- return "colorfe616c"
- }
- if (ac.action == "1" || ac.action == "4") {
- return "color389E0D"
- }
- return reclass
- },
-
- getAdjustShiftDetail() {
- this.isLoading = true;
- API.customerDiningDetail(this.id).then(response => {
- this.info = response;
- this.info.sp=true;
- this.isLoading = false;
-
-
- this.$emit('getInfo',this.info);
-
- }).catch(error => {
- this.isLoading = false;
- mui.toast(error);
- })
- },
- asynCallBack() {
- },
- update() {
- this.info.sp=false;
- this.getAdjustShiftDetail();
-
- }
- },
- mounted() {
- this.getAdjustShiftDetail();
-
- },
- destroyed() {},
-
- }
- </script>
- <style src="$project/assets/css/iconfont.css"></style>
- <style scoped src="$project/assets/css/xpwyfyy.css"></style>
- <style src="$project/assets/css/xsy.css"></style>
- <style>
- </style>
|