Browse Source

打印日期

hella_online_20241107
yufei_wang 3 weeks ago
parent
commit
a7b5270757
  1. 7
      src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue

7
src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue

@ -248,7 +248,7 @@ const openDetail = async (row: any, titleName: any, titleValue: any) => {
const BASE_URL = getJmreportBaseUrl()
const src = ref(BASE_URL + '/jmreport/view/973017727126409216?token=' + getAccessToken())
const handlePrint = async (row) => {
window.open(src.value+'&id='+row.id)
window.open(src.value+'&id='+row.id+'&searchTime='+tableObject.params.searchTime)
}
@ -381,6 +381,7 @@ const resetClick = async (data)=>{
year.value = ''
month.value = ''
day.value = ''
data['searchTime'] = ''
searchClick(data)
}
@ -395,7 +396,9 @@ const searchClick = async (data)=>{
if((''+data['day']).length==1){
data['day'] = '0' + data['day']
}
data['searchTime'] = `${data['year']}-${data['month']}-${data['day']}`
if(data['year']&&data['month']&&data['day']){
data['searchTime'] = `${data['year']}-${data['month']}-${data['day']}`
}
setSearchParams(data)
}
/** 初始化 **/

Loading…
Cancel
Save