|
|
@ -195,17 +195,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
|
|
|
|
<el-descriptions-item>
|
|
|
|
|
|
|
|
<template slot="label">
|
|
|
|
|
|
|
|
单据(单据状态)
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<el-checkbox v-model="configQuery.orderUnCheck" :disabled="configQuery.downstreamEnable">待校验单据
|
|
|
|
|
|
|
|
</el-checkbox>
|
|
|
|
|
|
|
|
<el-checkbox v-model="configQuery.orderUnReceive" :disabled="configQuery.downstreamEnable">未验收单据
|
|
|
|
|
|
|
|
</el-checkbox>
|
|
|
|
|
|
|
|
<el-checkbox v-model="configQuery.orderScanFinish" :disabled="configQuery.downstreamEnable">已完成单据
|
|
|
|
|
|
|
|
</el-checkbox>
|
|
|
|
|
|
|
|
</el-descriptions-item>
|
|
|
|
|
|
|
|
<el-descriptions-item label="单据(单据类型)" label-style="width: 150px">
|
|
|
|
<el-descriptions-item label="单据(单据类型)" label-style="width: 150px">
|
|
|
|
|
|
|
|
|
|
|
|
<div style="float: right;margin-bottom: 10px;margin-right: 25px">
|
|
|
|
<div style="float: right;margin-bottom: 10px;margin-right: 25px">
|
|
|
@ -214,36 +203,23 @@
|
|
|
|
@click="addBusTypeDialog()">添加扫码单据类型
|
|
|
|
@click="addBusTypeDialog()">添加扫码单据类型
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<el-table
|
|
|
|
<el-table :data="checkedBusTypes" border style="width: 100%">
|
|
|
|
:data="checkedBusTypes"
|
|
|
|
|
|
|
|
border
|
|
|
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column label="单据类型" prop="name" show-overflow-tooltip></el-table-column>
|
|
|
|
label="单据类型"
|
|
|
|
<el-table-column label="单据类型代码" prop="action" show-overflow-tooltip></el-table-column>
|
|
|
|
prop="name"
|
|
|
|
<el-table-column width="250" label="单据状态">
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="单据类型代码"
|
|
|
|
|
|
|
|
prop="action"
|
|
|
|
|
|
|
|
show-overflow-tooltip
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column width="180" label="允许自动补单">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-checkbox v-model="scope.row.outChange">自动补单</el-checkbox>
|
|
|
|
<el-select v-model="scope.row.orderStatus" placeholder="请选择单据状态">
|
|
|
|
|
|
|
|
<el-option label="待校验" :value=3 >待校验</el-option>
|
|
|
|
|
|
|
|
<el-option label="待核对" :value=5>待核对</el-option>
|
|
|
|
|
|
|
|
<el-option label="待审核" :value=10>待审核</el-option>
|
|
|
|
|
|
|
|
<el-option label="已审核" :value=7>已审核</el-option>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="操作" fixed="right">
|
|
|
|
<el-table-column label="操作" fixed="right">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-button
|
|
|
|
<el-button type="text" size="small" :disabled="configQuery.downstreamEnable" @click.native="remveBus(scope.$index, scope.row)">移除</el-button>
|
|
|
|
type="text"
|
|
|
|
|
|
|
|
size="small" :disabled="configQuery.downstreamEnable"
|
|
|
|
|
|
|
|
@click.native="remveBus(scope.$index, scope.row)"
|
|
|
|
|
|
|
|
>移除
|
|
|
|
|
|
|
|
</el-button
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
@ -448,6 +424,7 @@ export default {
|
|
|
|
var selectData = this.multipleSelection;
|
|
|
|
var selectData = this.multipleSelection;
|
|
|
|
selectData.forEach((obj) => {
|
|
|
|
selectData.forEach((obj) => {
|
|
|
|
obj.outChange = false;
|
|
|
|
obj.outChange = false;
|
|
|
|
|
|
|
|
obj.orderStatus = 7;
|
|
|
|
let isPut = true;
|
|
|
|
let isPut = true;
|
|
|
|
for (let i = 0; i < this.checkedBusTypes.length; i++) {
|
|
|
|
for (let i = 0; i < this.checkedBusTypes.length; i++) {
|
|
|
|
if (this.checkedBusTypes[i].action == obj.action) {
|
|
|
|
if (this.checkedBusTypes[i].action == obj.action) {
|
|
|
|