|
|
@@ -16,7 +16,7 @@
|
|
|
>
|
|
|
<template #headerCell="{ column }">
|
|
|
<div>
|
|
|
- <a-tooltip placement="topLeft">
|
|
|
+ <a-tooltip placement="topLeft">
|
|
|
<div>
|
|
|
<span
|
|
|
v-if="
|
|
|
@@ -46,32 +46,11 @@
|
|
|
<div v-if="scope.column.dataIndex === 'sequence_index_number'">
|
|
|
{{ getSerialNumber(scope.index) }}
|
|
|
</div>
|
|
|
- <div v-else-if="record.disableCell&&record.disableCell.find((item) =>item.y== scope.column.dataIndex&&item.x==getSerialNumber(scope.index))
|
|
|
-">
|
|
|
- <StFormModelItem
|
|
|
- :record="record.list.find((item) => item.model == scope.column.dataIndex)"
|
|
|
- :config="config"
|
|
|
- :parentDisabled="true"
|
|
|
- :index="record.list.findIndex((item) => item.model == scope.column.dataIndex)"
|
|
|
- :domains="dynamicValidateForm.domains"
|
|
|
- :dynamicData="dynamicData"
|
|
|
- :formData="formData"
|
|
|
- :formConfig="formConfig"
|
|
|
- :childTableFieldRecord="record.list"
|
|
|
- :rowIndex="scope.index"
|
|
|
- v-model:value="scope.record[record.list.find((item) => item.model == scope.column.dataIndex).model]"
|
|
|
- @input="handleInput"
|
|
|
- :tableScope="scope"
|
|
|
- :columns="columns"
|
|
|
- :pagination="pagination"
|
|
|
- :currentTableData="currentTableData"
|
|
|
- />
|
|
|
- </div>
|
|
|
<div v-else-if="record.list.find((item) => item.model == scope.column.dataIndex)">
|
|
|
<StFormModelItem
|
|
|
:record="record.list.find((item) => item.model == scope.column.dataIndex)"
|
|
|
:config="config"
|
|
|
- :parentDisabled="disabled"
|
|
|
+ :parentDisabled="record.disableCell && record.disableCell.find((item) => item.y == scope.column.dataIndex && item.x == getSerialNumber(scope.index)) ? true : disabled"
|
|
|
:index="record.list.findIndex((item) => item.model == scope.column.dataIndex)"
|
|
|
:domains="dynamicValidateForm.domains"
|
|
|
:dynamicData="dynamicData"
|
|
|
@@ -87,7 +66,6 @@
|
|
|
:currentTableData="currentTableData"
|
|
|
/>
|
|
|
</div>
|
|
|
-
|
|
|
<div v-if="scope.column.dataIndex === 'dynamic-opr-button'">
|
|
|
<a-button v-if="!disabled" type="dashed" @click="removeDomain(scope.record)" danger>
|
|
|
<template #icon>
|