Commit 81974e9b authored by jingnan's avatar jingnan 👀

合格证disabled校验修改

parent b931bc35
......@@ -728,7 +728,9 @@ export default {
this.form.inventory = resDeduplicate
this.requestOp = resDeduplicate.map(item => {
let disabled = false
if (item.qualityPeriod) {
// 用户的创建时间 < 当天时间 去掉校验
// 如果用户的创建时间是当天日期时间,需要校验保质期
if (item.qualityPeriod && (new Date().getTime() <= Date.parse(this.form.createTimeTo))) {
disabled = new Date().getTime() > Date.parse(item.qualityPeriod)
}
if (this.subTypeName === 'AssignCardPaint') {
......
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