123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344 |
- <template>
- <div>
- <div class="sty">
- <el-page-header @back="goBack" content="详情页面"> </el-page-header>
- </div>
- <el-card class="box-card">
- <div slot="header" class="clearfix">
- <span>客户</span>
- </div>
- <el-row>
- <el-col :span="8"
- ><span class="color">创建组织</span
- ><input v-model="infoForm.a" type="text"
- /></el-col>
- <el-col :span="8"
- ><span>客户编码</span><input v-model="infoForm.number" type="text"
- /></el-col>
- <el-col :span="8"
- ><span class="color">使用组织</span
- ><input v-model="infoForm.useOrgId" type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="8"><span>简称</span><input type="text" /></el-col>
- </el-row>
- </el-card>
- <el-card class="box-card">
- <div slot="header" class="clearfix">
- <span>基本信息</span>
- </div>
- <div class="baseInfo">
- <div>
- <div class="base-header">
- <span>地址</span>
- </div>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">国家</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">地区</span
- ><input v-model="infoForm.region" type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">省份</span
- ><input v-model="infoForm.province" type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">城市</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">通讯地址</span
- ><input v-model="infoForm.invoiceAddress" type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">邮政编码</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">公司网址</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">商城订单对应组织</span
- ><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">联系邮箱</span
- ><input v-model="infoForm.email" type="text"
- /></el-col>
- </el-row>
- </div>
- <div>
- <div class="base-header">
- <span>管理</span>
- </div>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">联系电话</span
- ><input v-model="infoForm.mobile" type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">传真</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">公司类别</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">公司性质</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">公司规模</span><input type="text"
- /></el-col>
- </el-row>
- <div class="base-header">
- <span>开票信息</span>
- </div>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">发票抬头</span
- ><input v-model="infoForm.invoiceTitle" type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">纳税登记号</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">开户银行</span
- ><input v-model="infoForm.bank" type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">银行账号</span
- ><input v-model="infoForm.bankAccount" type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">开票联系电话</span
- ><input v-model="infoForm.invoicePhone" type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">开票通讯地址</span
- ><input v-model="infoForm.invoiceAddress" type="text"
- /></el-col>
- </el-row>
- </div>
- <div>
- <div class="base-header">
- <span>相关</span>
- </div>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">对应供应商</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">对应集团客户</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">集团客户</span><input type="checkbox"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">默认付款方</span><input type="checkbox"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">不校验可发量</span><input type="checkbox"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">客户类别</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">客户分组</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r color">对应组织</span><input type="text"
- /></el-col>
- </el-row>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">备注</span><input type="text"
- /></el-col>
- </el-row>
- <div class="base-header">
- <span>智慧订货</span>
- </div>
- <el-row>
- <el-col :span="24"
- ><span class="marg-r">允许对智慧订货</span><input type="checkbox"
- /></el-col>
- </el-row>
- </div>
- </div>
- </el-card>
- <el-card class="box-card">
- <div slot="header" class="clearfix">
- <span>信用额度</span>
- </div>
- <el-row>
- <el-col :span="8"
- ><span class="color">信用额度</span><input type="text"
- /></el-col>
- <el-col :span="8"><span>有效期</span><input type="text" /></el-col>
- <el-col :span="8"></el-col>
- </el-row>
- </el-card>
- <el-card class="box-card">
- <div slot="header" class="clearfix">
- <span>业务信息</span>
- </div>
- </el-card>
- </div>
- </template>
- <script>
- export default {
- props: {
- infoList: {
- type: Object,
- required: true,
- },
- },
- data() {
- return {
- infoForm: {
- adminUserId: "",
- bank: "",
- bankAccount: "",
- bindUser: true,
- city: "",
- createBy: "",
- createTime: "",
- creditAmount: 0,
- email: "",
- forbidStatus: "",
- id: "",
- invoiceAddress: "",
- invoicePhone: "",
- invoiceTitle: "",
- mobile: "",
- name: "",
- number: "",
- province: "",
- region: "",
- saleDeptName: "",
- saleDeptNumber: "",
- syncTime: "",
- taxNo: "",
- updateBy: "",
- updateTime: "",
- useOrgId: "",
- useOrgName: "",
- useOrgNumber: "",
- },
- };
- },
- created() {
- this.infoForm = this.infoList;
- },
- methods: {
- goBack() {
- console.log(this.$parent);
- this.$parent.isShow = true;
- },
- },
- };
- </script>
- <style lang="scss" scoped>
- .color {
- color: #1f93ec;
- }
- .el-col-24 {
- margin: 6px 0;
- }
- .marg-r {
- padding-right: 15px;
- font-size: 12px;
- display: inline-block;
- width: 120px;
- }
- .base-header {
- height: 20px;
- width: 60%;
- border-bottom: 2px solid gray;
- span {
- width: 100px;
- height: 100%;
- display: block;
- text-align: center;
- color: #fff;
- background-color: gray;
- }
- }
- .box-card {
- margin-bottom: 20px;
- }
- .el-col-8 {
- span {
- padding-right: 10px;
- display: inline-block;
- width: 100px;
- }
- }
- .baseInfo {
- display: flex;
- justify-content: space-between;
- > div {
- width: 33%;
- }
- }
- .sty {
- margin-bottom: 20px;
- }
- .el-row {
- margin-bottom: 20px;
- &:last-child {
- margin-bottom: 0;
- }
- }
- </style>
|