fix:日志中针对扭转的检验表(用material_in)做特殊处理

This commit is contained in:
shijing 2026-03-25 13:24:14 +08:00
parent 9023d3b34a
commit b3c42b5876
1 changed files with 4 additions and 2 deletions

View File

@ -447,7 +447,9 @@ export default {
watch: {},
mounted() {
let that = this;
that.test_file_name = that.test_file.split("/")[that.test_file.split("/").length-1];
if(that.test_file!==''&&that.test_file!==null){
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;
@ -461,7 +463,7 @@ export default {
if(that.qct!==''&&that.qct!==null){//
that.getdefects();
}else{
if(that.material_in!==''&&that.material_in!==null){//
if(that.route_code=='niuzhuan'&&that.material_in!==''&&that.material_in!==null){//
if(that.route_code=='chengpingfanxiu'){
that.$API.qm.qct.getQct.req({ material: that.material_in,type:'out',tag:'fix' }).then((res) => {
that.qctId = res.id;