update: 各个页面高度限制
This commit is contained in:
parent
b23ad4b28a
commit
88a7428ed6
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="c-card">
|
<view class="c-card app-container">
|
||||||
<view class="search">
|
<view class="search">
|
||||||
<u-search
|
<u-search
|
||||||
placeholder="请输入客户名称"
|
placeholder="请输入客户名称"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="c-card">
|
<view class="c-card app-container">
|
||||||
<view class="search">
|
<view class="search">
|
||||||
<u-search
|
<u-search
|
||||||
placeholder="请输入收货产品名称"
|
placeholder="请输入收货产品名称"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="c-card">
|
<view class="c-card app-container">
|
||||||
<view class="search">
|
<view class="search">
|
||||||
<u-search
|
<u-search
|
||||||
placeholder="请输入收货分类"
|
placeholder="请输入收货分类"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="c-card">
|
<view class="c-card app-container">
|
||||||
<view class="search">
|
<view class="search">
|
||||||
<u-search
|
<u-search
|
||||||
placeholder="请输入出货产品名称"
|
placeholder="请输入出货产品名称"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="c-card">
|
<view class="c-card app-container">
|
||||||
<view class="search">
|
<view class="search">
|
||||||
<u-search
|
<u-search
|
||||||
placeholder="请输入库存卡号"
|
placeholder="请输入库存卡号"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="c-card">
|
<view class="c-card app-container">
|
||||||
<view class="search">
|
<view class="search">
|
||||||
<view class="type" @click="state.isShowType = true"
|
<view class="type" @click="state.isShowType = true"
|
||||||
>全部分类<u-icon name="arrow-down"></u-icon>
|
>全部分类<u-icon name="arrow-down"></u-icon>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="c-card">
|
<view class="c-card app-container">
|
||||||
<view class="search">
|
<view class="search">
|
||||||
<u-search
|
<u-search
|
||||||
placeholder="请输入供应商分类"
|
placeholder="请输入供应商分类"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="c-card">
|
<view class="c-card app-container">
|
||||||
<view class="search">
|
<view class="search">
|
||||||
<u-search
|
<u-search
|
||||||
placeholder="请输入人员名称"
|
placeholder="请输入人员名称"
|
||||||
|
|
|
@ -111,7 +111,11 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="btn-box">
|
<view class="btn-box">
|
||||||
<u-button text="暂不定价" @click="handleBack()"></u-button>
|
<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>
|
</view>
|
||||||
|
|
||||||
<!-- 收货产品弹框 -->
|
<!-- 收货产品弹框 -->
|
||||||
|
@ -743,20 +747,28 @@ const updateOrder = () => {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// 0:有皮重 1:零皮重
|
// 0:有皮重 1:零皮重
|
||||||
uni.navigateBack()
|
uni.navigateBack();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const prePage = ref("");
|
const prePage = ref("");
|
||||||
onLoad((option) => {
|
const title = ref("")
|
||||||
model1.order.id = parseInt((option as any).id);
|
onLoad((option: any) => {
|
||||||
prePage.value = (option as any).prePage;
|
model1.order.id = parseInt(option.id);
|
||||||
|
prePage.value = option.prePage;
|
||||||
|
title.value = option.title
|
||||||
|
|
||||||
if (prePage.value) {
|
if (prePage.value) {
|
||||||
uni.setNavigationBarTitle({
|
uni.setNavigationBarTitle({
|
||||||
title: "编辑信息",
|
title: "编辑信息",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (option.title) {
|
||||||
|
uni.setNavigationBarTitle({
|
||||||
|
title: option.title,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (model1.order.id) {
|
if (model1.order.id) {
|
||||||
ReceiveApi.getDetailById({ id: model1.order.id }).then((res) => {
|
ReceiveApi.getDetailById({ id: model1.order.id }).then((res) => {
|
||||||
|
|
|
@ -185,7 +185,7 @@ const pricingDetail = (id: number) => {
|
||||||
getList();
|
getList();
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pagesReceive/form/pricingForm?id=" + id, // 要跳转到的页面路径
|
url: `/pagesReceive/form/pricingForm?id=${id}&title=${state.scaleStatus === 0 ? '定价' : '编辑'}详情`, // 要跳转到的页面路径
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue