业务单据扫码单据使用后端返回的单据类型名称,仓库名称

fengcang
anthonyywj2 3 years ago
parent 66990e1ae5
commit aa3460de4d

@ -114,21 +114,11 @@
{{ scope.row.status | statusFilterName }}
</template>
</el-table-column>
<el-table-column label="业务类型" prop="billType">
<template slot-scope="scope">
<span>{{ getActionName(scope.row.billType) }}</span>
</template>
<el-table-column label="业务类型" prop="billTypeName" width="150">
</el-table-column>
<el-table-column label="当前仓库" prop="locStorageCode" width="150">
<template slot-scope="scope">
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
</template>
<el-table-column label="当前仓库" prop="invName" width="150">
</el-table-column>
<el-table-column label="当前分库" prop="invWarehouseCode" width="120">
<template slot-scope="scope">
<span>{{ getSubStorageName(scope.row.invWarehouseCode) }}</span>
</template>
<el-table-column label="当前分库" prop="subInvName" width="120">
</el-table-column>
<!-- <el-table-column label="采购类型">-->
<!-- <template slot-scope="scope">-->

@ -98,13 +98,12 @@
{{ scope.row.status | statusFilterName }}
</template>
</el-table-column>
<el-table-column label="业务类型" prop="billType">
<template slot-scope="scope">
<span>{{ getActionName(scope.row.billType) }}</span>
</template>
<el-table-column label="业务类型" prop="billTypeName" width="150">
</el-table-column>
<el-table-column label="当前仓库" prop="invName" width="150">
</el-table-column>
<el-table-column label="当前分库" prop="subInvName" width="120">
</el-table-column>
<el-table-column label="当前仓库" prop="locStorageName" width="120"></el-table-column>
<el-table-column label="当前分库" prop="invWarehouseName" width="120"></el-table-column>
<!-- <el-table-column label="采购类型">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.type | typeFilterName }}-->

@ -100,23 +100,12 @@
{{ scope.row.status | statusFilterName }}
</template>
</el-table-column>
<el-table-column label="业务类型" prop="billType">
<template slot-scope="scope">
<span>{{ getActionName(scope.row.billType) }}</span>
</template>
</el-table-column>
<el-table-column label="当前仓库" prop="locStorageCode" width="120">
<template slot-scope="scope">
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
</template>
</el-table-column>
<el-table-column label="当前分库" prop="invWarehouseCode" width="120">
<template slot-scope="scope">
<span>{{ getSubStorageName(scope.row.invWarehouseCode) }}</span>
</template>
</el-table-column>
<el-table-column label="业务类型" prop="billTypeName" width="150">
</el-table-column>
<el-table-column label="当前仓库" prop="invName" width="150">
</el-table-column>
<el-table-column label="当前分库" prop="subInvName" width="120">
</el-table-column>
<!-- <el-table-column label="采购类型">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.type | typeFilterName }}-->

@ -107,23 +107,11 @@
{{ scope.row.status | statusFilterName }}
</template>
</el-table-column>
<el-table-column label="业务类型" prop="billType" width="150">
<template slot-scope="scope">
<span>{{ getActionName(scope.row.billType) }}</span>
</template>
<el-table-column label="业务类型" prop="billTypeName" width="150">
</el-table-column>
<el-table-column label="当前仓库" prop="locStorageCode" width="150">
<template slot-scope="scope">
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
</template>
<el-table-column label="当前仓库" prop="invName" width="150">
</el-table-column>
<el-table-column label="当前分库" prop="invWarehouseCode" width="120">
<template slot-scope="scope">
<span>{{ getSubStorageName(scope.row.invWarehouseCode) }}</span>
</template>
<el-table-column label="当前分库" prop="subInvName" width="120">
</el-table-column>
<!-- <el-table-column label="采购类别" width="150">-->
<!-- <template slot-scope="scope">-->

