This commit is contained in:
		
							parent
							
								
									a78e076b19
								
							
						
					
					
						commit
						550a8e2373
					
				| 
						 | 
				
			
			@ -64,6 +64,7 @@
 | 
			
		|||
                :show-overflow-tooltip="true"
 | 
			
		||||
            ></el-table-column>
 | 
			
		||||
            <el-table-column label="工程编号" align="center" prop="proCode" :show-overflow-tooltip="true" />
 | 
			
		||||
            <el-table-column label="项目中心" align="center" prop="proCenter" :show-overflow-tooltip="true" />
 | 
			
		||||
            <el-table-column label="是否匹配i8工程" align="center" prop="isMatchI8" :show-overflow-tooltip="true">
 | 
			
		||||
                <template slot-scope="scope">
 | 
			
		||||
                    <div v-if="scope.row.isMatchI8 == '匹配'" style="color: green">{{ scope.row.isMatchI8 }}</div>
 | 
			
		||||
| 
						 | 
				
			
			@ -377,13 +378,13 @@ export default {
 | 
			
		|||
                        trigger: 'blur'
 | 
			
		||||
                    }
 | 
			
		||||
                ],
 | 
			
		||||
                proStatus: [
 | 
			
		||||
                    {
 | 
			
		||||
                        required: true,
 | 
			
		||||
                        message: '工程状态不能为空',
 | 
			
		||||
                        trigger: 'blur'
 | 
			
		||||
                    }
 | 
			
		||||
                ],
 | 
			
		||||
                // proStatus: [
 | 
			
		||||
                //     {
 | 
			
		||||
                //         required: true,
 | 
			
		||||
                //         message: '工程状态不能为空',
 | 
			
		||||
                //         trigger: 'blur'
 | 
			
		||||
                //     }
 | 
			
		||||
                // ],
 | 
			
		||||
                proNature: [
 | 
			
		||||
                    {
 | 
			
		||||
                        required: true,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -235,12 +235,11 @@
 | 
			
		|||
                </el-row>
 | 
			
		||||
                <el-row>
 | 
			
		||||
                    <el-col :span="12">
 | 
			
		||||
                        <el-form-item label="租赁单位类型">
 | 
			
		||||
                        <el-form-item label="租赁单位类型" prop="protocol">
 | 
			
		||||
                            <el-select
 | 
			
		||||
                                style="width: 100%"
 | 
			
		||||
                                v-model="form.protocol"
 | 
			
		||||
                                placeholder="请选择租赁单位类型"
 | 
			
		||||
                                clearable
 | 
			
		||||
                                :disabled="isEdits"
 | 
			
		||||
                            >
 | 
			
		||||
                                <el-option label="内部单位" value="1"></el-option>
 | 
			
		||||
| 
						 | 
				
			
			@ -585,7 +584,8 @@ export default {
 | 
			
		|||
                unitId: null,
 | 
			
		||||
                projectId: null,
 | 
			
		||||
                protocol: '1',
 | 
			
		||||
                branchProIds: []
 | 
			
		||||
                branchProIds: [],
 | 
			
		||||
                planStartTime: ''
 | 
			
		||||
            },
 | 
			
		||||
            // 表单校验
 | 
			
		||||
            rules: {
 | 
			
		||||
| 
						 | 
				
			
			@ -625,7 +625,14 @@ export default {
 | 
			
		|||
                        message: '请输入正确的联系电话',
 | 
			
		||||
                        trigger: 'blur'
 | 
			
		||||
                    }
 | 
			
		||||
                ]
 | 
			
		||||
                ],
 | 
			
		||||
                protocol: [
 | 
			
		||||
                    {
 | 
			
		||||
                        required: true,
 | 
			
		||||
                        message: '请选择租赁类型',
 | 
			
		||||
                        trigger: 'change'
 | 
			
		||||
                    }
 | 
			
		||||
                ],
 | 
			
		||||
            },
 | 
			
		||||
 | 
			
		||||
            //上传
 | 
			
		||||
| 
						 | 
				
			
			@ -866,6 +873,12 @@ export default {
 | 
			
		|||
            this.isEdit = false
 | 
			
		||||
            this.isEdits = false
 | 
			
		||||
            this.title = '新增'
 | 
			
		||||
 | 
			
		||||
            const today = new Date()
 | 
			
		||||
            const yyyy = today.getFullYear()
 | 
			
		||||
            const mm = String(today.getMonth() + 1).padStart(2, '0')
 | 
			
		||||
            const dd = String(today.getDate()).padStart(2, '0')
 | 
			
		||||
            this.form.planStartTime = `${yyyy}-${mm}-${dd}`
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
        handleUpdate(row) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue