|
|
@ -13,30 +13,30 @@ |
|
|
|
<div class="title">基本信息</div> |
|
|
|
<el-row style="border-top: 1px solid #e0e3eb"> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">供应商名称</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.supplierName" clearable placeholder=""/></el-form-item> |
|
|
|
<div class="span-sty"><span class="icon">*</span>供应商名称</div> |
|
|
|
<el-form-item prop="supplierName"><el-input class="addinputInfo addinputw" v-model="formobj.supplierName" clearable placeholder=""/></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">供应商简称</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.supplierPY" clearable placeholder=""/></el-form-item> |
|
|
|
<div class="span-sty"><span class="icon">*</span>供应商简称</div> |
|
|
|
<el-form-item prop="supplierPY"><el-input class="addinputInfo addinputw" v-model="formobj.supplierPY" clearable placeholder=""/></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">供应商编码</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.supplierCode" clearable placeholder=""/></el-form-item> |
|
|
|
<div class="span-sty"><span class="icon">*</span>供应商编码</div> |
|
|
|
<el-form-item prop="supplierCode"><el-input class="addinputInfo addinputw" v-model="formobj.supplierCode" clearable placeholder=""/></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">供应商类型</div> |
|
|
|
<el-form-item> |
|
|
|
<div class="span-sty"><span class="icon">*</span>供应商类型</div> |
|
|
|
<el-form-item prop="supplierTypeSid"> |
|
|
|
<el-select class="addinputInfo" v-model="formobj.supplierTypeSid" filterable placeholder="" @change="supplierTypeChange"> |
|
|
|
<el-option v-for="item in supplierType_list" :key="item.sid" :label="item.supplierTypeName" :value="item.sid"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">供应商电话</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.contactTelePhone" clearable placeholder=""/></el-form-item> |
|
|
|
<div class="span-sty"><span class="icon">*</span>供应商电话</div> |
|
|
|
<el-form-item prop="contactTelePhone"><el-input class="addinputInfo addinputw" v-model="formobj.contactTelePhone" clearable placeholder=""/></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">传真</div> |
|
|
@ -90,8 +90,8 @@ |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">开票公司名称</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.billingCompanyName" clearable placeholder=""/></el-form-item> |
|
|
|
<div class="span-sty"><span class="icon">*</span>开票公司名称</div> |
|
|
|
<el-form-item prop="billingCompanyName"><el-input class="addinputInfo addinputw" v-model="formobj.billingCompanyName" clearable placeholder=""/></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">税号</div> |
|
|
@ -108,16 +108,16 @@ |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" v-model="formobj.purchaser" clearable placeholder=""/></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">开票类型</div> |
|
|
|
<el-form-item> |
|
|
|
<div class="span-sty"><span class="icon">*</span>开票类型</div> |
|
|
|
<el-form-item prop="billingTypeValue"> |
|
|
|
<el-select class="addinputInfo" v-model="formobj.billingTypeValue" filterable placeholder="" @change="billingTypeChange"> |
|
|
|
<el-option v-for="item in billingType_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictValue"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div class="span-sty">税率</div> |
|
|
|
<el-form-item><el-input class="addinputInfo addinputw" @keyup.native="formobj.taxRate = getNumber(formobj.taxRate, 2)" v-model="formobj.taxRate" clearable placeholder=""/></el-form-item> |
|
|
|
<div class="span-sty"><span class="icon">*</span>税率</div> |
|
|
|
<el-form-item prop="taxRate"><el-input class="addinputInfo addinputw" @keyup.native="formobj.taxRate = getNumber(formobj.taxRate, 2)" v-model="formobj.taxRate" clearable placeholder=""/></el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
@ -212,7 +212,16 @@ export default { |
|
|
|
remarks: '', |
|
|
|
pmsSupplierBankList: [] |
|
|
|
}, |
|
|
|
rules: {} |
|
|
|
rules: { |
|
|
|
supplierName: [{ required: true, message: '供应商名称不能为空', trigger: 'blur' }], |
|
|
|
supplierPY: [{ required: true, message: '供应商简称不能为空', trigger: 'blur' }], |
|
|
|
supplierCode: [{ required: true, message: '供应商编码不能为空', trigger: 'blur' }], |
|
|
|
supplierTypeSid: [{ required: true, message: '供应商类型不能为空', trigger: 'change' }], |
|
|
|
contactTelePhone: [{ required: true, message: '供应商电话不能为空', trigger: 'blur' }], |
|
|
|
billingCompanyName: [{ required: true, message: '开票公司名称不能为空', trigger: 'blur' }], |
|
|
|
billingTypeValue: [{ required: true, message: '开票类型不能为空', trigger: 'change' }], |
|
|
|
taxRate: [{ required: true, message: '税率不能为空', trigger: 'blur' }] |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
@ -437,6 +446,9 @@ export default { |
|
|
|
margin-left: 120px !important; |
|
|
|
width: calc(100% - 115px); |
|
|
|
} |
|
|
|
/deep/ .el-form-item__error { |
|
|
|
margin-left: 120px !important; |
|
|
|
} |
|
|
|
.titleOne { |
|
|
|
padding: 7px; |
|
|
|
display: flex; |
|
|
|