|
|
|
@ -155,12 +155,12 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<pagination
|
|
|
|
|
:total="total"
|
|
|
|
|
:limit.sync="query.limit"
|
|
|
|
|
:page.sync="query.page"
|
|
|
|
|
@pagination="getList"
|
|
|
|
|
>
|
|
|
|
|
</pagination>
|
|
|
|
|
:total="total"
|
|
|
|
|
:limit.sync="query.limit"
|
|
|
|
|
:page.sync="query.page"
|
|
|
|
|
@pagination="getList"
|
|
|
|
|
>
|
|
|
|
|
</pagination>
|
|
|
|
|
</el-card>
|
|
|
|
|
<!--<el-card>-->
|
|
|
|
|
<el-tabs type="border-card" style="margin: 15px">
|
|
|
|
@ -210,14 +210,14 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="单据类型" prop="thrBusName" width="100"></el-table-column>
|
|
|
|
|
<!-- <el-table-column label="单据完成条件" prop="orderFinishVerify" width="100">-->
|
|
|
|
|
<!-- <el-table-column label="单据完成条件" prop="orderFinishVerify" width="100">-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <span>{{ orderFinishVerifys[scope.row.orderFinishVerify] }}</span>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<el-table-column label="队列管理" prop="autoTag" width="100">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ autoTagTypes[scope.row.autoTag] }}</span>9
|
|
|
|
|
<span>{{ autoTagTypes[scope.row.autoTag] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="独占库存" prop="monopoly" width="90">
|
|
|
|
@ -240,11 +240,11 @@
|
|
|
|
|
<span>{{ checkInserts[scope.row.checkInsert] }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<!-- <el-table-column label="异常方式提醒" prop="warnType" width="100">-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <span>{{ warnTypeMap[scope.row.warnType] }}</span>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
<!-- <el-table-column label="异常方式提醒" prop="warnType" width="100">-->
|
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
|
<!-- <span>{{ warnTypeMap[scope.row.warnType] }}</span>-->
|
|
|
|
|
<!-- </template>-->
|
|
|
|
|
<!-- </el-table-column>-->
|
|
|
|
|
|
|
|
|
|
<el-table-column label="是否常用" prop="isPopular" width="100">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
@ -672,17 +672,17 @@ import {
|
|
|
|
|
deleteWorkplace,
|
|
|
|
|
createWorkplaceId, printWorkLabel, getUsers
|
|
|
|
|
} from '@/api/basic/workPlace/sysWorkplaceManage'
|
|
|
|
|
import { filterAllByUser, filterList, getInvListByUser } from '@/api/system/invWarehouse'
|
|
|
|
|
import { addTree, deleteTree, getTree, updateTree } from '@/api/basic/collectPoint/collectPointManage'
|
|
|
|
|
import { getCollectBusType } from '@/api/basic/collectPoint/gatherOrderType'
|
|
|
|
|
import {filterAllByUser, filterList, 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: {
|
|
|
|
@ -733,31 +733,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' }
|
|
|
|
@ -1063,7 +1063,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)
|
|
|
|
|