修改
This commit is contained in:
@@ -227,7 +227,7 @@ import CRUD, { crud } from '@crud/crud'
|
||||
import crudSectattr from '@/views/wms/basedata/st/sect/sectattr'
|
||||
import StructDiv from '@/views/wms/pub/StructDialog'
|
||||
import crudRawAssist from '@/views/wms/st/inbill/rawassist'
|
||||
import crudPoint from '@/views/wms/sch/point'
|
||||
import crudPoint from '@/views/wms/sch/point/point'
|
||||
|
||||
export default {
|
||||
name: 'DivDialog',
|
||||
@@ -288,29 +288,15 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
open() {
|
||||
debugger
|
||||
crudSectattr.getSect({ 'is_materialstore': '1', 'sect_type_attr': '00' }).then(res => {
|
||||
this.sects = res.content
|
||||
})
|
||||
let area_type = ''
|
||||
if (this.billType === '000101' || this.billType === '000102' || this.billType === '000201' || this.billType === '000202' || this.billType === '000305') {
|
||||
area_type = '\'21\''
|
||||
}
|
||||
if (this.billType === '000301' || this.billType === '000303' || this.billType === '000304') {
|
||||
area_type = '\'37\''
|
||||
}
|
||||
if (this.billType === '000302') {
|
||||
area_type = '\'26\',\'32\',\'33\',\'34\''
|
||||
}
|
||||
if (this.billType === '000601') {
|
||||
area_type = '\'29\''
|
||||
}
|
||||
if (this.billType === '000401') {
|
||||
area_type = '\'21\',\'26\',\'29\',\'31\',\'35\',\'32\',\'33\',\'34\''
|
||||
}
|
||||
/* crudPoint.getPoint({ 'area_type': area_type }).then(res => {
|
||||
const area_type = '1585164789083148288'
|
||||
|
||||
crudPoint.getPoint({ 'area_type': area_type }).then(res => {
|
||||
this.pointlist = res
|
||||
})*/
|
||||
this.pointlist = [{ 'point_code': 'RK01', 'point_name': '一楼入库点' }]
|
||||
})
|
||||
},
|
||||
toDelete(data) {
|
||||
data.pop = true
|
||||
|
||||
Reference in New Issue
Block a user