代码更新
This commit is contained in:
@@ -213,7 +213,7 @@ export default {
|
||||
mater_btn: false,
|
||||
materType: '',
|
||||
storlist: [],
|
||||
billtypelist: [{ 'code': '000101', 'name': '生产入库' }],
|
||||
billtypelist: [],
|
||||
rules: {
|
||||
stor_id: [
|
||||
{ required: true, message: '仓库不能为空', trigger: 'blur' }
|
||||
@@ -237,7 +237,7 @@ export default {
|
||||
methods: {
|
||||
open() {
|
||||
// 查询原材料库的仓库
|
||||
crudStorattr.getStor({ 'is_productstore': '1' }).then(res => {
|
||||
crudStorattr.getStor({ 'is_virtualstore': '1' }).then(res => {
|
||||
this.storlist = res.content
|
||||
})
|
||||
},
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user