|
@@ -19,7 +19,7 @@
|
|
|
label-width="50px"
|
|
label-width="50px"
|
|
|
label="名称"
|
|
label="名称"
|
|
|
prop="name"
|
|
prop="name"
|
|
|
- :rules="{ required: true, message: '请输入', trigger: 'blur' }"
|
|
|
|
|
|
|
+
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="form.name"
|
|
v-model="form.name"
|
|
@@ -111,11 +111,7 @@
|
|
|
<template v-slot:code="scope">
|
|
<template v-slot:code="scope">
|
|
|
<el-form-item
|
|
<el-form-item
|
|
|
:prop="'detailsList.' + scope.$index + '.code'"
|
|
:prop="'detailsList.' + scope.$index + '.code'"
|
|
|
- :rules="{
|
|
|
|
|
- required: true,
|
|
|
|
|
- message: '',
|
|
|
|
|
- trigger: 'blur'
|
|
|
|
|
- }"
|
|
|
|
|
|
|
+
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="scope.row.code"
|
|
v-model="scope.row.code"
|
|
@@ -180,11 +176,7 @@
|
|
|
<template v-slot:noticePersonName="scope">
|
|
<template v-slot:noticePersonName="scope">
|
|
|
<el-form-item
|
|
<el-form-item
|
|
|
:prop="'detailsList.' + scope.$index + '.noticePersonName'"
|
|
:prop="'detailsList.' + scope.$index + '.noticePersonName'"
|
|
|
- :rules="{
|
|
|
|
|
- required: true,
|
|
|
|
|
- message: '',
|
|
|
|
|
- trigger: ['blur', 'change']
|
|
|
|
|
- }"
|
|
|
|
|
|
|
+
|
|
|
>
|
|
>
|
|
|
<el-input
|
|
<el-input
|
|
|
:disabled="type == 'view'"
|
|
:disabled="type == 'view'"
|
|
@@ -204,22 +196,7 @@
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
|
<fileMain v-model="scope.row.accessory" :type="type"></fileMain>
|
|
<fileMain v-model="scope.row.accessory" :type="type"></fileMain>
|
|
|
- <!-- <fileUpload-->
|
|
|
|
|
- <!-- v-if="type!=='view'"-->
|
|
|
|
|
- <!-- v-model="scope.row.accessory"-->
|
|
|
|
|
- <!-- module="main"-->
|
|
|
|
|
- <!-- :showLib="false"-->
|
|
|
|
|
- <!-- :limit="10"/>-->
|
|
|
|
|
- <!-- <div v-else>-->
|
|
|
|
|
- <!-- <el-link-->
|
|
|
|
|
- <!-- v-for="link in scope.row.accessory"-->
|
|
|
|
|
- <!-- :key="link.id"-->
|
|
|
|
|
- <!-- type="primary"-->
|
|
|
|
|
- <!-- :underline="false"-->
|
|
|
|
|
- <!-- @click="downloadFile(link)">-->
|
|
|
|
|
- <!-- {{ link.name }}-->
|
|
|
|
|
- <!-- </el-link>-->
|
|
|
|
|
- <!-- </div>-->
|
|
|
|
|
|
|
+
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-slot:type="scope">
|
|
<template v-slot:type="scope">
|
|
@@ -235,8 +212,7 @@
|
|
|
:label="item.dictValue"
|
|
:label="item.dictValue"
|
|
|
></el-option>
|
|
></el-option>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
- <!-- <DictSelection v-if="type!=='view'" clearable dictName="客户/供应商资质类型" v-model="scope.row.type"-->
|
|
|
|
|
- <!-- @itemChange="(val)=>handleChangeType(val,scope.row)"></DictSelection>-->
|
|
|
|
|
|
|
+
|
|
|
<span v-else>{{ getLabelName(typeList, scope.row.type) }}</span>
|
|
<span v-else>{{ getLabelName(typeList, scope.row.type) }}</span>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</template>
|
|
</template>
|
|
@@ -453,7 +429,7 @@
|
|
|
label: '编号',
|
|
label: '编号',
|
|
|
prop: 'code',
|
|
prop: 'code',
|
|
|
slot: 'code',
|
|
slot: 'code',
|
|
|
- headerSlot: 'isRequired',
|
|
|
|
|
|
|
+ // headerSlot: 'isRequired',
|
|
|
minWidth: 120,
|
|
minWidth: 120,
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
@@ -484,7 +460,7 @@
|
|
|
label: '通知人',
|
|
label: '通知人',
|
|
|
prop: 'noticePersonName',
|
|
prop: 'noticePersonName',
|
|
|
slot: 'noticePersonName',
|
|
slot: 'noticePersonName',
|
|
|
- headerSlot: 'isRequired',
|
|
|
|
|
|
|
+ // headerSlot: 'isRequired',
|
|
|
minWidth: 140,
|
|
minWidth: 140,
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|