Browse Source

Merge remote-tracking branch 'origin/master_hella' into master_hella

hella_online_20240829
gaojs 4 months ago
parent
commit
4d9a1df89b
  1. 3
      src/components/TableHead/src/TableHead.vue
  2. 2
      src/layout/components/Logo/src/Logo.vue
  3. 8
      src/views/qms/inspectionJob/index.vue
  4. 37
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  5. 29
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

3
src/components/TableHead/src/TableHead.vue

@ -9,9 +9,10 @@
</div> </div>
<div class="tableNavRightBtns"> <div class="tableNavRightBtns">
<!-- 右侧按钮 --> <!-- 右侧按钮 -->
<slot name="rightBtn"></slot> <slot name="rightBtn_left"></slot>
<ButtonBase :Butttondata="buttonsRight" @button-base-click="buttonBaseClick" @updata-table-columns="updataTableColumns" <ButtonBase :Butttondata="buttonsRight" @button-base-click="buttonBaseClick" @updata-table-columns="updataTableColumns"
:allSchemas="allSchemas" :detailAllSchemas="detailAllSchemas" ref="rowDropRef"/> :allSchemas="allSchemas" :detailAllSchemas="detailAllSchemas" ref="rowDropRef"/>
<slot name="rightBtn_right"></slot>
</div> </div>
</div> </div>
<slot></slot> <slot></slot>

2
src/layout/components/Logo/src/Logo.vue

@ -78,7 +78,7 @@ watch(
to="/" to="/"
> >
<img <img
class="h-24px ml-10px mr-10px h-40px" style="border-radius: 5px;" class="h-24px ml-10px mr-10px h-40px"
src="@/assets/imgs/logo_white.png" src="@/assets/imgs/logo_white.png"
/> />
<!-- <img <!-- <img

8
src/views/qms/inspectionJob/index.vue

@ -85,11 +85,11 @@
<el-dialog <el-dialog
v-model="showQualityReport" v-model="showQualityReport"
:title="t('质检明细')" :title="t('质检明细')"
width="90%" :append-to-body="false"
append-to-body
destroy-on-close destroy-on-close
fullscreen
> >
<iframe height="600px" width="100%" :src="qualityReport" frameborder="0"></iframe> <iframe :height="reportHeight" width="100%" :src="qualityReport" frameborder="0"></iframe>
</el-dialog> </el-dialog>
</template> </template>
@ -284,6 +284,8 @@ const buttonTableClick = async (val, row) => {
} }
// //
//
const reportHeight = ref(window.innerHeight - 120)
const showQualityReport = ref(false) const showQualityReport = ref(false)
const qualityReport = ref('') const qualityReport = ref('')
const checkQualityReport = async (row) => { const checkQualityReport = async (row) => {

37
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -1,19 +1,30 @@
<template> <template>
<ContentWrap> <ContentWrap v-if="visibleSearch">
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<Search ref="seachRef" :schema="[...PurchasePlanMain.allSchemas.searchSchema,...PurchasePlanDetail.allSchemas.searchSchema]" @search="searchList" @reset="searchList" @searchTableSuccess="searchQueryTableSuccess" @onChange="onSearchChange"/> <Search ref="seachRef" :schema="[...PurchasePlanMain.allSchemas.searchSchema,...PurchasePlanDetail.allSchemas.searchSchema]" @search="searchList" @reset="searchList" @searchTableSuccess="searchQueryTableSuccess" @onChange="onSearchChange" @foldUpClick="foldUpClick"/>
</ContentWrap> </ContentWrap>
<!-- 列表头部 --> <!-- 列表头部 -->
<TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" :routeName="routeName" <TableHead :HeadButttondata="HeadButttondata" @button-base-click="buttonBaseClick" :routeName="routeName"
@updataTableColumns="updataTableColumns" @searchFormClick="searchFormClick" @updataTableColumns="updataTableColumns" @searchFormClick="searchFormClick"
:allSchemas="PurchasePlanMain.allSchemas" :detailAllSchemas="PurchasePlanDetail.allSchemas"> :allSchemas="PurchasePlanMain.allSchemas" :detailAllSchemas="PurchasePlanDetail.allSchemas">
<template #rightBtn> <template #rightBtn_left>
<div style="display:flex;justify-content: center;align-items: center"> <div style="display:flex;justify-content: center;align-items: center">
<span>计划数量包含0</span> <span>计划数量包含0</span>
<el-switch v-model="isZero" style="margin:0 5px" @change="zeroChange"/> <el-switch v-model="isZero" style="margin:0 5px" @change="zeroChange"/>
</div> </div>
</template> </template>
<template #rightBtn_right>
<el-tooltip
effect="dark"
content="查询条件"
placement="top-start"
>
<el-button @click="foldUpClick ">
<Icon :icon="visibleSearch ? 'ep:arrow-up' : 'ep:arrow-down'" />
</el-button>
</el-tooltip>
</template>
</TableHead> </TableHead>
<!-- 列表 --> <!-- 列表 -->
@ -146,7 +157,25 @@
formRef.setValues(setV) formRef.setValues(setV)
}) })
} }
//
const visibleSearch = ref(false)
const updateTable = ref(true)
const foldUpClick = ()=>{
visibleSearch.value = !visibleSearch.value
// let tableList = tableObject.tableList
// tableObject.tableList = []
// updateTable.value = !updateTable.value
tableObject.loading = true
let timer = setTimeout(() => {
tableObject.loading = false
// tableObject.tableList = tableList
// updateTable.value = !updateTable.value
if(timer){
clearTimeout(timer)
timer = null
}
}, 500);
}
// //
const searchTableSuccess = (formField, searchField, val, formRef, type, row) => { const searchTableSuccess = (formField, searchField, val, formRef, type, row) => {
console.log('searchTableSuccess', formField, searchField, val, formRef, type, row) console.log('searchTableSuccess', formField, searchField, val, formRef, type, row)

29
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -1,5 +1,5 @@
<template> <template>
<ContentWrap> <ContentWrap v-if="visibleSearch">
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<Search <Search
:schema="[ :schema="[
@ -20,7 +20,19 @@
@searchFormClick="searchFormClick" @searchFormClick="searchFormClick"
:allSchemas="SupplierdeliverRequestMain.allSchemas" :allSchemas="SupplierdeliverRequestMain.allSchemas"
:detailAllSchemas="SupplierdeliverRequestDetail.allSchemas" :detailAllSchemas="SupplierdeliverRequestDetail.allSchemas"
/> >
<template #rightBtn_right>
<el-tooltip
effect="dark"
content="查询条件"
placement="top-start"
>
<el-button @click="foldUpClick ">
<Icon :icon="visibleSearch ? 'ep:arrow-up' : 'ep:arrow-down'" />
</el-button>
</el-tooltip>
</template>
</TableHead>
<!-- 列表 --> <!-- 列表 -->
<ContentWrap> <ContentWrap>
@ -391,6 +403,19 @@ const searchTableSuccessLabel = (formField, searchField, val, formRef, type, row
} }
}) })
} }
//
const visibleSearch = ref(false)
const foldUpClick = ()=>{
visibleSearch.value = !visibleSearch.value
tableObject.loading = true
let timer = setTimeout(() => {
tableObject.loading = false
if(timer){
clearTimeout(timer)
timer = null
}
}, 500);
}
const { tableObject, tableMethods } = useTable({ const { tableObject, tableMethods } = useTable({
getListApi: SupplierdeliverRequestDetailApi.getSupplierdeliverRequestDetailPage // getListApi: SupplierdeliverRequestDetailApi.getSupplierdeliverRequestDetailPage //

Loading…
Cancel
Save