箱管 识别excel 调整

szh-new
张同海 2 months ago
parent edff9a4d66
commit 217d5ded31

@ -85,11 +85,13 @@
</div>
</div> -->
</a-tab-pane>
<a-tab-pane key="2" tab="电子文档" :disabled="!rowId">
<a-tab-pane key="2" tab="电子文档">
<DsFile
ref="dsFile"
fileType="infoclient"
:TriggerSave="true"
:id="rowId"
@FnTriggerSave="FnTriggerSave"
:SetSelect="{
show: true,
}"
@ -352,8 +354,16 @@
}
}
const dsFile = ref()
function DealExcel() {
async function FnTriggerSave() {
await handleSave(false)
if (rowId.value) {
dsFile.value.openFileModel()
}
}
async function DealExcel() {
if (!rowId.value) {
await handleSave(false)
}
if (dsFile.value.dsFileList.SelectId) {
let ApiData: any = {
id: unref(rowId),
@ -369,9 +379,6 @@
} else {
notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 })
}
} else {
notification.warning({ message: '请先保存', duration: 3 })
}
}
async function handleSave(exit) {
try {

@ -86,11 +86,13 @@
</div>
</div>
</a-tab-pane>
<a-tab-pane key="2" tab="电子文档" :disabled="!rowId">
<a-tab-pane key="2" tab="电子文档">
<DsFile
ref="dsFile"
fileType="infoclient"
:TriggerSave="true"
:id="rowId"
@FnTriggerSave="FnTriggerSave"
:SetSelect="{
show: true,
}"
@ -364,8 +366,16 @@
}
}
const dsFile = ref()
function DealExcel() {
async function FnTriggerSave() {
await handleSave(false)
if (rowId.value) {
dsFile.value.openFileModel()
}
}
async function DealExcel() {
if (!rowId.value) {
await handleSave(false)
}
if (dsFile.value.dsFileList.SelectId) {
let ApiData: any = {
id: unref(rowId),
@ -381,9 +391,6 @@
} else {
notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 })
}
} else {
notification.warning({ message: '请先保存', duration: 3 })
}
}
async function handleSave(exit) {
try {

@ -86,11 +86,13 @@
</div>
</div>
</a-tab-pane>
<a-tab-pane key="2" tab="电子文档" :disabled="!rowId">
<a-tab-pane key="2" tab="电子文档">
<DsFile
ref="dsFile"
fileType="infoclient"
:TriggerSave="true"
:id="rowId"
@FnTriggerSave="FnTriggerSave"
:SetSelect="{
show: true,
}"
@ -353,8 +355,17 @@
}
}
const dsFile = ref()
function DealExcel() {
async function FnTriggerSave() {
await handleSave(false)
if (rowId.value) {
dsFile.value.openFileModel()
}
}
async function DealExcel() {
if (!rowId.value) {
await handleSave(false)
}
if (dsFile.value.dsFileList.SelectId) {
let ApiData: any = {
id: unref(rowId),
@ -370,9 +381,6 @@
} else {
notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 })
}
} else {
notification.warning({ message: '请先保存', duration: 3 })
}
}
async function handleSave(exit) {
try {

@ -51,11 +51,13 @@
</div>
</div>
</a-tab-pane>
<a-tab-pane key="2" tab="电子文档" :disabled="!rowId">
<a-tab-pane key="2" tab="电子文档">
<DsFile
ref="dsFile"
fileType="infoclient"
:TriggerSave="true"
:id="rowId"
@FnTriggerSave="FnTriggerSave"
:SetSelect="{
show: true,
}"
@ -299,8 +301,16 @@
}
}
const dsFile = ref()
function DealExcel() {
async function FnTriggerSave() {
await handleSave(false)
if (rowId.value) {
dsFile.value.openFileModel()
}
}
async function DealExcel() {
if (!rowId.value) {
await handleSave(false)
}
if (dsFile.value.dsFileList.SelectId) {
let ApiData: any = {
id: unref(rowId),
@ -316,9 +326,6 @@
} else {
notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 })
}
} else {
notification.warning({ message: '请先保存', duration: 3 })
}
}
async function handleSave(exit) {
try {

@ -88,11 +88,13 @@
</div>
</div>
</a-tab-pane>
<a-tab-pane key="2" tab="电子文档" :disabled="!rowId">
<a-tab-pane key="2" tab="电子文档">
<DsFile
ref="dsFile"
fileType="infoclient"
:TriggerSave="true"
:id="rowId"
@FnTriggerSave="FnTriggerSave"
:SetSelect="{
show: true,
}"
@ -384,8 +386,16 @@
}
}
const dsFile = ref()
function DealExcel() {
async function FnTriggerSave() {
await handleSave(false)
if (rowId.value) {
dsFile.value.openFileModel()
}
}
async function DealExcel() {
if (!rowId.value) {
await handleSave(false)
}
if (dsFile.value.dsFileList.SelectId) {
let ApiData: any = {
id: unref(rowId),
@ -401,9 +411,6 @@
} else {
notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 })
}
} else {
notification.warning({ message: '请先保存', duration: 3 })
}
}
async function handleSave(exit) {
try {

@ -86,11 +86,13 @@
</div>
</div>
</a-tab-pane>
<a-tab-pane key="2" tab="电子文档" :disabled="!rowId">
<a-tab-pane key="2" tab="电子文档">
<DsFile
ref="dsFile"
fileType="infoclient"
:TriggerSave="true"
:id="rowId"
@FnTriggerSave="FnTriggerSave"
:SetSelect="{
show: true,
}"
@ -364,8 +366,16 @@
}
}
const dsFile = ref()
function DealExcel() {
async function FnTriggerSave() {
await handleSave(false)
if (rowId.value) {
dsFile.value.openFileModel()
}
}
async function DealExcel() {
if (!rowId.value) {
await handleSave(false)
}
if (dsFile.value.dsFileList.SelectId) {
let ApiData: any = {
id: unref(rowId),
@ -381,9 +391,6 @@
} else {
notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 })
}
} else {
notification.warning({ message: '请先保存', duration: 3 })
}
}
async function handleSave(exit) {
try {

@ -51,11 +51,13 @@
</div>
</div>
</a-tab-pane>
<a-tab-pane key="2" tab="电子文档" :disabled="!rowId">
<a-tab-pane key="2" tab="电子文档">
<DsFile
ref="dsFile"
fileType="infoclient"
:TriggerSave="true"
:id="rowId"
@FnTriggerSave="FnTriggerSave"
:SetSelect="{
show: true,
}"
@ -205,8 +207,16 @@
}
const dsFile = ref()
function DealExcel() {
async function FnTriggerSave() {
await handleSave(false)
if (rowId.value) {
dsFile.value.openFileModel()
}
}
async function DealExcel() {
if (!rowId.value) {
await handleSave(false)
}
if (dsFile.value.dsFileList.SelectId) {
let ApiData: any = {
id: unref(rowId),
@ -224,9 +234,6 @@
} else {
notification.warning({ message: '请先在电子文档中勾选一个文件。', duration: 3 })
}
} else {
notification.warning({ message: '请先保存', duration: 3 })
}
}
async function Confirm() {
await handleSave(false)

Loading…
Cancel
Save