yangys
2025-12-03 fdb0ed498f295b50c072c4b3652c08e2d60a747a
src/views/flow/todolist.vue
@@ -208,7 +208,7 @@
                        emptyValues :["1",'2'],
                        dicData: [
                            {
                                label: '车床',
                                label: '数控车床',
                                value: '1',
                            },
                            {
@@ -269,6 +269,9 @@
                        width: 70,
                        overHidden:true,
                        prop: 'startUserName',
                        formatter: (val, value, label) => {
                            return value=='' || value==null ?"MES":value;
                        },
                    },
                    {
                        label: '创建时间',
@@ -889,10 +892,11 @@
            let goApprove = true;
            if(this.row.taskDefinitionKey==='programmingTask' || this.row.taskDefinitionKey==='cureProgramTask'){
                programOnMachine = this.$refs.todolistLeft.programOnMachine?'Y':'N';
                let atts = this.$refs.todolistLeft.tableData;
                 console.error('atts',atts);
                let otherFileCOunt = atts.filter(att => att.program === false).length;
                if(otherFileCOunt == 0){
                if(otherFileCOunt == 0 && programOnMachine != 'Y'){
                    let confirResult = await this.$confirm('文件列表中无其他文件,确认要提交吗?', '', {
                        confirmButtonText: this.$t('submitText'),
                        cancelButtonText: this.$t('cancelText'),