代码更新

This commit is contained in:
2022-11-28 16:10:29 +08:00
parent 8857845c7e
commit 800eeb8f8a
5 changed files with 46 additions and 33 deletions

View File

@@ -289,7 +289,7 @@ export default {
methods: {
open() {
debugger
crudSectattr.getSect({ 'is_productstore': '1' }).then(res => {
crudSectattr.getSect({ 'is_virtualstore': '1' }).then(res => {
this.sects = res.content
})
const area_type = '1585164789083148288'
@@ -499,6 +499,10 @@ export default {
}
// 如果勾选了,直接跳后台
if (this.form.checked) {
if (!this.sect_id) {
this.crud.notify('请先选择区域!', CRUD.NOTIFICATION_TYPE.INFO)
return
}
this.form.sect_id = this.sect_id
this.form.stor_id = this.stor_id
this.form.is_pc = '1'