|
|
|
@ -215,9 +215,9 @@
|
|
|
|
|
<span>{{ workplaceTypeMap[scope.row.workplaceType] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="管理设备" prop="inoutType" width="100">
|
|
|
|
|
<el-table-column label="管理设备" prop="autoTag" width="100">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ inoutTypes[scope.row.inoutType] }}</span>
|
|
|
|
|
<span>{{ autoTagTypes[scope.row.autoTag] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="计量单位 " prop="orderCirType" width="100">
|
|
|
|
@ -660,17 +660,17 @@ import {
|
|
|
|
|
deleteWorkplace,
|
|
|
|
|
createWorkplaceId, printWorkLabel, getUsers
|
|
|
|
|
} from '@/api/basic/workPlace/sysWorkplaceManage'
|
|
|
|
|
import { filterAllByUser, getInvListByUser } from '@/api/system/invWarehouse'
|
|
|
|
|
import { addTree, deleteTree, getTree, updateTree } from '@/api/basic/collectPoint/collectPointManage'
|
|
|
|
|
import { getCollectBusType } from '@/api/basic/collectPoint/gatherOrderType'
|
|
|
|
|
import {filterAllByUser, getInvListByUser} from '@/api/system/invWarehouse'
|
|
|
|
|
import {addTree, deleteTree, getTree, updateTree} from '@/api/basic/collectPoint/collectPointManage'
|
|
|
|
|
import {getCollectBusType} from '@/api/basic/collectPoint/gatherOrderType'
|
|
|
|
|
import panelGroup from '@/views/dashboard/PanelGroup'
|
|
|
|
|
import { delUserBindWork, getUserBindWork } from '@/api/basic/collectPoint/userWorkplace'
|
|
|
|
|
import {delUserBindWork, getUserBindWork} from '@/api/basic/collectPoint/userWorkplace'
|
|
|
|
|
import selectBusType from './selectBusType'
|
|
|
|
|
import addBusTypeDialog from './addBusTypeDialog'
|
|
|
|
|
import { getWorkBindBusTypes, removeBusTypeById } from '@/api/basic/workPlace/sysWorkplaceDocuments'
|
|
|
|
|
import {getWorkBindBusTypes, removeBusTypeById} from '@/api/basic/workPlace/sysWorkplaceDocuments'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
components: { selectBusType, addBusTypeDialog },
|
|
|
|
|
components: {selectBusType, addBusTypeDialog},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
query: {
|
|
|
|
@ -721,31 +721,31 @@ export default {
|
|
|
|
|
filterBadInv: true,
|
|
|
|
|
formRules: {
|
|
|
|
|
workplaceName: [
|
|
|
|
|
{ required: true, message: '请输入工位名称', trigger: 'blur' }
|
|
|
|
|
{required: true, message: '请输入工位名称', trigger: 'blur'}
|
|
|
|
|
],
|
|
|
|
|
operationType: [
|
|
|
|
|
{ required: true, message: '请选择作业方式', trigger: 'blur' }
|
|
|
|
|
{required: true, message: '请选择作业方式', trigger: 'blur'}
|
|
|
|
|
],
|
|
|
|
|
checkInsert: [
|
|
|
|
|
{ required: true, message: '处理结果不能为空', trigger: 'blur' }
|
|
|
|
|
{required: true, message: '处理结果不能为空', trigger: 'blur'}
|
|
|
|
|
],
|
|
|
|
|
// invRemindNumber: [
|
|
|
|
|
// { required: true, message: '请输入工位存量提醒数', trigger: 'blur' }
|
|
|
|
|
// ],
|
|
|
|
|
warnType: [
|
|
|
|
|
{ required: true, message: '请选择提醒方式', trigger: 'blur' }
|
|
|
|
|
{required: true, message: '请选择提醒方式', trigger: 'blur'}
|
|
|
|
|
],
|
|
|
|
|
corpType: [
|
|
|
|
|
{ required: true, message: '请选择往来单位类型', trigger: 'blur' }
|
|
|
|
|
{required: true, message: '请选择往来单位类型', trigger: 'blur'}
|
|
|
|
|
],
|
|
|
|
|
orderId: [
|
|
|
|
|
{ required: true, message: '请选择单据类型', trigger: 'blur' }
|
|
|
|
|
{required: true, message: '请选择单据类型', trigger: 'blur'}
|
|
|
|
|
],
|
|
|
|
|
unitTittle: [
|
|
|
|
|
{ required: true, message: '请输入往来类型标题', trigger: 'blur' }
|
|
|
|
|
{required: true, message: '请输入往来类型标题', trigger: 'blur'}
|
|
|
|
|
],
|
|
|
|
|
workplaceStatus: [
|
|
|
|
|
{ required: true, message: '请选择工位状态', trigger: 'blur' }
|
|
|
|
|
{required: true, message: '请选择工位状态', trigger: 'blur'}
|
|
|
|
|
],
|
|
|
|
|
// workplaceType: [
|
|
|
|
|
// { required: true, message: '请选择工位类型', trigger: 'blur' }
|
|
|
|
@ -770,6 +770,10 @@ export default {
|
|
|
|
|
1: '是',
|
|
|
|
|
2: '否'
|
|
|
|
|
},
|
|
|
|
|
autoTagTypes: {
|
|
|
|
|
1: '是',
|
|
|
|
|
0: '否'
|
|
|
|
|
},
|
|
|
|
|
corpTypeMap: {
|
|
|
|
|
1: '客户',
|
|
|
|
|
2: '供应商',
|
|
|
|
@ -1034,7 +1038,7 @@ export default {
|
|
|
|
|
const binaryData = []
|
|
|
|
|
binaryData.push(response)
|
|
|
|
|
let url = window.URL.createObjectURL(
|
|
|
|
|
new Blob(binaryData, { type: 'application/pdf' })
|
|
|
|
|
new Blob(binaryData, {type: 'application/pdf'})
|
|
|
|
|
)
|
|
|
|
|
this.loading = false
|
|
|
|
|
window.open(url)
|
|
|
|
|