@ -16,7 +16,7 @@
<!-- 列表 -->
<ContentWrap>
<Table
<Table v-clientTable
:columns="tableColumns"
:data="tableObject.tableList"
:loading="tableObject.loading"
@ -20,7 +20,7 @@
@ -11,7 +11,7 @@
<Table :columns="tableColumns" :data="tableObject.tableList" :loading="tableObject.loading" :pagination="{
<Table v-clientTable :columns="tableColumns" :data="tableObject.tableList" :loading="tableObject.loading" :pagination="{
total: tableObject.total
}" v-model:pageSize="tableObject.pageSize" v-model:currentPage="tableObject.currentPage"
v-model:sort="tableObject.sort">
@ -12,7 +12,7 @@
@ -42,6 +42,7 @@
:isBusiness="true" fromeWhere="RelegateRequestMain"
@handleAddTable="handleAddTable"
@handleDeleteTable="handleDeleteTable"
:isShowReduceButtonSelection="true"
@searchTableSuccess="searchTableSuccess"
@submitForm="submitForm"
:isShowButton=isShowButton />
@ -630,7 +630,10 @@ export const StockupDetailJob = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '操作',
field: 'action',
isSearch: false,
isTable: false,
isForm:false,
isDetail:false,
hiddenInMain: true,
table: {
width: 150,
@ -136,6 +136,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
// 入库存包装规格
row[formField] = val[0][searchField]
row['balancePackUnit'] = val[0]['packUnit']
}else{
}
} else {
const setV = {}
@ -235,6 +235,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
newRow[formField] = item[searchField]
tableData.value.push(newRow)
})