查询记录页面调整

20240109-yw
anthonywj 1 year ago
parent 1837328302
commit e64296138e

@ -44,16 +44,16 @@
></el-input>
</el-form-item>
</el-col>
<el-col type="flex" :span="8">
<el-form-item label="查询场景:" prop="traceSource" class="query-form-item">
<el-select v-model="filterQuery.traceSource" placeholder="请选择查询场景" style="width: 90%" @change="onSubmit"
clearable>
<el-option label="源头查询" value="1"></el-option>
<el-option label="现场检查查询" value="2"></el-option>
<!-- <el-option label="出库" value="3"></el-option>-->
</el-select>
</el-form-item>
</el-col>
<!-- <el-col type="flex" :span="8">-->
<!-- <el-form-item label="查询场景:" prop="traceSource" class="query-form-item">-->
<!-- <el-select v-model="filterQuery.traceSource" placeholder="请选择查询场景" style="width: 90%" @change="onSubmit"-->
<!-- clearable>-->
<!-- <el-option label="源头查询" value="1"></el-option>-->
<!-- <el-option label="现场检查查询" value="2"></el-option>-->
<!-- &lt;!&ndash; <el-option label="出库" value="3"></el-option>&ndash;&gt;-->
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col type="flex" :span="8">
<el-form-item label="查询方案:" prop="traceType" class="query-form-item">
<el-select v-model="filterQuery.traceType" placeholder="请选择查询方案" style="width: 90%" @change="onSubmit"
@ -94,11 +94,11 @@
<!-- <el-table-column label="收货单位" prop="toCorp" width="180"></el-table-column>-->
<!-- <el-table-column label="所属企业" prop="companyName" width="180"></el-table-column>-->
<!-- <el-table-column label="查询场景" prop="traceSource" width="120"></el-table-column>-->
<el-table-column label="查询场景" prop="traceSource" width="120">
<template slot-scope="traceSource">
{{ formatTaskType(traceSource.row) }}
</template>
</el-table-column>
<!-- <el-table-column label="查询场景" prop="traceSource" width="120">-->
<!-- <template slot-scope="traceSource">-->
<!-- {{ formatTaskType(traceSource.row) }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="查询方案" prop="traceType" width="120">
<template slot-scope="traceType">
{{ formatTaskType1(traceType.row) }}
@ -977,6 +977,7 @@ export default {
// { value: 3, label: '3' },
],
showSearch: true,
actionType: "remote",
}
},
computed: {
@ -997,21 +998,21 @@ export default {
}
if (this.orderFormView.inOutType == '1') {
this.inOutType = "入库"
}else {
} else {
this.inOutType = "出库"
}
if (this.orderFormView.clientType == '1') {
this.clientType = "模拟测试客户端"
}else if (this.orderFormView.clientType == '2'){
} else if (this.orderFormView.clientType == '2') {
this.clientType = "UDI自助平台"
}else if (this.orderFormView.clientType == '3'){
} else if (this.orderFormView.clientType == '3') {
this.clientType = "UDI管理系统"
}else if (this.orderFormView.clientType == '4'){
} else if (this.orderFormView.clientType == '4') {
this.clientType = "UDIMS平台"
}
if (this.orderFormView.traceSource == '1') {
this.traceSource = '源头查询'
}else {
} else {
this.traceSource = '现场检查查询'
}
@ -1216,6 +1217,11 @@ export default {
},
getList() {
this.loading = true;
if (this.actionType === "remote") {
this.filterQuery.traceSource = 1;
} else {
this.filterQuery.traceSource = 2;
}
getTraceRecordList(this.filterQuery).then((res) => {
this.loading = false;
if (res.code === 20000) {
@ -1236,6 +1242,7 @@ export default {
},
},
created() {
this.actionType = this.$route.query.name;
this.getList()
}
}

@ -839,6 +839,7 @@ export default {
formateInOutType: null,
formateSourceType: null,
searchIng: false,
actionType:"remote",
}
},
methods: {
@ -1137,6 +1138,7 @@ export default {
},
created() {
this.actionType = this.$route.query.name;
this.geCompanyNameList();
},
mounted() {

Loading…
Cancel
Save