UDI追溯查询代码提交

master
schry 2 years ago
parent 25731d6376
commit 429d790339

@ -150,13 +150,26 @@
<el-table-column label="单据号" prop="billNo" width="180"></el-table-column>
<el-table-column label="单据日期" prop="billDate" width="150"></el-table-column>
<el-table-column label="单据类型" prop="billType" width="150"></el-table-column>
<el-table-column label="发货单位" prop="fromCorp" width="220"></el-table-column>
<el-table-column label="收货单位" prop="toCorp" width="220"></el-table-column>
<el-table-column label="客户端类型" prop="clientType" width="150"></el-table-column>
<el-table-column label="当前企业统一社会信用号" prop="companyCertNum" width="200"></el-table-column>
<el-table-column label="所属企业" prop="companyIdFk" width="220" :formatter="formatCompanyName"></el-table-column>
<el-table-column label="单据创建者" prop="createUser" width="150"></el-table-column>
<el-table-column label="销毁原因" prop="destoryReason" width="150"></el-table-column>
<el-table-column label="执行销毁人证件号" prop="excuseCode" width="150"></el-table-column>
<el-table-column label="执行销毁人" prop="excuseUser" width="150"></el-table-column>
<el-table-column label="发货企业" prop="fromCorp" width="220"></el-table-column>
<el-table-column label="发货企业统一社会信用号" prop="fromCorpCreditNum" width="200"></el-table-column>
<el-table-column label="出入库类型" prop="inOutType" width="150" :formatter="formaterInOutType"></el-table-column>
<el-table-column label="退货原因" prop="returnReason" width="150"></el-table-column>
<el-table-column label="单据源头类型" prop="sourceType" width="150" :formatter="formaterSourceType"></el-table-column>
<el-table-column label="监督人证件号" prop="superviserCode" width="150"></el-table-column>
<el-table-column label="监督人姓名" prop="superviserUser" width="150"></el-table-column>
<el-table-column label="收货企业" prop="toCorp" width="150"></el-table-column>
<el-table-column label="收货企业统一社会信用号" prop="toCorpCreditNum" width="200"></el-table-column>
<el-table-column label="使用者信息" prop="toUserInfo" width="150"></el-table-column>
<el-table-column label="更新时间" prop="updateTime" width="220"></el-table-column>
<el-table-column label="上传人" prop="uploadUser" width="220"></el-table-column>
<el-table-column label="备注" prop="remark" width="220"></el-table-column>
<el-table-column label="操作" width="100" fixed="right">
<template slot-scope="scope">
<el-button
@ -182,159 +195,187 @@
width="60%"
top="5vh"
>
<el-form :model="formView" :rules="formRules" ref="dataForm" label-width="100px">
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="单据号" prop="billNo">
<el-input v-model="formView.billNo" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="单据时间" prop="billDate">
<el-input v-model="formView.billDate" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="出入库类型" prop="inOutType">
<el-input v-model="formView.inOutType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="单据类型" prop="billType">
<el-input v-model="formView.billType" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="发货企业" prop="fromCorp">
<el-input v-model="formView.fromCorp" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="发货企业统一社会信用号" prop="fromCorpCreditNum">
<el-input v-model="formView.fromCorpCreditNum" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="收货企业" prop="toCorp">
<el-input v-model="formView.toCorp" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="收货企业统一社会信用号" prop="toCorpCreditNum">
<el-input v-model="formView.toCorpCreditNum" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="单据创建者" prop="createUser">
<el-input v-model="formView.createUser" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="企业名称" prop="companyName">
<el-input v-model="formView.companyName" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="客户端类型" prop="clientType">
<el-input v-model="formView.clientType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="退货原因" prop="returnReason">
<el-input v-model="formView.returnReason" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="销毁原因" prop="destoryReason">
<el-input v-model="formView.destoryReason" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="执行销毁人" prop="excuseUser">
<el-input v-model="formView.excuseUser" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="执行销毁证件号" prop="excuseCode">
<el-input v-model="formView.excuseCode" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="监督人姓名" prop="superviserUser">
<el-input v-model="formView.superviserUser" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="监督人证件号" prop="superviserCode">
<el-input v-model="formView.superviserCode" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="上传者ID" prop="uploadUser">
<el-input v-model="formView.uploadUser" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="备注" prop="remark">
<el-input v-model="formView.remark" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="更新时间" prop="updateTime">
<el-input v-model="formView.updateTime" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-form :model="formView" :rules="formRules" ref="dataForm" label-width="100px">
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="单据号" prop="billNo">
<el-input v-model="formView.billNo" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="单据日期" prop="billDate">
<el-input v-model="formView.billDate" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" class="el-col">
<el-form-item label="单据类型" prop="billType">
<el-input v-model="formView.billType" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" type="flex">
<el-form-item label="客户端类型" prop="clientType">
<el-input v-model="formView.clientType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="11" class="el-col">
<el-form-item label="所属企业" prop="companyIdFk">
<el-input v-model="this.formateCompanyName" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" type="flex">
<el-form-item label="发货企业" prop="fromCorp">
<el-input v-model="formView.fromCorp" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="单据创建者" prop="createUser">
<el-input v-model="formView.createUser" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="销毁原因" prop="destoryReason">
<el-input v-model="formView.destoryReason" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" class="el-col">
<el-form-item label="更新时间" prop="updateTime">
<el-input v-model="formView.updateTime" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="执行销毁人" prop="excuseUser">
<el-input v-model="formView.excuseUser" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="出入库类型" prop="inOutType">
<el-input v-model="this.formateInOutType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="退货原因" prop="returnReason">
<el-input v-model="formView.returnReason" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="单据源头类型" prop="sourceType">
<el-input v-model="this.formateSourceType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="监督人证件号" prop="superviserCode">
<el-input v-model="formView.superviserCode" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="监督人姓名" prop="superviserUser">
<el-input v-model="formView.superviserUser" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="收货企业" prop="toCorp">
<el-input v-model="formView.toCorp" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="上传人" prop="uploadUser">
<el-input v-model="formView.uploadUser" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="使用者信息" prop="toUserInfo">
<el-input v-model="formView.toUserInfo" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
</el-form>
</el-row>
<el-row>
<el-col :span="11" type="flex">
<el-form-item label="当前企业统一社会信用号" prop="companyCertNum">
<el-input v-model="formView.companyCertNum" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" type="flex">
<el-form-item label="执行销毁人证件号" prop="excuseCode">
<el-input v-model="formView.excuseCode" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="11" class="el-col">
<el-form-item label="发货企业统一社会信用号" prop="fromCorpCreditNum">
<el-input v-model="formView.fromCorpCreditNum" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" type="flex">
<el-form-item label="收货企业统一社会信用号" prop="toCorpCreditNum">
<el-input v-model="formView.toCorpCreditNum" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="11" type="flex">
<el-form-item label="备注" prop="remark">
<el-input v-model="formView.remark" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click.native="open = false" size="small">关闭</el-button>
</div>
@ -371,15 +412,39 @@ export default {
cpmctymcList: [],
ggxhList: [],
nameCodeList: [],
companyNameList: []
companyNameList: [],
formateCompanyName: null,
formateInOutType: null,
formateSourceType: null
}
},
methods: {
formaterSourceType(row){
if (row.sourceType == 1) {
this.formateSourceType = "起始位置"
return "起始位置"
}else if (row.sourceType == 2){
this.formateSourceType = "中间位置"
return "中间位置"
}else {
this.formateSourceType = "结束位置"
return "结束位置"
}
},
formaterInOutType(row){
if (row.inOutType == 1) {
this.formateInOutType = "入库"
return "入库"
}else {
this.formateInOutType = "出库"
return "出库"
}
},
formatCompanyName(row){
let temp = this.companyNameList.find(item=>{
return item.id == row.companyIdFk
})
this.formateCompanyName = temp.companyName
return temp && temp.companyName
},
getCompanyName(){

@ -173,12 +173,26 @@
<el-table-column label="单据号" prop="billNo" width="180"></el-table-column>
<el-table-column label="单据日期" prop="billDate" width="150"></el-table-column>
<el-table-column label="单据类型" prop="billType" width="150"></el-table-column>
<el-table-column label="发货单位" prop="fromCorp" width="220"></el-table-column>
<el-table-column label="收货单位" prop="toCorp" width="220"></el-table-column>
<el-table-column label="客户端类型" prop="clientType" width="150"></el-table-column>
<el-table-column label="当前企业统一社会信用号" prop="companyCertNum" width="200"></el-table-column>
<el-table-column label="所属企业" prop="companyIdFk" width="220" :formatter="formatCompanyName"></el-table-column>
<el-table-column label="单据创建者" prop="createUser" width="150"></el-table-column>
<el-table-column label="销毁原因" prop="destoryReason" width="150"></el-table-column>
<el-table-column label="执行销毁人证件号" prop="excuseCode" width="150"></el-table-column>
<el-table-column label="执行销毁人" prop="excuseUser" width="150"></el-table-column>
<el-table-column label="发货企业" prop="fromCorp" width="220"></el-table-column>
<el-table-column label="发货企业统一社会信用号" prop="fromCorpCreditNum" width="200"></el-table-column>
<el-table-column label="出入库类型" prop="inOutType" width="150" :formatter="formaterInOutType"></el-table-column>
<el-table-column label="退货原因" prop="returnReason" width="150"></el-table-column>
<el-table-column label="单据源头类型" prop="sourceType" width="150" :formatter="formaterSourceType"></el-table-column>
<el-table-column label="监督人证件号" prop="superviserCode" width="150"></el-table-column>
<el-table-column label="监督人姓名" prop="superviserUser" width="150"></el-table-column>
<el-table-column label="收货企业" prop="toCorp" width="150"></el-table-column>
<el-table-column label="收货企业统一社会信用号" prop="toCorpCreditNum" width="200"></el-table-column>
<el-table-column label="使用者信息" prop="toUserInfo" width="150"></el-table-column>
<el-table-column label="更新时间" prop="updateTime" width="220"></el-table-column>
<el-table-column label="上传人" prop="uploadUser" width="220"></el-table-column>
<el-table-column label="备注" prop="remark" width="220"></el-table-column>
<el-table-column label="操作" width="100" fixed="right">
<template slot-scope="scope">
<el-button
@ -213,7 +227,7 @@
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="单据时间" prop="billDate">
<el-form-item label="单据日期" prop="billDate">
<el-input v-model="formView.billDate" size="small"
style="width: 90%" :disabled="true"
></el-input>
@ -221,12 +235,6 @@
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="出入库类型" prop="inOutType">
<el-input v-model="formView.inOutType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="单据类型" prop="billType">
<el-input v-model="formView.billType" size="small"
@ -234,56 +242,65 @@
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="发货企业" prop="fromCorp">
<el-input v-model="formView.fromCorp" size="small" style="width: 90%" :disabled="true"
<el-form-item label="客户端类型" prop="clientType">
<el-input v-model="formView.clientType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="11" class="el-col">
<el-form-item label="发货企业统一社会信用号" prop="fromCorpCreditNum">
<el-input v-model="formView.fromCorpCreditNum" size="small"
<el-form-item label="所属企业" prop="companyIdFk">
<el-input v-model="this.companyNameDetail" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" type="flex">
<el-form-item label="发货企业" prop="fromCorp">
<el-input v-model="formView.fromCorp" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="收货企业" prop="toCorp">
<el-input v-model="formView.toCorp" size="small" style="width: 90%" :disabled="true"
<el-form-item label="单据创建者" prop="createUser">
<el-input v-model="formView.createUser" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="收货企业统一社会信用号" prop="toCorpCreditNum">
<el-input v-model="formView.toCorpCreditNum" size="small"
<el-form-item label="销毁原因" prop="destoryReason">
<el-input v-model="formView.destoryReason" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="单据创建者" prop="createUser">
<el-input v-model="formView.createUser" size="small" style="width: 90%" :disabled="true"
<el-col :span="11" class="el-col">
<el-form-item label="更新时间" prop="updateTime">
<el-input v-model="formView.updateTime" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="企业名称" prop="companyName">
<el-input v-model="formView.companyName" size="small"
<el-form-item label="执行销毁人" prop="excuseUser">
<el-input v-model="formView.excuseUser" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="客户端类型" prop="clientType">
<el-input v-model="formView.clientType" size="small" style="width: 90%" :disabled="true"
<el-form-item label="出入库类型" prop="inOutType">
<el-input v-model="this.formateInOutType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
@ -297,14 +314,14 @@
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="销毁原因" prop="destoryReason">
<el-input v-model="formView.destoryReason" size="small" style="width: 90%" :disabled="true"
<el-form-item label="单据源头类型" prop="sourceType">
<el-input v-model="this.formateSourceType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="执行销毁人" prop="excuseUser">
<el-input v-model="formView.excuseUser" size="small"
<el-form-item label="监督人证件号" prop="superviserCode">
<el-input v-model="formView.superviserCode" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
@ -312,14 +329,14 @@
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="执行销毁证件号" prop="excuseCode">
<el-input v-model="formView.excuseCode" size="small" style="width: 90%" :disabled="true"
<el-form-item label="监督人姓名" prop="superviserUser">
<el-input v-model="formView.superviserUser" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="监督人姓名" prop="superviserUser">
<el-input v-model="formView.superviserUser" size="small"
<el-form-item label="收货企业" prop="toCorp">
<el-input v-model="formView.toCorp" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
@ -327,35 +344,60 @@
</el-row>
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="监督人证件号" prop="superviserCode">
<el-input v-model="formView.superviserCode" size="small" style="width: 90%" :disabled="true"
<el-form-item label="上传人" prop="uploadUser">
<el-input v-model="formView.uploadUser" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" class="el-col">
<el-form-item label="上传者ID" prop="uploadUser">
<el-input v-model="formView.uploadUser" size="small"
<el-form-item label="使用者信息" prop="toUserInfo">
<el-input v-model="formView.toUserInfo" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row type="flex">
</el-row>
<el-row>
<el-col :span="11" type="flex">
<el-form-item label="备注" prop="remark">
<el-input v-model="formView.remark" size="small" style="width: 90%" :disabled="true"
<el-form-item label="当前企业统一社会信用号" prop="companyCertNum">
<el-input v-model="formView.companyCertNum" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" type="flex">
<el-form-item label="执行销毁人证件号" prop="excuseCode">
<el-input v-model="formView.excuseCode" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="11" class="el-col">
<el-form-item label="更新时间" prop="updateTime">
<el-input v-model="formView.updateTime" size="small"
<el-form-item label="发货企业统一社会信用号" prop="fromCorpCreditNum">
<el-input v-model="formView.fromCorpCreditNum" size="small"
style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
<el-col :span="11" type="flex">
<el-form-item label="收货企业统一社会信用号" prop="toCorpCreditNum">
<el-input v-model="formView.toCorpCreditNum" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="11" type="flex">
<el-form-item label="备注" prop="remark">
<el-input v-model="formView.remark" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click.native="open = false" size="small">关闭</el-button>
@ -393,15 +435,39 @@ export default {
cpmctymcList: [],
ggxhList: [],
nameCodeList: [],
companyNameList: []
companyNameList: [],
companyNameDetail: null,
formateInOutType: null,
formateSourceType: null
}
},
methods: {
formaterSourceType(row){
if (row.sourceType == 1) {
this.formateSourceType = "起始位置"
return "起始位置"
}else if (row.sourceType == 2){
this.formateSourceType = "中间位置"
return "中间位置"
}else {
this.formateSourceType = "结束位置"
return "结束位置"
}
},
formaterInOutType(row){
if (row.inOutType == 1) {
this.formateInOutType = "入库"
return "入库"
}else {
this.formateInOutType = "出库"
return "出库"
}
},
formatCompanyName(row){
let temp = this.companyNameList.find(item=>{
return item.id == row.companyIdFk
})
this.companyNameDetail = temp.companyName
return temp && temp.companyName
},
geCompanyNameList(query) {

Loading…
Cancel
Save