Commit ba2a50e0 authored by xiangjiaojunxp's avatar xiangjiaojunxp

物料转换bug修改

parent f39b8021
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
mounted() { mounted() {
this.init(); this.init();
fileName="新建XLSX工作表";
}, },
methods:{ methods:{
/** 页面刷新时展示的数据*/ /** 页面刷新时展示的数据*/
...@@ -166,10 +166,11 @@ export default { ...@@ -166,10 +166,11 @@ export default {
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
//刷新下拉选框内容 //刷新下拉选框内容
fileName="新建XLSX工作表";
this.selectedOption=''; this.selectedOption='';
this.disableNextButton=''; this.disableNextButton='';
this.selectedRule=''; this.selectedRule='';
fileName="新建XLSX工作表"; this.luckyrule=[];
//刷新luckysheet表格 //刷新luckysheet表格
this.init(); this.init();
}, },
...@@ -268,6 +269,9 @@ export default { ...@@ -268,6 +269,9 @@ export default {
for(let i=0;i<rule.length;i++){ for(let i=0;i<rule.length;i++){
if (rule[i].convertStatus==1){ if (rule[i].convertStatus==1){
sysRulez = JSON.parse(rule[i].detailContent); sysRulez = JSON.parse(rule[i].detailContent);
} }
if(rule[i].convertStatus==2){ if(rule[i].convertStatus==2){
sysRules = JSON.parse(rule[i].detailContent); sysRules = JSON.parse(rule[i].detailContent);
...@@ -605,7 +609,6 @@ export default { ...@@ -605,7 +609,6 @@ export default {
} }
//循环得到汇总结果 //循环得到汇总结果
debugger
console.log(map); console.log(map);
let rowws; let rowws;
for(let i=0;i<sysRules.length;i++){ for(let i=0;i<sysRules.length;i++){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment