Commit e029cb05 authored by 黄奎's avatar 黄奎

新增验证

parent aabc847f
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</li> </li>
</ul> </ul>
</div> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<tr> <tr>
<th width="300">供应商名称</th> <th width="300">供应商名称</th>
<th width="500">联系人</th> <th width="500">联系人</th>
...@@ -77,13 +77,13 @@ ...@@ -77,13 +77,13 @@
<td> <td>
<el-form-item label="供应商名称"> <el-form-item label="供应商名称">
<el-input maxlength='50' class='w200' type="text" v-model="addMsg.Name" <el-input maxlength='50' class='w200' type="text" v-model="addMsg.Name"
:placeholder="$t('pub.pleaseImport')"></el-input> placeholder="供应商名称"></el-input>
</el-form-item> </el-form-item>
</td> </td>
<td> <td>
<el-form-item label="联系人"> <el-form-item label="联系人">
<el-input maxlength='30' class='w200' type="text" v-model="addMsg.LinkMan" <el-input maxlength='30' class='w200' type="text" v-model="addMsg.LinkMan"
:placeholder="$t('pub.pleaseImport')"></el-input> placeholder="联系人"></el-input>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
...@@ -91,21 +91,21 @@ ...@@ -91,21 +91,21 @@
<td> <td>
<el-form-item label="联系电话"> <el-form-item label="联系电话">
<el-input maxlength='30' class='w200' type="text" v-model="addMsg.LinkTel" <el-input maxlength='30' class='w200' type="text" v-model="addMsg.LinkTel"
:placeholder="$t('pub.pleaseImport')"> placeholder="联系电话">
</el-input> </el-input>
</el-form-item> </el-form-item>
</td> </td>
<td> <td>
<el-form-item label="编码"> <el-form-item label="编码">
<el-input class='w200' type="text" v-model="addMsg.Code" maxlength="2" <el-input class='w200' type="text" v-model="addMsg.Code" maxlength="2"
:placeholder="$t('pub.pleaseImport')"></el-input> placeholder="比如:HP"></el-input>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<el-form-item label="结算周期" prop="Sort"> <el-form-item label="结算周期" prop="Sort">
<el-select placeholder="请选择" filterable v-model="addMsg.SettlementType"> <el-select placeholder="请选择" filterable v-model="addMsg.SettlementType" class='w200'>
<el-option label="请选择" :value="0"></el-option> <el-option label="请选择" :value="0"></el-option>
<el-option label="及时结算" :value="1"></el-option> <el-option label="及时结算" :value="1"></el-option>
<el-option label="半月结算" :value="2"></el-option> <el-option label="半月结算" :value="2"></el-option>
...@@ -157,6 +157,7 @@ ...@@ -157,6 +157,7 @@
SettlementType: 0, //结算周期 SettlementType: 0, //结算周期
Code: '', //编码 Code: '', //编码
}, },
loading: false,
} }
}, },
mounted() { mounted() {
...@@ -166,8 +167,11 @@ ...@@ -166,8 +167,11 @@
}, },
methods: { methods: {
getList() { //列表查询 //列表查询
getList() {
this.loading = true;
this.apipost('supplier_get_GetTravelSupplierPage', this.msg, res => { this.apipost('supplier_get_GetTravelSupplierPage', this.msg, res => {
this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.DataList = res.data.data.pageData; this.DataList = res.data.data.pageData;
this.total = res.data.data.count; this.total = res.data.data.count;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment