fix:日志中针对扭转的检验表(用material_in)做特殊处理
This commit is contained in:
parent
9023d3b34a
commit
b3c42b5876
|
|
@ -447,7 +447,9 @@ export default {
|
||||||
watch: {},
|
watch: {},
|
||||||
mounted() {
|
mounted() {
|
||||||
let that = this;
|
let that = this;
|
||||||
|
if(that.test_file!==''&&that.test_file!==null){
|
||||||
that.test_file_name = that.test_file.split("/")[that.test_file.split("/").length-1];
|
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;
|
||||||
|
|
@ -461,7 +463,7 @@ export default {
|
||||||
if(that.qct!==''&&that.qct!==null){//输出
|
if(that.qct!==''&&that.qct!==null){//输出
|
||||||
that.getdefects();
|
that.getdefects();
|
||||||
}else{
|
}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'){
|
if(that.route_code=='chengpingfanxiu'){
|
||||||
that.$API.qm.qct.getQct.req({ material: that.material_in,type:'out',tag:'fix' }).then((res) => {
|
that.$API.qm.qct.getQct.req({ material: that.material_in,type:'out',tag:'fix' }).then((res) => {
|
||||||
that.qctId = res.id;
|
that.qctId = res.id;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue