|
@@ -40,7 +40,7 @@
|
|
|
<ws-input
|
|
|
v-model="deptBudgetList.contractNo"
|
|
|
placeholder="请输入合同编号"
|
|
|
- maxlength="20"
|
|
|
+ maxlength="50"
|
|
|
size="small"
|
|
|
/>
|
|
|
</ws-form-item>
|
|
@@ -682,8 +682,8 @@ export default {
|
|
|
{ required: true, message: '请输入活动名称', trigger: 'blur' },
|
|
|
{
|
|
|
min: 6,
|
|
|
- max: 20,
|
|
|
- message: '长度在 6 到 20 个字符',
|
|
|
+ max: 50,
|
|
|
+ message: '长度在 6 到 50 个字符',
|
|
|
trigger: 'blur',
|
|
|
},
|
|
|
],
|
|
@@ -854,10 +854,10 @@ export default {
|
|
|
}
|
|
|
if (
|
|
|
this.deptBudgetList.contractNo.length < 6 ||
|
|
|
- this.deptBudgetList.contractNo.length > 20
|
|
|
+ this.deptBudgetList.contractNo.length > 50
|
|
|
) {
|
|
|
this.$message({
|
|
|
- message: '合同编号长度不符合要求,请输入6到20个字符之内!',
|
|
|
+ message: '合同编号长度不符合要求,请输入6到50个字符之内!',
|
|
|
type: 'warning',
|
|
|
})
|
|
|
return
|
|
@@ -1452,8 +1452,8 @@ export default {
|
|
|
this.deptBudgetList.compId = this.compId
|
|
|
this.deptBudgetList.contractType = 1
|
|
|
this.deptBudgetList.goodsType = 2
|
|
|
- if(this.deptBudgetList.deliveryProvince =="澳门特别行政区" || this.deptBudgetList.deliveryProvince == "澳门特别行政区"){
|
|
|
- this.deptBudgetList.deliveryArea = "特别行政区"
|
|
|
+ if(this.deptBudgetList.deliveryProvince =='澳门特别行政区' || this.deptBudgetList.deliveryProvince == '澳门特别行政区'){
|
|
|
+ this.deptBudgetList.deliveryArea = '特别行政区'
|
|
|
}else{
|
|
|
this.deptBudgetList.deliveryArea = CodeToText[this.selectedOptions[2]]
|
|
|
}
|