Browse Source

完善商品管理

zhanglei
yunuo970428 3 months ago
parent
commit
b58c6b8d73
  1. 7
      yxt-as-ui/src/views/goods/goods/index.vue

7
yxt-as-ui/src/views/goods/goods/index.vue

@ -367,15 +367,12 @@
toAdd() {
this.viewState = 2
var orgSid = ''
getOrgSidByPath({
orgPath: window.sessionStorage.getItem('defaultOrgPath')
}).then((res) => {
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => {
if (res.success) {
orgSid = res.data
this.$refs['divadd'].showAdd(window.sessionStorage.getItem('userSid'), orgSid, window.sessionStorage.getItem('defaultOrgPath').substring(window.sessionStorage.getItem('defaultOrgPath').lastIndexOf('/') + 1))
}
})
this.$refs['divadd'].showAdd(window.sessionStorage.getItem('userSid'), orgSid, window.sessionStorage.getItem(
'defaultOrgPath').substring(window.sessionStorage.getItem('defaultOrgPath').lastIndexOf('/') + 1))
},
toEdit() {

Loading…
Cancel
Save