fix:玻纤输出物料批次打印时,wpr查询条件放到判断里面改正

This commit is contained in:
shijing 2025-12-24 16:23:28 +08:00
parent ccadd4d37e
commit 85ff05d22a
1 changed files with 1 additions and 1 deletions

View File

@ -581,12 +581,12 @@ export default {
if(type=='wm'){ if(type=='wm'){
let params = {}; let params = {};
params.tid = row.id; params.tid = row.id;
that.wprParams.wm = row.id;
let materialname = row.material_.name + '|' + row.material_.process_name; let materialname = row.material_.name + '|' + row.material_.process_name;
let specification = row.material_.specification; let specification = row.material_.specification;
if(that.route_code=='tuomoceliang'||that.route_code=='reyatuihuo'||that.route_code=='tuomoceliang'){ if(that.route_code=='tuomoceliang'||that.route_code=='reyatuihuo'||that.route_code=='tuomoceliang'){
console.log('route_code',that.route_code); console.log('route_code',that.route_code);
params.label_template_name = '工序带板段号打印模板'; params.label_template_name = '工序带板段号打印模板';
that.wprParams.wm = row.id;
let totalcount = 0; let totalcount = 0;
let numbers = ['','','','','','','']; let numbers = ['','','','','','',''];
this.$API.wpm.wpr.list.req(that.wprParams).then((res) => { this.$API.wpm.wpr.list.req(that.wprParams).then((res) => {