update: 各个页面高度限制

This commit is contained in:
admin 2024-07-20 11:34:51 +08:00
parent b23ad4b28a
commit 88a7428ed6
10 changed files with 26 additions and 14 deletions

View File

@ -1,5 +1,5 @@
<template>
<view class="c-card">
<view class="c-card app-container">
<view class="search">
<u-search
placeholder="请输入客户名称"

View File

@ -1,5 +1,5 @@
<template>
<view class="c-card">
<view class="c-card app-container">
<view class="search">
<u-search
placeholder="请输入收货产品名称"

View File

@ -1,5 +1,5 @@
<template>
<view class="c-card">
<view class="c-card app-container">
<view class="search">
<u-search
placeholder="请输入收货分类"

View File

@ -1,5 +1,5 @@
<template>
<view class="c-card">
<view class="c-card app-container">
<view class="search">
<u-search
placeholder="请输入出货产品名称"

View File

@ -1,5 +1,5 @@
<template>
<view class="c-card">
<view class="c-card app-container">
<view class="search">
<u-search
placeholder="请输入库存卡号"

View File

@ -1,5 +1,5 @@
<template>
<view class="c-card">
<view class="c-card app-container">
<view class="search">
<view class="type" @click="state.isShowType = true"
>全部分类<u-icon name="arrow-down"></u-icon>

View File

@ -1,5 +1,5 @@
<template>
<view class="c-card">
<view class="c-card app-container">
<view class="search">
<u-search
placeholder="请输入供应商分类"

View File

@ -1,5 +1,5 @@
<template>
<view class="c-card">
<view class="c-card app-container">
<view class="search">
<u-search
placeholder="请输入人员名称"

View File

@ -111,7 +111,11 @@
</view>
<view class="btn-box">
<u-button text="暂不定价" @click="handleBack()"></u-button>
<u-button type="primary" :text="model1.order.scaleStatus === 0 ? '定价' : '保存'" @click="save()"></u-button>
<u-button
type="primary"
:text="title === '定价详情' ? '定价' : '保存'"
@click="save()"
></u-button>
</view>
<!-- 收货产品弹框 -->
@ -743,20 +747,28 @@ const updateOrder = () => {
});
} else {
// 0 1
uni.navigateBack()
uni.navigateBack();
}
}
});
};
const prePage = ref("");
onLoad((option) => {
model1.order.id = parseInt((option as any).id);
prePage.value = (option as any).prePage;
const title = ref("")
onLoad((option: any) => {
model1.order.id = parseInt(option.id);
prePage.value = option.prePage;
title.value = option.title
if (prePage.value) {
uni.setNavigationBarTitle({
title: "编辑信息",
});
}
if (option.title) {
uni.setNavigationBarTitle({
title: option.title,
});
}
if (model1.order.id) {
ReceiveApi.getDetailById({ id: model1.order.id }).then((res) => {

View File

@ -185,7 +185,7 @@ const pricingDetail = (id: number) => {
getList();
} else {
uni.navigateTo({
url: "/pagesReceive/form/pricingForm?id=" + id, //
url: `/pagesReceive/form/pricingForm?id=${id}&title=${state.scaleStatus === 0 ? '定价' : '编辑'}详情`, //
});
}
}