index.vue 1.83 KB
<template>
	<div class="eContainer">
		<c-page title="海关保函状态变更">
			<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
				<c-tabs v-model="tabVal" ref="elment" type="card">
					<!--PD000001 -->
					<!-- <el-tab-pane label="业务信息" name="ovwp">
						<c-content>
							<m-ovwp :model="model" :codes="codes" />
						</c-content>
					</el-tab-pane> -->
					<el-tab-pane label="状态变更" name="ztbg">
						<c-content>
							<m-ztbg :model="model" :codes="codes" />
						</c-content>
					</el-tab-pane>
				</c-tabs>
			</el-form>
			 <!-- 底部按钮 -->
      <c-function-btn
				:handleSubmit="handleSubmit"
				:handleCheck="handleCheck"
				:handleStash="handleStash"
				ref="commonBtn"
				@handleSureWarning="handleSureWarning"
			></c-function-btn>
		</c-page>
	</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import Hitupd from "../model";
import commonDepend from "~/mixin/commonDepend";
import operationFunc from "~/mixin/operationFunc";
import event from "../event";
import Check from "../model/check";
import Ovwp from "./Ovwp";
import Ztbg from "./Ztbg";

export default {
  name: "Hitupd",
  components: {
    "m-ovwp": Ovwp,
    "m-ztbg": Ztbg,
  },
  provide() {
    return {
      root: this,
      activeNames: ["ovwp"]
    };
  },
  mixins: [operationFunc, event, commonDepend, Check],
  data() {
    return {
      tabVal: "ztbg",
      trnName: "hitupd",
      model: new Hitupd().data,
      codes: {
        ...CodeTable
			},
    };
  },
  created() {
    console.log("进入hitupd交易");
    let data = {
      transName: this.trnName,
      nidgrp: {
        rec: {
          inr: this.$route.query.inr
        }
      }
    };
    this.init(data);
  },
  methods: {}
};
</script>
<style>
</style>