Browse Source

装配收货记录--mes

master_hella_20240701
wangyufei 5 months ago
parent
commit
c47ca13640
  1. 7
      src/directives/permission/clientTable.ts
  2. 4
      src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue

7
src/directives/permission/clientTable.ts

@ -18,6 +18,13 @@ export function clientTable(app: App<Element>) {
el.firstChild.style.height = '100%' el.firstChild.style.height = '100%'
}) })
}) })
app.directive('clientTable450', (el, binding) => {
nextTick(() => {
el.style.height = '450px'
el.firstChild.style.height = '100%'
})
})
app.directive('clientSearchTable', (el, binding) => { app.directive('clientSearchTable', (el, binding) => {
nextTick(() => { nextTick(() => {
const top = el.getBoundingClientRect().top const top = el.getBoundingClientRect().top

4
src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue

@ -68,9 +68,9 @@
v-model="mesModelVisible" v-model="mesModelVisible"
width="80%" width="80%"
:scroll="true" :scroll="true"
max-height="450px" max-height="500px"
> >
<Table <Table v-clientTable450
:columns="ProductreceiptDetailb.allSchemas.tableColumns" :columns="ProductreceiptDetailb.allSchemas.tableColumns"
:data="detatableDataMes.tableList" :data="detatableDataMes.tableList"
:loading="detatableDataMes.loading" :loading="detatableDataMes.loading"

Loading…
Cancel
Save