代码更新

This commit is contained in:
2022-12-02 13:41:20 +08:00
parent f56285e075
commit da5026069b
2 changed files with 4 additions and 2 deletions

View File

@@ -80,6 +80,7 @@ import CRUD, { header, presenter } from '@crud/crud'
import rrOperation from '@crud/RR.operation' import rrOperation from '@crud/RR.operation'
import pagination from '@crud/Pagination' import pagination from '@crud/Pagination'
import crudSectattr from '@/views/wms/basedata/st/sect/sectattr' import crudSectattr from '@/views/wms/basedata/st/sect/sectattr'
import crudUserStor from '@/views/wms/basedata/st/userStor/userStor'
export default { export default {
name: 'AddDtl', name: 'AddDtl',
@@ -132,7 +133,7 @@ export default {
}, },
methods: { methods: {
open() { open() {
crudSectattr.getSect({ is_productstore: '1' }).then(res => { crudUserStor.getSect({ 'stor_id': '' }).then(res => {
this.sects = res.content this.sects = res.content
}) })
this.crud.toQuery() this.crud.toQuery()

View File

@@ -94,6 +94,7 @@ import rrOperation from '@crud/RR.operation'
import pagination from '@crud/Pagination' import pagination from '@crud/Pagination'
import crudSectattr from '@/views/wms/basedata/st/sect/sectattr' import crudSectattr from '@/views/wms/basedata/st/sect/sectattr'
import handmovestor from '@/views/wms/st/inStor/moveStor/handmovestor' import handmovestor from '@/views/wms/st/inStor/moveStor/handmovestor'
import crudUserStor from '@/views/wms/basedata/st/userStor/userStor'
export default { export default {
name: 'AddDtl', name: 'AddDtl',
@@ -147,7 +148,7 @@ export default {
}, },
methods: { methods: {
open() { open() {
crudSectattr.getSect({ is_materialstore: '1' }).then(res => { crudUserStor.getSect({ 'stor_id': '' }).then(res => {
this.sects = res.content this.sects = res.content
}) })
this.crud.toQuery() this.crud.toQuery()