基础信息供应商

yangwl
A0010407 1 year ago
parent b4cc9e9057
commit a538a0aab7

@ -73,10 +73,10 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item> -->
<el-form-item label="联系人" prop="contact">
<el-form-item label="联系人电话" prop="contactPhone">
<el-input
v-model="queryParams.contact"
placeholder="请输入联系人"
v-model="queryParams.contactPhone"
placeholder="请输入联系人电话"
clearable
@keyup.enter.native="handleQuery"
/>
@ -195,8 +195,8 @@
<!-- 序号 -->
<el-table-column type="index" width="90" align="center" :index="indexMethod" label="序号" ></el-table-column>
<el-table-column label="供应商编码" align="center" prop="supplierCode" width="100" />
<el-table-column label="供应商名字" align="center" prop="zhDesc" width="100" />
<el-table-column label="英文描述" align="center" prop="enDesc" />
<el-table-column label="供应商名字" align="center" prop="zhDesc" width="350" />
<!-- <el-table-column label="英文描述" align="center" prop="enDesc" />
<el-table-column label="供应商类型" align="center" prop="supplierType" width="100"/>
<el-table-column label="账号" align="center" prop="accountNumber" width="100"/>
<el-table-column label="证照编码" align="center" prop="licenceNumber" width="200"/>
@ -204,19 +204,19 @@
<el-table-column label="国家" align="center" prop="userDefined1" />
<el-table-column label="省" align="center" prop="province" />
<el-table-column label="市" align="center" prop="city" />
<el-table-column label="区" align="center" prop="area" />
<el-table-column label="区" align="center" prop="area" /> -->
<el-table-column label="详细地址" align="center" prop="address" width="300"/>
<el-table-column label="邮编" align="center" prop="postcode" />
<el-table-column label="联系人" align="center" prop="contact" />
<el-table-column label="联系人电话" align="center" prop="contactPhone" width="120"/>
<el-table-column label="联系人职务" align="center" prop="contactPosition" width="100"/>
<el-table-column label="联系人电子邮件" align="center" prop="contactEmail" width="200"/>
<!-- <el-table-column label="邮编" align="center" prop="postcode" /> -->
<!-- <el-table-column label="联系人" align="center" prop="contact" />-->
<el-table-column label="联系人电话" align="center" prop="contactPhone" width="150"/>
<!-- <el-table-column label="联系人职务" align="center" prop="contactPosition" width="100"/>
<el-table-column label="联系人电子邮件" align="center" prop="contactEmail" width="200"/> -->
<el-table-column label="是否启用" align="center" prop="activeFlag">
<template slot-scope="scope">
{{ scope.row.activeFlag == 1 ? "是" : "否" }}
</template>
</el-table-column>
<el-table-column label="税号" align="center" prop="userDefined2" width="200"/>
<!-- <el-table-column label="税号" align="center" prop="userDefined2" width="200"/> -->
<!-- <el-table-column label="用户自定义3" align="center" prop="userDefined3" />
<el-table-column label="备注" align="center" prop="remark" /> -->
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" fixed="right">
@ -248,21 +248,15 @@
/>
<!-- 添加或修改供应商管理对话框 -->
<el-dialog :title="title" :visible.sync="open" width="1000px" append-to-body>
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="110px">
<el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="供应商代码" prop="supplierCode">
<el-input v-model="form.supplierCode" placeholder="请输入供应商代码" />
<el-input v-model="form.supplierCode" placeholder="请输入供应商代码" style="width:320px"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="供应商名字" prop="zhDesc">
<el-input v-model="form.zhDesc" placeholder="请输入供应商名字" />
<el-input v-model="form.zhDesc" placeholder="请输入供应商名字" style="width:320px"/>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" class="mb8">
<!-- <el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="英文描述" prop="enDesc">
<el-input v-model="form.enDesc" placeholder="请输入英文描述" />
@ -321,20 +315,21 @@
<el-input v-model="form.postcode" placeholder="请输入邮编" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="联系人" prop="contact">
</el-row> -->
<!-- <el-col :span="12"> -->
<!-- <el-form-item label="联系人" prop="contact">
<el-input v-model="form.contact" placeholder="请输入联系人" />
</el-form-item>
</el-col>
<el-col :span="12">
</el-col> -->
<el-form-item label="是否启用" prop="activeFlag">
<el-select v-model="form.activeFlag" placeholder="请选择是否启用" @change="$forceUpdate()" clearable style="width:320px">
<el-option v-for="item in options" :key="item.activeFlag" :label="item.label" :value="item.activeFlag"></el-option>
</el-select>
</el-form-item>
<el-form-item label="联系人电话" prop="contactPhone">
<el-input v-model="form.contactPhone" placeholder="请输入联系人电话" />
<el-input v-model="form.contactPhone" placeholder="请输入联系人电话" style="width:320px"/>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" class="mb8">
<!-- <el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="联系人职务" prop="contactPosition">
<el-input v-model="form.contactPosition" placeholder="请输入联系人职务" />
@ -345,16 +340,8 @@
<el-input v-model="form.contactEmail" placeholder="请输入联系人电子邮件" />
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="10" class="mb8">
<el-col :span="12">
<el-form-item label="是否启用" prop="activeFlag">
<el-select v-model="form.activeFlag" placeholder="请选择是否启用" @change="$forceUpdate()" clearable style="width:365px">
<el-option v-for="item in options" :key="item.activeFlag" :label="item.label" :value="item.activeFlag"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12">
</el-row> -->
<!-- <el-col :span="12">
<el-form-item label="经营范围" prop="businessScope">
<el-input v-model="form.businessScope" type="textarea" placeholder="请输入内容" />
</el-form-item>
@ -366,15 +353,14 @@
<el-input v-model="form.userDefined2" placeholder="请输入税号" />
</el-form-item>
</el-col>
<el-col :span="12">
<el-col :span="12"> -->
<!-- <el-form-item label="用户自定义3" prop="userDefined3">
<el-input v-model="form.userDefined3" placeholder="请输入用户自定义3" />
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" placeholder="请输入备注" />
</el-form-item> -->
</el-col>
</el-row>
<!-- </el-col>-->
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>

Loading…
Cancel
Save