Browse Source

备料计划标签修改

intex_online20250120
叶佳兴 3 weeks ago
parent
commit
e46002210f
  1. 5
      src/api/wms/preparetoissueMain/index.ts
  2. 248
      src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue

5
src/api/wms/preparetoissueMain/index.ts

@ -113,3 +113,8 @@ export const resetting = (id) => {
export const generateIssueRequest = (number) => { export const generateIssueRequest = (number) => {
return request.post({ url: '/wms/preparetoissue-main/generateIssueRequest?number=' + number }) return request.post({ url: '/wms/preparetoissue-main/generateIssueRequest?number=' + number })
} }
// 创建发料申请
export const getNumber = (id) => {
return request.post({ url: '/wms/preparetoissue-main/getNumber?id=' + id })
}

248
src/views/wms/issueManage/preparetoissueplan/preparetoissueMain/index.vue

@ -1,7 +1,14 @@
<template> <template>
<ContentWrap> <ContentWrap>
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<Search :schema="[...PreparetoissueMain.allSchemas.searchSchema,...PreparetoissueDetail.allSchemas.searchSchema]" @search="setSearchParams" @reset="setSearchParams" /> <Search
:schema="[
...PreparetoissueMain.allSchemas.searchSchema,
...PreparetoissueDetail.allSchemas.searchSchema
]"
@search="setSearchParams"
@reset="setSearchParams"
/>
</ContentWrap> </ContentWrap>
<!-- 列表头部 --> <!-- 列表头部 -->
@ -17,7 +24,8 @@
<!-- 列表 --> <!-- 列表 -->
<ContentWrap> <ContentWrap>
<Table v-clientTable <Table
v-clientTable
:columns="tableColumns" :columns="tableColumns"
:data="tableObject.tableList" :data="tableObject.tableList"
:loading="tableObject.loading" :loading="tableObject.loading"
@ -34,7 +42,10 @@
</el-button> </el-button>
</template> </template>
<template #action="{ row, $index }"> <template #action="{ row, $index }">
<ButtonBaseMore :Butttondata="butttondata(row,$index)" @button-base-click="buttonTableClick($event,row)" /> <ButtonBaseMore
:Butttondata="butttondata(row, $index)"
@button-base-click="buttonTableClick($event, row)"
/>
</template> </template>
</Table> </Table>
</ContentWrap> </ContentWrap>
@ -77,13 +88,25 @@
/> />
<!-- 导入 --> <!-- 导入 -->
<ImportForm ref="importFormRef" url="/wms/preparetoissue-main/import" :importTemplateData="importTemplateData" <ImportForm
@success="importSuccess" :updateIsDisable="true" :coverIsDisable="true" :mode="2" /> ref="importFormRef"
url="/wms/preparetoissue-main/import"
:importTemplateData="importTemplateData"
@success="importSuccess"
:updateIsDisable="true"
:coverIsDisable="true"
:mode="2"
/>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import download from '@/utils/download' import download from '@/utils/download'
import { PreparetoissueMain,PreparetoissueMainRules,PreparetoissueDetail,PreparetoissueDetailRules } from './preparetoissueMain.data' import {
PreparetoissueMain,
PreparetoissueMainRules,
PreparetoissueDetail,
PreparetoissueDetailRules
} from './preparetoissueMain.data'
import * as PreparetoissueMainApi from '@/api/wms/preparetoissueMain' import * as PreparetoissueMainApi from '@/api/wms/preparetoissueMain'
import * as PreparetoissueDetailApi from '@/api/wms/preparetoissueDetail' import * as PreparetoissueDetailApi from '@/api/wms/preparetoissueDetail'
import * as defaultButtons from '@/utils/disposition/defaultButtons' import * as defaultButtons from '@/utils/disposition/defaultButtons'
@ -91,7 +114,7 @@ import * as ProductionlineitemApi from '@/api/wms/productionlineitem'
import { formatDate } from '@/utils/formatTime' import { formatDate } from '@/utils/formatTime'
import { usePageLoading } from '@/hooks/web/usePageLoading' import { usePageLoading } from '@/hooks/web/usePageLoading'
import { getBaseUrl, getJmreportBaseUrl } from '@/utils/systemParam' import { getBaseUrl, getJmreportBaseUrl } from '@/utils/systemParam'
import {getAccessToken} from "@/utils/auth"; import { getAccessToken } from '@/utils/auth'
const { loadStart, loadDone } = usePageLoading() const { loadStart, loadDone } = usePageLoading()
// //
@ -103,7 +126,10 @@ const { t } = useI18n() // 国际化
const route = useRoute() // const route = useRoute() //
const routeName = ref() const routeName = ref()
routeName.value = route.name routeName.value = route.name
const tableColumns = ref([...PreparetoissueMain.allSchemas.tableColumns,...PreparetoissueDetail.allSchemas.tableMainColumns]) const tableColumns = ref([
...PreparetoissueMain.allSchemas.tableColumns,
...PreparetoissueDetail.allSchemas.tableMainColumns
])
const isShowButton = ref(true) const isShowButton = ref(true)
@ -118,7 +144,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
if (type == 'tableForm') { if (type == 'tableForm') {
// //
if (formField == 'itemCode') { if (formField == 'itemCode') {
if(tableData.value.find(item1=>item1['itemCode'] == val[0]['componentItemCode'])){ if (tableData.value.find((item1) => item1['itemCode'] == val[0]['componentItemCode'])) {
message.warning(`物料${val[0]['componentItemCode']}已经存在`) message.warning(`物料${val[0]['componentItemCode']}已经存在`)
return return
} }
@ -137,10 +163,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
tableData.value.push(newRow) tableData.value.push(newRow)
} }
}) })
} else if (formField == 'workStation') { } else if (formField == 'workStation') {
if (isShowButton.value) { if (isShowButton.value) {
val.forEach(item=>{ val.forEach((item) => {
const newRow = JSON.parse(JSON.stringify({ ...tableFormKeys, ...item })) const newRow = JSON.parse(JSON.stringify({ ...tableFormKeys, ...item }))
newRow[formField] = item[searchField] newRow[formField] = item[searchField]
newRow['toLocationCode'] = item['rawLocationCode'] newRow['toLocationCode'] = item['rawLocationCode']
@ -167,7 +192,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV['shift'] = val[0]['shift'] setV['shift'] = val[0]['shift']
setV['team'] = val[0]['team'] setV['team'] = val[0]['team']
isShowButton.value = false isShowButton.value = false
PreparetoissueDetail.allSchemas.tableFormColumns.map(item => { PreparetoissueDetail.allSchemas.tableFormColumns.map((item) => {
if (item.field == 'workStation') { if (item.field == 'workStation') {
item.tableForm.isInpuFocusShow = true item.tableForm.isInpuFocusShow = true
} }
@ -175,10 +200,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
// getBomDisassemble // getBomDisassemble
PreparetoissueMainApi.getBomDisassemble(val[0]['id']) PreparetoissueMainApi.getBomDisassemble(val[0]['id'])
.then(res => { .then((res) => {
if (res) tableData.value = res if (res) tableData.value = res
// 线 线 // 线 线
tableData.value.map(item => { tableData.value.map((item) => {
ProductionlineitemApi.getProductionlineitemPage({ ProductionlineitemApi.getProductionlineitemPage({
productionLineCode: val[0]['productionLine'], productionLineCode: val[0]['productionLine'],
itemCode: item.itemCode, itemCode: item.itemCode,
@ -186,12 +211,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
pageNo: 1, pageNo: 1,
sort: '', sort: '',
by: 'ASC' by: 'ASC'
}).then(res => { }).then((res) => {
item.toLocationCode = res.list[0].rawLocationCode item.toLocationCode = res.list[0].rawLocationCode
}) })
}) })
// tableform // tableform
PreparetoissueDetail.allSchemas.tableFormColumns.map(item => { PreparetoissueDetail.allSchemas.tableFormColumns.map((item) => {
if (item.field == 'itemCode') { if (item.field == 'itemCode') {
item.isInpuFocusShow = false item.isInpuFocusShow = false
item.tableForm.isInpuFocusShow = false item.tableForm.isInpuFocusShow = false
@ -204,7 +229,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
item.tableForm.disabled = true item.tableForm.disabled = true
} }
}) })
}).catch(err => { })
.catch((err) => {
console.log(err) console.log(err)
message.error('错误') message.error('错误')
}) })
@ -249,7 +275,7 @@ const HeadButttondata = [
defaultButtons.defaultExportBtn({ hasPermi: 'wms:preparetoissue-main:export' }), // defaultButtons.defaultExportBtn({ hasPermi: 'wms:preparetoissue-main:export' }), //
defaultButtons.defaultFreshBtn(null), // defaultButtons.defaultFreshBtn(null), //
defaultButtons.defaultFilterBtn(null), // defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null) //
// { // {
// label: '', // label: '',
// name: 'zdy', // name: 'zdy',
@ -262,14 +288,18 @@ const HeadButttondata = [
// //
const buttonBaseClick = (val, item) => { const buttonBaseClick = (val, item) => {
if (val == 'add') { // if (val == 'add') {
//
openForm('create') openForm('create')
resetShow() resetShow()
} else if (val == 'import') { // } else if (val == 'import') {
//
handleImport() handleImport()
} else if (val == 'export') { // } else if (val == 'export') {
//
handleExport() handleExport()
} else if (val == 'refresh') { // } else if (val == 'refresh') {
//
if (tableObject.params.filters && tableObject.params.filters.length > 0) { if (tableObject.params.filters && tableObject.params.filters.length > 0) {
searchFormClick({ searchFormClick({
filters: tableObject.params.filters filters: tableObject.params.filters
@ -277,8 +307,10 @@ const buttonBaseClick = (val, item) => {
} else { } else {
getList() getList()
} }
} else if (val == 'filtrate') { // } else if (val == 'filtrate') {
} else { // //
} else {
//
console.log('其他按钮', item) console.log('其他按钮', item)
} }
} }
@ -294,19 +326,42 @@ const isShowMainButton = (row,val) => {
// - // -
const butttondata = (row, $index) => { const butttondata = (row, $index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1 const findIndex = row['masterId']
? tableObject.tableList.findIndex((item) => item['masterId'] == row['masterId'])
: -1
if (findIndex > -1 && findIndex < $index) { if (findIndex > -1 && findIndex < $index) {
return [] return []
} }
return [ return [
// defaultButtons.mainListPlanOpeBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:preparetoissue-main:open'}), // // defaultButtons.mainListPlanOpeBtn({hide:isShowMainButton(row,['5']),hasPermi:'wms:preparetoissue-main:open'}), //
defaultButtons.mainListPlanCloBtn({hide:isShowMainButton(row,['1','2','3','4']),hasPermi:'wms:preparetoissue-main:close'}), // defaultButtons.mainListPlanCloBtn({
defaultButtons.mainListPlanSubBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:preparetoissue-main:submit'}), // hide: isShowMainButton(row, ['1', '2', '3', '4']),
defaultButtons.mainListPlanTurBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:preparetoissue-main:reject'}), // hasPermi: 'wms:preparetoissue-main:close'
defaultButtons.mainListPlanAppBtn({hide:isShowMainButton(row,['2']),hasPermi:'wms:preparetoissue-main:agree'}), // }), //
defaultButtons.mainListPlanPubBtn({hide:isShowMainButton(row,['3']),hasPermi:'wms:preparetoissue-main:publish'}), // defaultButtons.mainListPlanSubBtn({
defaultButtons.mainListPlanResBtn({hide:isShowMainButton(row,['4']),hasPermi:'wms:preparetoissue-main:resetting'}), // hide: isShowMainButton(row, ['1']),
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:preparetoissue-main:update'}), // hasPermi: 'wms:preparetoissue-main:submit'
}), //
defaultButtons.mainListPlanTurBtn({
hide: isShowMainButton(row, ['2']),
hasPermi: 'wms:preparetoissue-main:reject'
}), //
defaultButtons.mainListPlanAppBtn({
hide: isShowMainButton(row, ['2']),
hasPermi: 'wms:preparetoissue-main:agree'
}), //
defaultButtons.mainListPlanPubBtn({
hide: isShowMainButton(row, ['3']),
hasPermi: 'wms:preparetoissue-main:publish'
}), //
defaultButtons.mainListPlanResBtn({
hide: isShowMainButton(row, ['4']),
hasPermi: 'wms:preparetoissue-main:resetting'
}), //
defaultButtons.mainListEditBtn({
hide: isShowMainButton(row, ['1']),
hasPermi: 'wms:preparetoissue-main:update'
}), //
// defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:preparetoissue-main:delete'}), // // defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1']),hasPermi:'wms:preparetoissue-main:delete'}), //
{ {
label: '生成发料申请', label: '生成发料申请',
@ -326,129 +381,156 @@ const butttondata = (row,$index) => {
hasPermi: 'wms:preparetoissue-main:publish', hasPermi: 'wms:preparetoissue-main:publish',
link: true, // link: true, //
color: '' color: ''
}, }
] ]
} }
// - // -
const buttonTableClick = async (val, row) => { const buttonTableClick = async (val, row) => {
if (val == 'mainPlanOpe') { // if (val == 'mainPlanOpe') {
//
tableObject.loading = true tableObject.loading = true
PreparetoissueMainApi.open(row.masterId).then(() => { PreparetoissueMainApi.open(row.masterId)
.then(() => {
message.success(t('common.updateSuccess')) message.success(t('common.updateSuccess'))
tableObject.loading = false tableObject.loading = false
buttonBaseClick('refresh', null) buttonBaseClick('refresh', null)
}).catch(err => { })
.catch((err) => {
tableObject.loading = false tableObject.loading = false
console.log(err) console.log(err)
}) })
} else if (val == 'mainPlanClo') { // } else if (val == 'mainPlanClo') {
//
await message.confirm('确认要关闭吗?') await message.confirm('确认要关闭吗?')
tableObject.loading = true tableObject.loading = true
PreparetoissueMainApi.close(row.masterId).then(() => { PreparetoissueMainApi.close(row.masterId)
.then(() => {
message.success(t('common.updateSuccess')) message.success(t('common.updateSuccess'))
tableObject.loading = false tableObject.loading = false
buttonBaseClick('refresh', null) buttonBaseClick('refresh', null)
}).catch(err => { })
.catch((err) => {
tableObject.loading = false tableObject.loading = false
console.log(err) console.log(err)
}) })
} else if (val == 'mainPlanSub') { // } else if (val == 'mainPlanSub') {
//
if (row.available == 'FALSE') return message.warning('当前数据:【不可用】') if (row.available == 'FALSE') return message.warning('当前数据:【不可用】')
await message.confirm('确认要提交审批吗?') await message.confirm('确认要提交审批吗?')
tableObject.loading = true tableObject.loading = true
PreparetoissueMainApi.submit(row.masterId).then(() => { PreparetoissueMainApi.submit(row.masterId)
.then(() => {
message.success(t('common.updateSuccess')) message.success(t('common.updateSuccess'))
tableObject.loading = false tableObject.loading = false
buttonBaseClick('refresh', null) buttonBaseClick('refresh', null)
}).catch(err => { })
.catch((err) => {
tableObject.loading = false tableObject.loading = false
console.log(err) console.log(err)
}) })
} else if (val == 'mainPlanTur') { // } else if (val == 'mainPlanTur') {
//
await message.confirm('确认要驳回吗?') await message.confirm('确认要驳回吗?')
tableObject.loading = true tableObject.loading = true
PreparetoissueMainApi.reject(row.masterId).then(() => { PreparetoissueMainApi.reject(row.masterId)
.then(() => {
message.success(t('common.updateSuccess')) message.success(t('common.updateSuccess'))
tableObject.loading = false tableObject.loading = false
buttonBaseClick('refresh', null) buttonBaseClick('refresh', null)
}).catch(err => { })
.catch((err) => {
tableObject.loading = false tableObject.loading = false
console.log(err) console.log(err)
}) })
} else if (val == 'mainPlanApp') { // } else if (val == 'mainPlanApp') {
//
if (row.available == 'FALSE') return message.warning('当前数据:【不可用】') if (row.available == 'FALSE') return message.warning('当前数据:【不可用】')
await message.confirm('确认要审批通过吗?') await message.confirm('确认要审批通过吗?')
tableObject.loading = true tableObject.loading = true
PreparetoissueMainApi.agree(row.masterId).then(() => { PreparetoissueMainApi.agree(row.masterId)
.then(() => {
message.success(t('common.updateSuccess')) message.success(t('common.updateSuccess'))
tableObject.loading = false tableObject.loading = false
buttonBaseClick('refresh', null) buttonBaseClick('refresh', null)
}).catch(err => { })
.catch((err) => {
tableObject.loading = false tableObject.loading = false
console.log(err) console.log(err)
}) })
} else if (val == 'mainPlanPub') { // } else if (val == 'mainPlanPub') {
await message.confirm('确认要发布吗?'); //
tableObject.loading = true; await message.confirm('确认要发布吗?')
tableObject.loading = true
try { try {
await PreparetoissueMainApi.publish(row.masterId); await PreparetoissueMainApi.publish(row.masterId)
message.success(t('common.updateSuccess')); message.success(t('common.updateSuccess'))
await PreparetoissueMainApi.generateIssueRequest(row.number); await PreparetoissueMainApi.generateIssueRequest(row.number)
} catch (err) { } catch (err) {
console.log(err); console.log(err)
} finally { } finally {
tableObject.loading = false; tableObject.loading = false
buttonBaseClick('refresh', null); buttonBaseClick('refresh', null)
} }
} else if (val == 'mainPlanRes') { // } else if (val == 'mainPlanRes') {
//
await message.confirm('确认要重置吗?') await message.confirm('确认要重置吗?')
tableObject.loading = true tableObject.loading = true
PreparetoissueMainApi.resetting(row.masterId).then(() => { PreparetoissueMainApi.resetting(row.masterId)
.then(() => {
message.success(t('common.updateSuccess')) message.success(t('common.updateSuccess'))
tableObject.loading = false tableObject.loading = false
buttonBaseClick('refresh', null) buttonBaseClick('refresh', null)
}).catch(err => { })
.catch((err) => {
tableObject.loading = false tableObject.loading = false
console.log(err) console.log(err)
}) })
} else if (val == 'scflsq') { // } else if (val == 'scflsq') {
//
if (row.available == 'FALSE') return message.warning('当前数据:【不可用】') if (row.available == 'FALSE') return message.warning('当前数据:【不可用】')
await message.confirm('确认要生成发料申请吗?') await message.confirm('确认要生成发料申请吗?')
tableObject.loading = true tableObject.loading = true
await PreparetoissueMainApi.generateIssueRequest(row.number).then((res) => { await PreparetoissueMainApi.generateIssueRequest(row.number)
.then((res) => {
console.log('返回数据', res) console.log('返回数据', res)
if (res.errorCount > 0) { if (res.errorCount > 0) {
message.confirm('存在物料库存不足,创建失败。').then(() => { message.confirm('存在物料库存不足,创建失败。').then(() => {
window.open( window.open(getBaseUrl() + '/admin-api' + res.errorFile, '222')
getBaseUrl() + '/admin-api' + res.errorFile,
'222'
)
}) })
} else { } else {
message.success(t('common.createSuccess')) message.success(t('common.createSuccess'))
} }
tableObject.loading = false tableObject.loading = false
buttonBaseClick('refresh', null) buttonBaseClick('refresh', null)
}).catch(err => { })
.catch((err) => {
tableObject.loading = false tableObject.loading = false
console.log(err) console.log(err)
}) })
} else if (val == 'edit') { // } else if (val == 'edit') {
//
openForm('update', row) openForm('update', row)
} else if (val == 'delete') { // } else if (val == 'delete') {
//
handleDelete(row.masterId) handleDelete(row.masterId)
} else if (val == 'printSupplyList') { } else if (val == 'printSupplyList') {
if(row.printFlag == 'FALSE'){ await PreparetoissueMainApi.getNumber(row.masterId).then((res) => {
message.warning("发料任务未完成,不可打印") if (!res.isHaveProductionPlanNumber) {
message.warning('发料申请未关联生产计划,不可打印')
return return
} }
else if (!res.isHaveIssueRequestNumber) {
message.warning('发料任务未完成,不可打印')
return
}else{
// //
handlePrintSupplyList(row.masterId) handlePrintSupplyList(row.masterId)
} }
})
}
} }
const BASE_URL = getJmreportBaseUrl() const BASE_URL = getJmreportBaseUrl()
@ -463,8 +545,9 @@ const openForm =async (type: string, row?: number) => {
tableData.value = [] // tableData.value = [] //
if (type == 'update') { if (type == 'update') {
// tableform // tableform
PreparetoissueMain.allSchemas.formSchema.map(item => { PreparetoissueMain.allSchemas.formSchema.map((item) => {
if(item.field == 'productionPlanNumber' || if (
item.field == 'productionPlanNumber' ||
item.field == 'workshop' || item.field == 'workshop' ||
item.field == 'prodLine' || item.field == 'prodLine' ||
item.field == 'shift' || item.field == 'shift' ||
@ -476,8 +559,9 @@ const openForm =async (type: string, row?: number) => {
}) })
} else { } else {
// tableform // tableform
PreparetoissueMain.allSchemas.formSchema.map(item => { PreparetoissueMain.allSchemas.formSchema.map((item) => {
if(item.field == 'productionPlanNumber' || if (
item.field == 'productionPlanNumber' ||
item.field == 'workshop' || item.field == 'workshop' ||
item.field == 'prodLine' || item.field == 'prodLine' ||
item.field == 'shift' || item.field == 'shift' ||
@ -494,7 +578,7 @@ const openForm =async (type: string, row?: number) => {
/** 详情操作 */ /** 详情操作 */
const detailRef = ref() const detailRef = ref()
const openDetail = (row: any, titleName: any, titleValue: any) => { const openDetail = (row: any, titleName: any, titleValue: any) => {
detailRef.value.openDetail(row, titleName, titleValue,"planPreparetoissueMain") detailRef.value.openDetail(row, titleName, titleValue, 'planPreparetoissueMain')
} }
/** 删除按钮操作 */ /** 删除按钮操作 */
@ -532,7 +616,7 @@ const handleExport = async () => {
* tableForm方法 * tableForm方法
*/ */
const tableFormKeys = {} const tableFormKeys = {}
PreparetoissueDetail.allSchemas.tableFormColumns.forEach(item => { PreparetoissueDetail.allSchemas.tableFormColumns.forEach((item) => {
tableFormKeys[item.field] = item.default ? item.default : '' tableFormKeys[item.field] = item.default ? item.default : ''
}) })
const tableData = ref([]) const tableData = ref([])
@ -540,8 +624,8 @@ const tableData = ref([])
// //
const handleAddTable = () => { const handleAddTable = () => {
if (formRef.value.formRef.formModel.prodLine === '') { if (formRef.value.formRef.formModel.prodLine === '') {
message.warning("请选择生产线代码"); message.warning('请选择生产线代码')
return; return
} }
tableData.value.push(JSON.parse(JSON.stringify(tableFormKeys))) tableData.value.push(JSON.parse(JSON.stringify(tableFormKeys)))
} }
@ -553,7 +637,7 @@ const handleDeleteTable = (item, index) => {
} }
} }
const tableSelectionDelete = (selection) => { const tableSelectionDelete = (selection) => {
tableData.value = tableData.value.filter(item => !selection.includes(item)) tableData.value = tableData.value.filter((item) => !selection.includes(item))
} }
// //
const submitForm = async (formType, submitData) => { const submitForm = async (formType, submitData) => {
@ -617,7 +701,7 @@ const searchFormClick = (searchData) => {
const resetShow = async () => { const resetShow = async () => {
isShowButton.value = true // tableform isShowButton.value = true // tableform
// tableform // tableform
PreparetoissueDetail.allSchemas.tableFormColumns.map(item => { PreparetoissueDetail.allSchemas.tableFormColumns.map((item) => {
if (item.field == 'itemCode') { if (item.field == 'itemCode') {
item.isInpuFocusShow = true item.isInpuFocusShow = true
item.tableForm.isInpuFocusShow = true item.tableForm.isInpuFocusShow = true

Loading…
Cancel
Save