Browse Source

完善入库流程

zhanglei
yunuo970428 3 years ago
parent
commit
0a4f08ae1d
  1. 6
      anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue

6
anrui-scm/anrui-scm-ui/src/views/workFlow/ruzhangguanliFlow/ruzhangguanli/ruzhangEdit.vue

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

Loading…
Cancel
Save