Browse Source

完善收货单、上架单

master
yunuo970428 2 months ago
parent
commit
b46c7cd240
  1. 2
      yxt-as-ui/src/views/storage/receivingGoods/index.vue
  2. 9
      yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue

2
yxt-as-ui/src/views/storage/receivingGoods/index.vue

@ -382,7 +382,7 @@ export default {
return return
} }
this.viewState = 5 this.viewState = 5
this.$refs['upShelfAdd'].showEdit(this.selectionList[0]) this.$refs['upShelfAdd'].showEdit({ sid: this.selectionList[0].sid })
}, },
toEdit(row) { toEdit(row) {
this.viewState = 3 this.viewState = 3

9
yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue

@ -199,19 +199,12 @@ export default {
this.submitdisabled = false this.submitdisabled = false
this.$emit('doback') this.$emit('doback')
}, },
showAdd() {
this.title = '【新增】'
this.getAllOrgper()
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
},
showEdit(row) { showEdit(row) {
this.$nextTick(() => { this.$nextTick(() => {
this.$refs['form_obj'].clearValidate() this.$refs['form_obj'].clearValidate()
}) })
this.getAllOrgper() this.getAllOrgper()
this.title = '【修改】' this.title = '【新增】'
req.init({ sid: row.sid }).then(resp => { req.init({ sid: row.sid }).then(resp => {
if (resp.success) { if (resp.success) {
this.formobj = resp.data this.formobj = resp.data

Loading…
Cancel
Save