fix:禅道359

This commit is contained in:
shijing 2026-03-25 11:15:34 +08:00
parent 4565b7ccca
commit 9023d3b34a
2 changed files with 18 additions and 8 deletions

View File

@ -363,6 +363,7 @@
:material_in="materialIn" :material_in="materialIn"
:material_out="mlogItem.material_out" :material_out="mlogItem.material_out"
:mgroupName= "mlogItem.mgroup_name" :mgroupName= "mlogItem.mgroup_name"
:test_file="mlogItem.test_file"
:isSubmit="isSubmit" :isSubmit="isSubmit"
:batchNumber="batchNumber" :batchNumber="batchNumber"
:handle_user="mlogItem.handle_user" :handle_user="mlogItem.handle_user"

View File

@ -22,7 +22,9 @@
<el-button type="primary" v-if="!isSubmit&&processType=='20'" @click="check_start">检验</el-button> <el-button type="primary" v-if="!isSubmit&&processType=='20'" @click="check_start">检验</el-button>
<el-button type="primary" v-if="multipleSet" @click="check_set" style="position: absolute;left: 210px;">批量操作</el-button> <el-button type="primary" v-if="multipleSet" @click="check_set" style="position: absolute;left: 210px;">批量操作</el-button>
<el-input v-if="multipleSet" v-model="wprInputText" @change="wprinputChange" style="width:200px;position: absolute;left: 308px;"></el-input> <el-input v-if="multipleSet" v-model="wprInputText" @change="wprinputChange" style="width:200px;position: absolute;left: 308px;"></el-input>
<div style="width:100px;position: absolute;right: 40px;display: inline-block;"> <div style="width:fit-content;position: absolute;right: 40px;display: inline-block;">
<div style="display: flex;">
<el-link v-if="test_file!==''" :href="test_file" target="_blank">{{ test_file_name }}</el-linK>
<scFileImport <scFileImport
v-if="project_code=='tcerp'&&processType=='20'&&!isSubmit" v-if="project_code=='tcerp'&&processType=='20'&&!isSubmit"
:name = "'上传检验附件'" :name = "'上传检验附件'"
@ -32,6 +34,7 @@
></scFileImport><!-- :templateUrl="checkTemplate" --> ></scFileImport><!-- :templateUrl="checkTemplate" -->
</div> </div>
</div> </div>
</div>
<div class="table-scroll"> <div class="table-scroll">
<table id="mlogbwlist" class="tables"> <table id="mlogbwlist" class="tables">
<thead> <thead>
@ -354,6 +357,10 @@ export default {
type:String, type:String,
default:"", default:"",
}, },
test_file:{
type:String,
default:"",
},
cutCount:{ cutCount:{
type:Number, type:Number,
default:0, default:0,
@ -386,6 +393,7 @@ export default {
route_code:"", route_code:"",
wprInputText:"", wprInputText:"",
project_code:"", project_code:"",
test_file_name:"",
canMultiple:false, canMultiple:false,
selectedAll:false, selectedAll:false,
checkAll: false, checkAll: false,
@ -439,6 +447,7 @@ export default {
watch: {}, watch: {},
mounted() { mounted() {
let that = this; let that = this;
that.test_file_name = that.test_file.split("/")[that.test_file.split("/").length-1];
that.route_code = that.$route.path.split("/")[2]; that.route_code = that.$route.path.split("/")[2];
that.currentDate = that.$TOOL.dateFormat2(new Date()); that.currentDate = that.$TOOL.dateFormat2(new Date());
that.project_code = this.$TOOL.data.get("BASE_INFO").base.base_code; that.project_code = this.$TOOL.data.get("BASE_INFO").base.base_code;