|
|
@ -631,12 +631,12 @@ export default { |
|
|
|
} |
|
|
|
return Number(s1.replace('.', '')) * Number(s2.replace('.', '')) / Math.pow(10, m) |
|
|
|
}, |
|
|
|
showEdit(sid, row) { |
|
|
|
showInfo(sid) { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['form_obj'].clearValidate() |
|
|
|
}) |
|
|
|
this.viewTitle = '【编辑】入库单' |
|
|
|
console.log('编辑回显', sid, row) |
|
|
|
console.log('编辑回显', sid) |
|
|
|
req.fetchBySid(sid).then(resp => { |
|
|
|
const data = resp.data |
|
|
|
this.formobj = data |
|
|
@ -685,7 +685,7 @@ export default { |
|
|
|
this.init() |
|
|
|
}) |
|
|
|
}).catch(e => { |
|
|
|
this.formobj = row |
|
|
|
this.formobj = {} |
|
|
|
}) |
|
|
|
}, |
|
|
|
getUrl() { |
|
|
|