初次对接
This commit is contained in:
@@ -137,11 +137,11 @@ const state = reactive({
|
||||
pageSize: 30,
|
||||
},
|
||||
option: {
|
||||
height: '730',
|
||||
height: computed(() => window.innerHeight - (window.innerHeight * 0.23) + ''),
|
||||
tip: false,
|
||||
index: true,
|
||||
menu: true,
|
||||
menuWidth: 120,
|
||||
menuWidth: 85,
|
||||
border: true,
|
||||
delBtn: false,
|
||||
editBtn: false,
|
||||
@@ -152,7 +152,7 @@ const state = reactive({
|
||||
searchMenuSpan: 3,
|
||||
addBtn: false,
|
||||
column: [
|
||||
{ label: '单据编号', prop: 'fBillNo', /*search: true,*/ searchSpan: 3, width: '125' },
|
||||
{ label: '采购单号', prop: 'fBillNo', /*search: true,*/ searchSpan: 3, width: '125' },
|
||||
{ label: '采购日期', prop: 'fDate', /*search: true,*/ type: 'datetime', searchSpan: 6, searchRange: true },
|
||||
{
|
||||
label: '关闭状态',
|
||||
@@ -180,8 +180,8 @@ const state = reactive({
|
||||
},
|
||||
{ label: '累计收料数量', prop: 'sendedQty', width: '110' },
|
||||
{ label: '剩余收料数量', prop: 'notSendQty', width: '110' },
|
||||
{ label: '供应商承诺交期', prop: 'chengNuoJiaoQi', width: '220' },
|
||||
{ label: '供应商承诺最新交期', prop: 'newChengNuoJiaoQi', width: '220' },
|
||||
{ label: '供应商承诺交期', prop: 'chengNuoJiaoQi', width: '160' },
|
||||
{ label: '供应商承诺最新交期', prop: 'newChengNuoJiaoQi', width: '160' },
|
||||
],
|
||||
},
|
||||
data: [],
|
||||
@@ -259,7 +259,7 @@ const toPurchaseDetails = (item: any) => {
|
||||
router.push({
|
||||
path: '/purchaseDetails',
|
||||
query: {
|
||||
topId: item.fiD,
|
||||
fBillNo: item.fBillNo ,
|
||||
},
|
||||
});
|
||||
};
|
||||
@@ -275,7 +275,7 @@ const selectFun = () => {
|
||||
};
|
||||
const resetFun = () => {
|
||||
state.page.currentPage = 1;
|
||||
state.page.pageSize = 20;
|
||||
state.page.pageSize = 30;
|
||||
state.elDatePicker = '';
|
||||
state.formData = {
|
||||
fBillNo: '',
|
||||
@@ -300,20 +300,16 @@ const getList = () => {
|
||||
})
|
||||
.then((res: any) => {
|
||||
state.loading = false;
|
||||
|
||||
if (res.resultCode === 0) {
|
||||
state.data = res.data.dataList;
|
||||
|
||||
state.page.total = res.data.total;
|
||||
setTimeout(() => {
|
||||
console.log(document.querySelector('.avue-crud__body').scrollHeight)
|
||||
},1000)
|
||||
|
||||
}
|
||||
});
|
||||
};
|
||||
// 页面加载时
|
||||
onMounted(() => {
|
||||
|
||||
console.log(window.innerHeight - window.innerHeight * 0.25 + '')
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user