|
@ -76,7 +76,7 @@ |
|
|
@onBlur="onEnter"> |
|
|
@onBlur="onEnter"> |
|
|
|
|
|
|
|
|
<template #TableFormHead> |
|
|
<template #TableFormHead> |
|
|
<div style="border-top:1px solid #ebeef5;padding:10px 10px 0 10px ;margin-right:10px"> |
|
|
<div style="border-top:1px solid #ebeef5;padding:10px 10px 0 10px ;margin-right:10px" v-if="clickType =='create'"> |
|
|
<el-form :inline="true" :model="tableDataSearch"> |
|
|
<el-form :inline="true" :model="tableDataSearch"> |
|
|
<el-form-item label="筛选: 品番"> |
|
|
<el-form-item label="筛选: 品番"> |
|
|
<el-input v-model="tableDataSearch.itemCode" placeholder="请输入品番" clearable @change="changeTableDataSearch"/> |
|
|
<el-input v-model="tableDataSearch.itemCode" placeholder="请输入品番" clearable @change="changeTableDataSearch"/> |
|
@ -544,9 +544,11 @@ const isShowMainButton1 = (row, val) => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** 添加/修改操作 */ |
|
|
/** 添加/修改操作 */ |
|
|
const formRef = ref() |
|
|
const formRef = ref() |
|
|
const openForm = async (type : string, row ?: number) => { |
|
|
const clickType = ref('') |
|
|
|
|
|
const openForm = async (type : string, row ?: number) => { |
|
|
clearTableDataSearch() |
|
|
clearTableDataSearch() |
|
|
|
|
|
clickType.value = type |
|
|
formRef.value.open(type, row) |
|
|
formRef.value.open(type, row) |
|
|
if('create'==type){ |
|
|
if('create'==type){ |
|
|
nextTick(async () => { |
|
|
nextTick(async () => { |
|
|