update: 各个页面高度限制
This commit is contained in:
parent
b23ad4b28a
commit
88a7428ed6
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="c-card">
|
||||
<view class="c-card app-container">
|
||||
<view class="search">
|
||||
<u-search
|
||||
placeholder="请输入客户名称"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="c-card">
|
||||
<view class="c-card app-container">
|
||||
<view class="search">
|
||||
<u-search
|
||||
placeholder="请输入收货产品名称"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="c-card">
|
||||
<view class="c-card app-container">
|
||||
<view class="search">
|
||||
<u-search
|
||||
placeholder="请输入收货分类"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="c-card">
|
||||
<view class="c-card app-container">
|
||||
<view class="search">
|
||||
<u-search
|
||||
placeholder="请输入出货产品名称"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="c-card">
|
||||
<view class="c-card app-container">
|
||||
<view class="search">
|
||||
<u-search
|
||||
placeholder="请输入库存卡号"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="c-card">
|
||||
<view class="c-card app-container">
|
||||
<view class="search">
|
||||
<u-search
|
||||
placeholder="请输入供应商分类"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="c-card">
|
||||
<view class="c-card app-container">
|
||||
<view class="search">
|
||||
<u-search
|
||||
placeholder="请输入人员名称"
|
||||
|
|
|
@ -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) => {
|
||||
|
|
|
@ -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 ? '定价' : '编辑'}详情`, // 要跳转到的页面路径
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue