Commit 452adc3d authored by 15008242619's avatar 15008242619

Merge branch 'dev' of http://94.191.100.41/tfmom/tf-mom-web into dev

parents a2efb5a8 81974e9b
...@@ -728,7 +728,9 @@ export default { ...@@ -728,7 +728,9 @@ export default {
this.form.inventory = resDeduplicate this.form.inventory = resDeduplicate
this.requestOp = resDeduplicate.map(item => { this.requestOp = resDeduplicate.map(item => {
let disabled = false 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) disabled = new Date().getTime() > Date.parse(item.qualityPeriod)
} }
if (this.subTypeName === 'AssignCardPaint') { if (this.subTypeName === 'AssignCardPaint') {
......
...@@ -256,13 +256,13 @@ export default { ...@@ -256,13 +256,13 @@ export default {
type: 'warning' type: 'warning'
// customClass: 'lacclaims-footer-message' // customClass: 'lacclaims-footer-message'
}).then(() => { }).then(() => {
const params = { // const params = {
id: row.id, // 记实id // id: row.id, // 记实id
operator: 'REMOVE' // operator: 'REMOVE'
} // }
// 发送请求 // 发送请求
// `ExtScanCodeRecord/removeScanCode?id=${row.extScanCodeRecords[0].id}&reqName=${row.extMaterial.resType2.typeName}` // `ExtScanCodeRecord/removeScanCode?id=${row.extScanCodeRecords[0].id}&reqName=${row.extMaterial.resType2.typeName}`
post('/ExtScanCodeRecord/recursion', params) post(`/ExtScanCodeRecord/removeScanCode?id=${row.id}`, {})
.then((res) => { .then((res) => {
if (res.message.includes('成功')) { if (res.message.includes('成功')) {
this.$parent.$parent.$parent.$refs.header.getTableData() this.$parent.$parent.$parent.$refs.header.getTableData()
......
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