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_out="mlogItem.material_out"
:mgroupName= "mlogItem.mgroup_name"
:test_file="mlogItem.test_file"
:isSubmit="isSubmit"
:batchNumber="batchNumber"
:handle_user="mlogItem.handle_user"

View File

@ -22,14 +22,17 @@
<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-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;">
<scFileImport
v-if="project_code=='tcerp'&&processType=='20'&&!isSubmit"
:name = "'上传检验附件'"
accept=".xlsx"
:apiObj="$API.common.upload"
@success="upSuccess"
></scFileImport><!-- :templateUrl="checkTemplate" -->
<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
v-if="project_code=='tcerp'&&processType=='20'&&!isSubmit"
:name = "'上传检验附件'"
accept=".xlsx"
:apiObj="$API.common.upload"
@success="upSuccess"
></scFileImport><!-- :templateUrl="checkTemplate" -->
</div>
</div>
</div>
<div class="table-scroll">
@ -354,6 +357,10 @@ export default {
type:String,
default:"",
},
test_file:{
type:String,
default:"",
},
cutCount:{
type:Number,
default:0,
@ -386,6 +393,7 @@ export default {
route_code:"",
wprInputText:"",
project_code:"",
test_file_name:"",
canMultiple:false,
selectedAll:false,
checkAll: false,
@ -439,6 +447,7 @@ export default {
watch: {},
mounted() {
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.currentDate = that.$TOOL.dateFormat2(new Date());
that.project_code = this.$TOOL.data.get("BASE_INFO").base.base_code;