@ -1166,7 +1166,7 @@ export default {
this.curAction = this.getActionItem(this.formData.billType);
if (this.curAction != null) {
} else {
this.curAction = {corpType:0,genUnit: false,changeEnable:false,};
this.curAction = {corpType: 0, genUnit: false, changeEnable: false,};
this.formData.billType = null;
}
}
@ -1228,13 +1228,16 @@ export default {
actionChange(item) {
this.curAction = this.getActionItem(item);
this.formData.corpName = '';
// this.locInChange();
// this.findMethod();
if (this.$isNotBlank(this.formData.fromSubInvCode)) {
this.formData.fromSubInvCode = '';
}
this.locInChange();
this.findMethod();
},
locInChange() {
this.$forceUpdate();
// this.getBusType();
this.invChange();
// this.invChange();
this.findStorageMethod();
},
subStorageChange() {

@ -98,13 +98,12 @@
{{ scope.row.status | statusFilterName }}
</template>
</el-table-column>
<el-table-column label="业务类型" prop="billType" show-overflow-tooltip>
<template slot-scope="scope">
<span>{{ getActionName(scope.row.billType) }}</span>
</template>
<el-table-column label="业务类型" prop="billTypeName" width="150">
</el-table-column>
<el-table-column label="当前仓库" prop="invName" width="150">
</el-table-column>
<el-table-column label="当前分库" prop="subInvName" width="120">
</el-table-column>
<el-table-column label="当前仓库" prop="locStorageName" width="120"></el-table-column>
<el-table-column label="当前分库" prop="invWarehouseName" width="120"></el-table-column>
<el-table-column label="操作" fixed="right" width="200">
<template slot-scope="scope">
<el-button

@ -99,21 +99,11 @@
{{ scope.row.status | statusFilterName }}
</template>
</el-table-column>
<el-table-column label="业务类型" prop="billType">
<template slot-scope="scope">
<span>{{ getActionName(scope.row.billType) }}</span>
</template>
<el-table-column label="业务类型" prop="billTypeName" width="150">
</el-table-column>
<el-table-column label="当前仓库" prop="locStorageCode" width="150">
<template slot-scope="scope">
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
</template>
<el-table-column label="当前仓库" prop="invName" width="150">
</el-table-column>
<el-table-column label="当前分库" prop="invWarehouseCode" width="120">
<template slot-scope="scope">
<span>{{ getSubStorageName(scope.row.invWarehouseCode) }}</span>
</template>
<el-table-column label="当前分库" prop="subInvName" width="120">
</el-table-column>
<!-- <el-table-column label="采购类型">-->
<!-- <template slot-scope="scope">-->

@ -95,10 +95,7 @@
>
<!-- <el-table-column type="selection" width="55"></el-table-column>-->
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="扫码单据类型" prop="action" width="120">
<template slot-scope="scope">
<span>{{ getActionName(scope.row.action) }}</span>
</template>
<el-table-column label="扫码单据类型" prop="billTypeName">
</el-table-column>
<el-table-column
label="订单号"
@ -118,15 +115,9 @@
</el-table-column>
<el-table-column label="往来单位" prop="fromCorp" width="250">
</el-table-column>
<el-table-column label="当前仓库" prop="locStorageCode" width="120">
<template slot-scope="scope">
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
</template>
<el-table-column label="当前仓库" prop="invName" width="120">
</el-table-column>
<el-table-column label="当前分库" prop="invWarehouseCode" width="120">
<template slot-scope="scope">
<span>{{ getSubStorageName(scope.row.invWarehouseCode) }}</span>
</template>
<el-table-column label="当前分库" prop="subInvName" width="120">
</el-table-column>
<el-table-column
label="创建时间"

@ -94,10 +94,7 @@
>
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="扫码单据类型" prop="action">
<template slot-scope="scope">
<span>{{ getActionName(scope.row.action) }}</span>
</template>
<el-table-column label="扫码单据类型" prop="billTypeName">
</el-table-column>
<el-table-column
label="订单号"
@ -116,15 +113,9 @@
</el-table-column>
<el-table-column label="往来单位" prop="fromCorp" width="250">
</el-table-column>
<el-table-column label="当前仓库" prop="locStorageCode" width="120">
<template slot-scope="scope">
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
</template>
<el-table-column label="当前仓库" prop="invName" width="120">
</el-table-column>
<el-table-column label="当前分库" prop="invWarehouseCode" width="120">
<template slot-scope="scope">
<span>{{ getSubStorageName(scope.row.invWarehouseCode) }}</span>
</template>
<el-table-column label="当前分库" prop="subInvName" width="120">
</el-table-column>
<el-table-column
label="创建时间"

@ -95,10 +95,7 @@
>
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="扫码单据类型" prop="action">
<template slot-scope="scope">
<span>{{ getActionName(scope.row.action) }}</span>
</template>
<el-table-column label="扫码单据类型" prop="billTypeName">
</el-table-column>
<el-table-column
label="订单号"
@ -115,15 +112,9 @@
</el-table-column>
<el-table-column label="往来单位" prop="fromCorp" width="250">
</el-table-column>
<el-table-column label="当前仓库" prop="locStorageCode" width="120">
<template slot-scope="scope">
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
</template>
<el-table-column label="当前仓库" prop="invName" width="120">
</el-table-column>
<el-table-column label="当前分库" prop="invWarehouseCode" width="120">
<template slot-scope="scope">
<span>{{ getSubStorageName(scope.row.invWarehouseCode) }}</span>
</template>
<el-table-column label="当前分库" prop="subInvName" width="120">
</el-table-column>
<el-table-column
label="创建时间"

@ -86,10 +86,7 @@
@selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column label="扫码单据类型" prop="action">
<template slot-scope="scope">
<span>{{ getActionName(scope.row.action) }}</span>
</template>
<el-table-column label="扫码单据类型" prop="billTypeName">
</el-table-column>
<el-table-column label="订单号" prop="id" show-overflow-tooltip></el-table-column>
<el-table-column label="来源订单号" prop="corpOrderId" show-overflow-tooltip></el-table-column>
@ -102,16 +99,9 @@
<el-table-column label="往来单位" prop="fromCorp" width="220">
</el-table-column>
<el-table-column label="当前仓库" prop="locStorageCode" width="120">
<template slot-scope="scope">
<span>{{ getStorageName(scope.row.locStorageCode) }}</span>
</template>
<el-table-column label="当前仓库" prop="invName" width="120">
</el-table-column>
<el-table-column label="当前分库" prop="invWarehouseCode" width="120">
<template slot-scope="scope">
<span>{{ getSubStorageName(scope.row.invWarehouseCode) }}</span>
</template>
<el-table-column label="当前分库" prop="subInvName" width="120">
</el-table-column>
<el-table-column label="创建时间" prop="actDate" show-overflow-tooltip>

Loading…
Cancel
Save