diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-3.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-3.vue index 08e1752ee..988f3e6f5 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-3.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step1-3.vue @@ -102,18 +102,12 @@ align="center" sortable label="标准实施日期"> - - - +
{{ scope.row.SSRQ ? scope.row.SSRQ.substring(0, 10) : '-' }} - {{ scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' }} + {{ scope.row.ssrq }} @@ -359,7 +360,7 @@ label="新车型实施日期"> {{ - scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' + scope.row.ssrq }} {{ - scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' + scope.row.ssrq }} - {{ scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' }} + {{ scope.row.ssrq }} @@ -465,13 +466,13 @@ label="新车型实施日期"> @@ -481,13 +482,13 @@ label="在产车实施日期"> @@ -554,9 +555,9 @@ width="120" >
+ - - - - - - - - - - - {{ scope.row.SSRQ ? scope.row.SSRQ.substring(0, 10) : '-' }} - {{ scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' }} + {{ scope.row.ssrq }} @@ -389,7 +372,7 @@ label="新车型实施日期"> {{ - scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' + scope.row.ssrq }} {{ - scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' + scope.row.ssrq }} - {{ scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' }} + {{ scope.row.ssrq }} @@ -495,13 +478,13 @@ label="新车型实施日期"> @@ -511,13 +494,13 @@ label="在产车实施日期"> @@ -584,9 +567,9 @@ width="120" > { - if(item.ssrq === "-"){ - item.ssrq = '' - } - if(item.zrbm === '[]'){ - item.zrbm ='' - } - }) - this.standList.map(item => { - let addIndex - addIndex = this.dataList.findIndex(items =>{ - return items.id === item.id - }) - if(addIndex > -1){ - this.$message.warning('请勿重复添加数据') - }else{ - this.dataList.push(item) - } - }) - - this.standModel = false - } - - }, + // okStand() { + // if(this.standList.length < 1){ + // this.$message.warning('请至少选择一条数据进行添加') + // }else{ + // this.standList.forEach(item =>{ + // if(item.ssrq === "-"){ + // item.ssrq = '' + // } + // if(item.zrbm === '[]'){ + // item.zrbm ='' + // } + // }) + // this.standList.map(item => { + // let addIndex + // addIndex = this.dataList.findIndex(items =>{ + // return items.id === item.id + // }) + // if(addIndex > -1){ + // this.$message.warning('请勿重复添加数据') + // }else{ + // this.dataList.push(item) + // } + // }) + // + // this.standModel = false + // } + // + // }, //手动查找的清空按钮 clearLawBtn(){ this.lawInfoTableLoading = true @@ -1162,6 +1145,7 @@ export default { this.$message.warning('请先选择标准/政策来源') } }, + //添加标准带入事件 handleSelectConfirm(){ if(this.handleSelectTableList.length < 1){ this.$message.warning('请至少选择一条数据进行添加') @@ -1175,6 +1159,8 @@ export default { } }) this.handleSelectTableList.map(item => { + this.$set(item, 'involve', 'involve') + this.$set(item, 'remarks', '') let addIndex addIndex = this.dataList.findIndex(items =>{ return items.id === item.id @@ -1185,10 +1171,6 @@ export default { this.dataList.push(item) } }) - this.dataList.forEach(item => { - this.$set(item, 'involve', 'involve') - this.$set(item, 'remarks', '') - }) this.standModel = false } }, diff --git a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue index 2a2e58460..4fa29cf5e 100644 --- a/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/xmqdqr/step4.vue @@ -107,27 +107,18 @@ width="190px" align="center" label="标准实施日期"> - - - {{ scope.row.SSRQ ? scope.row.SSRQ.substring(0, 10) : '-' }} - {{ scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' }} + {{ scope.row.ssrq }} @@ -373,7 +364,7 @@ label="新车型实施日期"> {{ - scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' + scope.row.ssrq }} {{ - scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' + scope.row.ssrq }} - {{ scope.row.ssrq ? scope.row.ssrq.substring(0, 10) : '-' }} + {{ scope.row.ssrq }} @@ -479,13 +470,13 @@ label="新车型实施日期"> @@ -495,13 +486,13 @@ label="在产车实施日期"> @@ -568,9 +559,9 @@ width="120" > - - -