|
|
@@ -184,7 +184,6 @@
|
|
|
},
|
|
|
deadlineChange: function () {
|
|
|
if (!this.isValidDate(this.applyObj.deadline)) {
|
|
|
-// this.$message.error('日期需不小于今天且在90天以内')
|
|
|
this.setRemindText('日期需不小于今天且在90天以内')
|
|
|
this.applyObj.deadline = ''
|
|
|
this.validObj.deadline = false
|
|
|
@@ -198,14 +197,14 @@
|
|
|
checkCode: function () {
|
|
|
this.validObj.code = this.applyObj.code && this.applyObj.code !== ''
|
|
|
if (!this.validObj.code) {
|
|
|
- this.$message.error('型号不能为空')
|
|
|
+ this.setRemindText('型号不能为空')
|
|
|
}
|
|
|
return this.validObj.code
|
|
|
},
|
|
|
checkBrand: function () {
|
|
|
this.validObj.brand = this.applyObj.brand && this.applyObj.brand !== ''
|
|
|
if (!this.validObj.brand) {
|
|
|
- this.$message.error('品牌不能为空')
|
|
|
+ this.setRemindText('品牌不能为空')
|
|
|
}
|
|
|
return this.validObj.brand
|
|
|
},
|
|
|
@@ -288,8 +287,11 @@
|
|
|
input {
|
|
|
width: 3.49rem;
|
|
|
height: .52rem;
|
|
|
+ line-height: .52rem;
|
|
|
padding-left: .19rem;
|
|
|
border: .02rem solid #7e7e7e;
|
|
|
+ font-size: .26rem;
|
|
|
+ vertical-align: middle;
|
|
|
}
|
|
|
> span {
|
|
|
display: inline-block;
|