|
@@ -412,11 +412,7 @@ export default {
|
|
|
label=""
|
|
|
label-width="0px"
|
|
|
prop={`userWaitPolicies.${index}.${column.columnAttributes.prop}`}
|
|
|
- rules={
|
|
|
- row.type == 'IN' || ~[1, 2, 3].indexOf(this.openType)
|
|
|
- ? []
|
|
|
- : [{ required: true, message: '请填写', trigger: 'blur' }]
|
|
|
- }
|
|
|
+ rules={[]}
|
|
|
>
|
|
|
<el-input
|
|
|
value={row[column.columnAttributes.prop]}
|
|
@@ -443,7 +439,7 @@ export default {
|
|
|
label=""
|
|
|
label-width="0px"
|
|
|
prop={`userWaitPolicies.${index}.${column.columnAttributes.prop}`}
|
|
|
- rules={[{ required: true, message: '请填写', trigger: 'blur' }]}
|
|
|
+ rules={[]}
|
|
|
>
|
|
|
<el-select
|
|
|
value={row[column.columnAttributes.prop]}
|
|
@@ -478,7 +474,7 @@ export default {
|
|
|
label=""
|
|
|
label-width="0px"
|
|
|
prop={`userWaitPolicies.${index}.${column.columnAttributes.prop}`}
|
|
|
- rules={[{ required: true, message: '请填写', trigger: 'blur' }]}
|
|
|
+ rules={[]}
|
|
|
>
|
|
|
<el-input
|
|
|
value={row[column.columnAttributes.prop]}
|
|
@@ -486,7 +482,6 @@ export default {
|
|
|
row[column.columnAttributes.prop] = val
|
|
|
}}
|
|
|
placeholder="请输入内容"
|
|
|
- disabled={row.type == 'IN'}
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
@@ -506,10 +501,9 @@ export default {
|
|
|
label=""
|
|
|
label-width="0px"
|
|
|
prop={`userWaitPolicies.${index}.${column.columnAttributes.prop}`}
|
|
|
- rules={[{ required: true, message: '请填写', trigger: 'blur' }]}
|
|
|
+ rules={[]}
|
|
|
>
|
|
|
<el-select
|
|
|
- disabled={row.type == 'IN'}
|
|
|
value={row[column.columnAttributes.prop]}
|
|
|
onInput={val => {
|
|
|
row[column.columnAttributes.prop] = val
|
|
@@ -538,12 +532,7 @@ export default {
|
|
|
render: (h, { row, column, index }) => {
|
|
|
return (
|
|
|
<div class="redbordererr">
|
|
|
- <el-form-item
|
|
|
- label=""
|
|
|
- label-width="0px"
|
|
|
- rules={[{ required: true, message: '请填写', trigger: 'blur' }]}
|
|
|
- >
|
|
|
- {/* disabled={true} */}
|
|
|
+ <el-form-item label="" label-width="0px" rules={[]}>
|
|
|
<el-select
|
|
|
value={row[column.columnAttributes.prop]}
|
|
|
onInput={val => {
|
|
@@ -578,9 +567,7 @@ export default {
|
|
|
label-width="0px"
|
|
|
prop={`userWaitPolicies.${index}.${column.columnAttributes.prop}`}
|
|
|
>
|
|
|
- {/* rules={[{ required: true, message: '请填写', trigger: 'blur' }]} */}
|
|
|
<el-input
|
|
|
- disabled={row.type == 'IN'}
|
|
|
value={row[column.columnAttributes.prop]}
|
|
|
onInput={val => {
|
|
|
row[column.columnAttributes.prop] = val
|
|
@@ -605,10 +592,9 @@ export default {
|
|
|
label=""
|
|
|
label-width="0px"
|
|
|
prop={`userWaitPolicies.${index}.${column.columnAttributes.prop}`}
|
|
|
- rules={[{ required: true, message: '请填写', trigger: 'blur' }]}
|
|
|
+ rules={[]}
|
|
|
>
|
|
|
<el-date-picker
|
|
|
- disabled={row.type == 'IN'}
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
value={row[column.columnAttributes.prop]}
|
|
|
onInput={val => {
|
|
@@ -635,10 +621,9 @@ export default {
|
|
|
label=""
|
|
|
label-width="0px"
|
|
|
prop={`userWaitPolicies.${index}.${column.columnAttributes.prop}`}
|
|
|
- rules={[{ required: true, message: '请填写', trigger: 'blur' }]}
|
|
|
+ rules={[]}
|
|
|
>
|
|
|
<el-date-picker
|
|
|
- disabled={row.type == 'IN'}
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
value={row[column.columnAttributes.prop]}
|
|
|
onInput={val => {
|