Commit 3331be32 authored by zhengke's avatar zhengke

供应商增加付款方式

parent d5f3e0c3
...@@ -91,6 +91,15 @@ ...@@ -91,6 +91,15 @@
<el-form-item :label="$t('hotel.table_HotelAddress')" prop="Address"> <el-form-item :label="$t('hotel.table_HotelAddress')" prop="Address">
<el-input type="text" class="w300" maxlength="50" v-model="addMsg.Address" :placeholder="$t('hotel.table_areaDetail')"></el-input> <el-input type="text" class="w300" maxlength="50" v-model="addMsg.Address" :placeholder="$t('hotel.table_areaDetail')"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="付款方式" prop="Address">
<el-select v-model="addMsg.PayType" filterable placeholder="请选择" class="w300">
<el-option v-for='item in PayTypeList'
:key="item.Id"
:label="item.name"
:value="item.Id">
</el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('hotel.table_tel')" prop="Tel"> <el-form-item :label="$t('hotel.table_tel')" prop="Tel">
<el-input type="text" class="w300" maxlength="20" v-model="addMsg.Tel"></el-input> <el-input type="text" class="w300" maxlength="20" v-model="addMsg.Tel"></el-input>
</el-form-item> </el-form-item>
...@@ -186,8 +195,17 @@ export default { ...@@ -186,8 +195,17 @@ export default {
Contact: "", Contact: "",
Fax: "", Fax: "",
Remark: "", Remark: "",
Type: "1" Type: "1",
PayType:""
}, },
//付款方式
PayTypeList:[{
name:'现付',
Id:1
},{
name:'签单',
Id:2
}],
rules: { rules: {
Name: [ Name: [
{ required: true, message: "请输入供应商名称", trigger: "blur" } { required: true, message: "请输入供应商名称", trigger: "blur" }
...@@ -287,7 +305,8 @@ export default { ...@@ -287,7 +305,8 @@ export default {
Contact: "", Contact: "",
Fax: "", Fax: "",
Remark: "", Remark: "",
Type: 1 Type: 1,
PayType:""
}), }),
(this.provinceList = ""); (this.provinceList = "");
this.cityList = ""; this.cityList = "";
......
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