Commit fc53e049 authored by 邓春圆's avatar 邓春圆

请款单,客户和申请日期提示信息需要优化

parent 6eb453d9
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
prop="customerId" prop="customerId"
:rules="{ required: true, trigger: ['blur', 'change'] }" :rules="{ required: true, trigger: ['blur', 'change'],message:$t('客户不能为空')}"
:error="$t('客户不能为空')" :error="$t('客户不能为空')"
> >
<customer-selector v-model="form.customerId" @change="consignor = $event" /> <customer-selector v-model="form.customerId" @change="consignor = $event" />
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
prop="departmentId" prop="departmentId"
required :rules="{required:true,message:$t('部门不能为空')}"
:error="$t('部门不能为空')" :error="$t('部门不能为空')"
> >
<el-select <el-select
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
prop="salesmanName" prop="salesmanName"
required :rules="{required:true,message:$t('业务员不能为空')}"
:error="$t('业务员不能为空')" :error="$t('业务员不能为空')"
> >
<el-select v-model="form.salesmanName" :placeholder="$t('请选择业务员')"> <el-select v-model="form.salesmanName" :placeholder="$t('请选择业务员')">
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
prop="applicationAt" prop="applicationAt"
required :rules="{required:true,message:$t('申请日期不能为空')}"
:error="$t('申请日期不能为空')" :error="$t('申请日期不能为空')"
> >
<el-date-picker <el-date-picker
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
prop="latestPayAt" prop="latestPayAt"
required :rules="{required:true,message:$t('最后付款日期不能为空')}"
:error="$t('最后付款日期不能为空')" :error="$t('最后付款日期不能为空')"
:datafld="interdict" :datafld="interdict"
> >
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
label="" label=""
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
required :rules="{required:true,message:$t('结算方式不能为空')}"
:error="$t('选择结算方式')" :error="$t('选择结算方式')"
prop="settlementType" prop="settlementType"
> >
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
prop="supplierId" prop="supplierId"
:rules="{ required: true, trigger: ['blur', 'change'] }" :rules="{ required: true, trigger: ['blur', 'change'],message:$t('供应商不能为空') }"
:error="$t('供应商不能为空')" :error="$t('供应商不能为空')"
> >
<!-- <customer-selector v-model="form.supplierId" @change="consignor = $event" /> --> <!-- <customer-selector v-model="form.supplierId" @change="consignor = $event" /> -->
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
prop="departmentId" prop="departmentId"
required :rules="{required:true,message:$t('部门不能为空')}"
:error="$t('部门不能为空')" :error="$t('部门不能为空')"
> >
<el-select <el-select
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
prop="salesmanName" prop="salesmanName"
required :rules="{required:true,message:$t('业务员不能为空')}"
:error="$t('业务员不能为空')" :error="$t('业务员不能为空')"
> >
<el-select v-model="form.salesmanName" :placeholder="$t('请选择业务员')"> <el-select v-model="form.salesmanName" :placeholder="$t('请选择业务员')">
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
prop="applicationAt" prop="applicationAt"
required :rules="{required:true,message:$t('申请日期不能为空')}"
:error="$t('申请日期不能为空')" :error="$t('申请日期不能为空')"
> >
<el-date-picker <el-date-picker
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
prop="latestPayAt" prop="latestPayAt"
required :rules="{required:true,message:$t('最后付款不能为空')}"
:error="$t('最后付款日期不能为空')" :error="$t('最后付款日期不能为空')"
> >
<el-date-picker <el-date-picker
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
label="" label=""
label-width="0" label-width="0"
style="margin-bottom: 0" style="margin-bottom: 0"
required :rules="{required:true,message:$t('结算方式不能为空')}"
:error="$t('选择结算方式')" :error="$t('选择结算方式')"
prop="settlementType" prop="settlementType"
> >
......
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