update: 更新消息中心样式 以及u-input 样式
This commit is contained in:
parent
02260af9d2
commit
f87e508efd
|
@ -0,0 +1,16 @@
|
||||||
|
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
|
||||||
|
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
|
||||||
|
"version": "0.0",
|
||||||
|
"configurations": [{
|
||||||
|
"app-plus" :
|
||||||
|
{
|
||||||
|
"launchtype" : "local"
|
||||||
|
},
|
||||||
|
"default" :
|
||||||
|
{
|
||||||
|
"launchtype" : "local"
|
||||||
|
},
|
||||||
|
"type" : "uniCloud"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,19 +1,19 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="layout-box">
|
<view class="layout-box">
|
||||||
<view class="filter">
|
<view class="filter">
|
||||||
<up-input
|
<u-input
|
||||||
v-model="state.startTime"
|
v-model="state.startTime"
|
||||||
disabled
|
disabled
|
||||||
disabledColor=""
|
disabledColor=""
|
||||||
placeholder="请选择开始时间"
|
placeholder="请选择开始时间"
|
||||||
></up-input>
|
></u-input>
|
||||||
<text>-</text>
|
<text>-</text>
|
||||||
<up-input
|
<u-input
|
||||||
v-model="state.endTime"
|
v-model="state.endTime"
|
||||||
disabled
|
disabled
|
||||||
disabledColor=""
|
disabledColor=""
|
||||||
placeholder="请选择结束时间"
|
placeholder="请选择结束时间"
|
||||||
></up-input>
|
></u-input>
|
||||||
<u-icon
|
<u-icon
|
||||||
name="arrow-down"
|
name="arrow-down"
|
||||||
@click="handleDialog('showTime', true)"
|
@click="handleDialog('showTime', true)"
|
||||||
|
@ -192,7 +192,7 @@ onMounted(() => {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
::v-deep .up-input {
|
::v-deep .u-input {
|
||||||
padding: 0rpx 16rpx !important;
|
padding: 0rpx 16rpx !important;
|
||||||
input {
|
input {
|
||||||
font-family: Source Han Sans CN;
|
font-family: Source Han Sans CN;
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="layout-box">
|
<view class="layout-box">
|
||||||
<view class="filter">
|
<view class="filter">
|
||||||
<up-input
|
<u-input
|
||||||
v-model="state.startTime"
|
v-model="state.startTime"
|
||||||
disabled
|
disabled
|
||||||
disabledColor=""
|
disabledColor=""
|
||||||
placeholder="请选择开始时间"
|
placeholder="请选择开始时间"
|
||||||
></up-input>
|
></u-input>
|
||||||
<text>-</text>
|
<text>-</text>
|
||||||
<up-input
|
<u-input
|
||||||
v-model="state.endTime"
|
v-model="state.endTime"
|
||||||
disabled
|
disabled
|
||||||
disabledColor=""
|
disabledColor=""
|
||||||
placeholder="请选择结束时间"
|
placeholder="请选择结束时间"
|
||||||
></up-input>
|
></u-input>
|
||||||
<u-icon
|
<u-icon
|
||||||
name="arrow-down"
|
name="arrow-down"
|
||||||
@click="handleDialog('showTime', true)"
|
@click="handleDialog('showTime', true)"
|
||||||
|
@ -269,7 +269,7 @@ onMounted(() => {
|
||||||
font-family: Source Han Sans CN;
|
font-family: Source Han Sans CN;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
::v-deep .up-input {
|
::v-deep .u-input {
|
||||||
padding: 0rpx 16.03rpx !important;
|
padding: 0rpx 16.03rpx !important;
|
||||||
input {
|
input {
|
||||||
font-family: Source Han Sans CN;
|
font-family: Source Han Sans CN;
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="layout-box">
|
<view class="layout-box">
|
||||||
<view class="filter">
|
<view class="filter">
|
||||||
<up-input
|
<u-input
|
||||||
v-model="state.startTime"
|
v-model="state.startTime"
|
||||||
disabled
|
disabled
|
||||||
disabledColor=""
|
disabledColor=""
|
||||||
placeholder="请选择开始时间"
|
placeholder="请选择开始时间"
|
||||||
></up-input>
|
></u-input>
|
||||||
<text>-</text>
|
<text>-</text>
|
||||||
<up-input
|
<u-input
|
||||||
v-model="state.endTime"
|
v-model="state.endTime"
|
||||||
disabled
|
disabled
|
||||||
disabledColor=""
|
disabledColor=""
|
||||||
placeholder="请选择结束时间"
|
placeholder="请选择结束时间"
|
||||||
></up-input>
|
></u-input>
|
||||||
<u-icon
|
<u-icon
|
||||||
name="arrow-down"
|
name="arrow-down"
|
||||||
@click="handleDialog('showTime', true)"
|
@click="handleDialog('showTime', true)"
|
||||||
|
@ -266,7 +266,7 @@ onMounted(() => {
|
||||||
font-family: Source Han Sans CN;
|
font-family: Source Han Sans CN;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
::v-deep .up-input {
|
::v-deep .u-input {
|
||||||
padding: 0rpx 16.03rpx !important;
|
padding: 0rpx 16.03rpx !important;
|
||||||
input {
|
input {
|
||||||
font-family: Source Han Sans CN;
|
font-family: Source Han Sans CN;
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
<template>
|
<template>
|
||||||
<view class="layout-box">
|
<view class="layout-box">
|
||||||
<view class="filter">
|
<view class="filter">
|
||||||
<up-input
|
<u-input
|
||||||
v-model="state.startTime"
|
v-model="state.startTime"
|
||||||
disabled
|
disabled
|
||||||
disabledColor=""
|
disabledColor=""
|
||||||
placeholder="请选择开始时间"
|
placeholder="请选择开始时间"
|
||||||
></up-input>
|
></u-input>
|
||||||
<text>-</text>
|
<text>-</text>
|
||||||
<up-input
|
<u-input
|
||||||
v-model="state.endTime"
|
v-model="state.endTime"
|
||||||
disabled
|
disabled
|
||||||
disabledColor=""
|
disabledColor=""
|
||||||
placeholder="请选择结束时间"
|
placeholder="请选择结束时间"
|
||||||
></up-input>
|
></u-input>
|
||||||
<u-icon
|
<u-icon
|
||||||
name="arrow-down"
|
name="arrow-down"
|
||||||
@click="handleDialog('showTime', true)"
|
@click="handleDialog('showTime', true)"
|
||||||
|
@ -190,7 +190,7 @@ onMounted(() => {
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
::v-deep .up-input {
|
::v-deep .u-input {
|
||||||
padding: 0rpx 16.03rpx !important;
|
padding: 0rpx 16.03rpx !important;
|
||||||
input {
|
input {
|
||||||
font-family: Source Han Sans CN;
|
font-family: Source Han Sans CN;
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<view class="title">收货单价区间</view>
|
<view class="title">收货单价区间</view>
|
||||||
<view class="range">
|
<view class="range">
|
||||||
<view>
|
<view>
|
||||||
<up-input
|
<u-input
|
||||||
shape="circle"
|
shape="circle"
|
||||||
:fontSize="12"
|
:fontSize="12"
|
||||||
:placeholderStyle="{ fontSize: '12px' }"
|
:placeholderStyle="{ fontSize: '12px' }"
|
||||||
|
@ -53,11 +53,11 @@
|
||||||
size="small"
|
size="small"
|
||||||
v-model="state.minPrice"
|
v-model="state.minPrice"
|
||||||
@change="(e:any) => {handleInput(e, {key: 'minPrice', name: '最低价'})}"
|
@change="(e:any) => {handleInput(e, {key: 'minPrice', name: '最低价'})}"
|
||||||
></up-input
|
></u-input
|
||||||
></view>
|
></view>
|
||||||
-
|
-
|
||||||
<view>
|
<view>
|
||||||
<up-input
|
<u-input
|
||||||
shape="circle"
|
shape="circle"
|
||||||
:fontSize="12"
|
:fontSize="12"
|
||||||
:placeholderStyle="{ fontSize: '12px' }"
|
:placeholderStyle="{ fontSize: '12px' }"
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
size="small"
|
size="small"
|
||||||
v-model="state.maxPrice"
|
v-model="state.maxPrice"
|
||||||
@change="(e:any) => {handleInput(e, {key: 'maxPrice', name: '最高价'})}"
|
@change="(e:any) => {handleInput(e, {key: 'maxPrice', name: '最高价'})}"
|
||||||
></up-input
|
></u-input
|
||||||
></view>
|
></view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<template #right v-if="item.type === 'select'">
|
<template #right v-if="item.type === 'select'">
|
||||||
<u-icon name="arrow-right"></u-icon>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.order as any)[item.key]"
|
v-model="(model1.order as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.order as any)[item.key]"
|
v-model="(model1.order as any)[item.key]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<!-- @afterRead="afterRead"
|
<!-- @afterRead="afterRead"
|
||||||
@delete="deletePic" -->
|
@delete="deletePic" -->
|
||||||
<uni-file-picker
|
<uni-file-picker
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
v-model="(model1.order as any)[item.key]"
|
v-model="(model1.order as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.order as any)[item.key]"
|
v-model="(model1.order as any)[item.key]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<!-- @afterRead="afterRead"
|
<!-- @afterRead="afterRead"
|
||||||
@delete="deletePic" -->
|
@delete="deletePic" -->
|
||||||
<uni-file-picker
|
<uni-file-picker
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<template #right v-if="item.type === 'select'">
|
<template #right v-if="item.type === 'select'">
|
||||||
<u-icon name="arrow-right"></u-icon>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<template #right v-if="item.type === 'select'">
|
<template #right v-if="item.type === 'select'">
|
||||||
<u-icon name="arrow-right"></u-icon>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
:password="item.name === 'password'"
|
:password="item.name === 'password'"
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<template #right v-if="item.type === 'select'">
|
<template #right v-if="item.type === 'select'">
|
||||||
<u-icon name="arrow-right"></u-icon>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="
|
v-if="
|
||||||
item.type === 'select' ||
|
item.type === 'select' ||
|
||||||
item.type === 'input' ||
|
item.type === 'input' ||
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<template
|
<template
|
||||||
#right
|
#right
|
||||||
v-if="item.type === 'select' || item.type === 'cascader'"
|
v-if="item.type === 'select' || item.type === 'cascader'"
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<template #right v-if="item.type === 'select'">
|
<template #right v-if="item.type === 'select'">
|
||||||
<u-icon name="arrow-right"></u-icon>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input' || item.type === 'selectCustom'"
|
v-if="item.type === 'select' || item.type === 'input' || item.type === 'selectCustom'"
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请${item.type.indexOf('select') > -1 ? '选择' : '输入'}${
|
:placeholder="`请${item.type.indexOf('select') > -1 ? '选择' : '输入'}${
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<template #right v-if="item.type === 'select' || item.type === 'selectCustom'">
|
<template #right v-if="item.type === 'select' || item.type === 'selectCustom'">
|
||||||
<u-icon name="arrow-right"></u-icon>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<template #right v-if="item.type === 'select'">
|
<template #right v-if="item.type === 'select'">
|
||||||
<u-icon name="arrow-right"></u-icon>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<template #right v-if="item.type === 'select'">
|
<template #right v-if="item.type === 'select'">
|
||||||
<u-icon name="arrow-right"></u-icon>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
:password="item.key === 'password'"
|
:password="item.key === 'password'"
|
||||||
v-model="(model1.formData as any)[item.key]"
|
v-model="(model1.formData as any)[item.key]"
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<template #right v-if="item.type === 'select'">
|
<template #right v-if="item.type === 'select'">
|
||||||
<u-icon name="arrow-right"></u-icon>
|
<u-icon name="arrow-right"></u-icon>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.order as any)[item.key]"
|
v-model="(model1.order as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.order as any)[item.key]"
|
v-model="(model1.order as any)[item.key]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<!-- @afterRead="afterRead"
|
<!-- @afterRead="afterRead"
|
||||||
@delete="deletePic" -->
|
@delete="deletePic" -->
|
||||||
<uni-file-picker
|
<uni-file-picker
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
v-model="(model1.order as any)[item.key]"
|
v-model="(model1.order as any)[item.key]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.order as any)[item.key]"
|
v-model="(model1.order as any)[item.key]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -44,7 +44,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<!-- @afterRead="afterRead"
|
<!-- @afterRead="afterRead"
|
||||||
@delete="deletePic" -->
|
@delete="deletePic" -->
|
||||||
<uni-file-picker
|
<uni-file-picker
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
:prop="`userInfo.${item.modelName}`"
|
:prop="`userInfo.${item.modelName}`"
|
||||||
>
|
>
|
||||||
<view v-if="item.type === 'text'">
|
<view v-if="item.type === 'text'">
|
||||||
<up-input
|
<u-input
|
||||||
v-model="model1.userInfo[`${item.modelName}`]"
|
v-model="model1.userInfo[`${item.modelName}`]"
|
||||||
:placeholder="item.placeholder"
|
:placeholder="item.placeholder"
|
||||||
:shape="'circle'"
|
:shape="'circle'"
|
||||||
|
@ -41,10 +41,10 @@
|
||||||
>
|
>
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="item.type === 'password'">
|
<view v-if="item.type === 'password'">
|
||||||
<up-input
|
<u-input
|
||||||
v-model="model1.userInfo[`${item.modelName}`]"
|
v-model="model1.userInfo[`${item.modelName}`]"
|
||||||
:placeholder="item.placeholder"
|
:placeholder="item.placeholder"
|
||||||
:shape="'circle'"
|
:shape="'circle'"
|
||||||
|
@ -73,7 +73,7 @@
|
||||||
@click="item.isShowPwd = false"
|
@click="item.isShowPwd = false"
|
||||||
></image>
|
></image>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
</view>
|
</view>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</u-form>
|
</u-form>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
:labelWidth="0"
|
:labelWidth="0"
|
||||||
>
|
>
|
||||||
<u-form-item prop="userInfo.userName">
|
<u-form-item prop="userInfo.userName">
|
||||||
<up-input
|
<u-input
|
||||||
v-model="model1.userInfo.userName"
|
v-model="model1.userInfo.userName"
|
||||||
placeholder="请输入手机号"
|
placeholder="请输入手机号"
|
||||||
:shape="'circle'"
|
:shape="'circle'"
|
||||||
|
@ -24,10 +24,10 @@
|
||||||
@change="(e:any) => {handleInput(e, 'userName')}"
|
@change="(e:any) => {handleInput(e, 'userName')}"
|
||||||
@clear="handleClear({key: 'userName'})"
|
@clear="handleClear({key: 'userName'})"
|
||||||
>
|
>
|
||||||
</up-input>
|
</u-input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item prop="userInfo.password">
|
<u-form-item prop="userInfo.password">
|
||||||
<up-input
|
<u-input
|
||||||
v-model="model1.userInfo.password"
|
v-model="model1.userInfo.password"
|
||||||
placeholder="请输入密码"
|
placeholder="请输入密码"
|
||||||
:shape="'circle'"
|
:shape="'circle'"
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
@click="isShowPwd = false"
|
@click="isShowPwd = false"
|
||||||
></image>
|
></image>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</u-form>
|
</u-form>
|
||||||
<view class="remember-box">
|
<view class="remember-box">
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
<view class="u-page">
|
<view class="u-page">
|
||||||
<u-list :height="'auto'">
|
<u-list :height="'auto'">
|
||||||
<u-list-item v-for="(item, index) in pageList.list" :key="index">
|
<u-list-item v-for="(item, index) in pageList.list" :key="index">
|
||||||
|
<!-- #ifdef MP-WEIXIN -->
|
||||||
<u-cell @click="handleItem(item)">
|
<u-cell @click="handleItem(item)">
|
||||||
<view slot="title" class="u-slot-title">
|
<view slot="title" class="u-slot-title">
|
||||||
<view>
|
<view>
|
||||||
|
@ -28,6 +29,23 @@
|
||||||
<text class="u-slot-value time">{{ item.createTime }}</text>
|
<text class="u-slot-value time">{{ item.createTime }}</text>
|
||||||
</template>
|
</template>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
|
<!-- #endif -->
|
||||||
|
<!-- #ifndef MP-WEIXIN -->
|
||||||
|
<view class="u-slot-title-content" @click="handleItem(item)">
|
||||||
|
<view>
|
||||||
|
<view class="u-cell-text title"
|
||||||
|
>{{ item.title }}
|
||||||
|
<text class="title-badge" v-if="item.status === 0"> </text>
|
||||||
|
</view>
|
||||||
|
<view class="u-cell-text desc">{{ item.content }}</view>
|
||||||
|
<view
|
||||||
|
><text class="u-slot-value time">{{
|
||||||
|
item.createTime
|
||||||
|
}}</text></view
|
||||||
|
>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- #endif -->
|
||||||
</u-list-item>
|
</u-list-item>
|
||||||
</u-list>
|
</u-list>
|
||||||
</view>
|
</view>
|
||||||
|
@ -108,11 +126,17 @@ const handleItem = (item: any) => {
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
if (res.data.list[0].scaleStatus === ScaleStatus.ToBePriced && MsgType.ToBePriced === item.msgType) {
|
if (
|
||||||
|
res.data.list[0].scaleStatus === ScaleStatus.ToBePriced &&
|
||||||
|
MsgType.ToBePriced === item.msgType
|
||||||
|
) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pagesReceive/pricing?scaleStatus=0", // 要跳转到的页面路径
|
url: "/pagesReceive/pricing?scaleStatus=0", // 要跳转到的页面路径
|
||||||
});
|
});
|
||||||
} else if (res.data.list[0].scaleStatus === ScaleStatus.ToBeReview && MsgType.ToBeReview === item.msgType) {
|
} else if (
|
||||||
|
res.data.list[0].scaleStatus === ScaleStatus.ToBeReview &&
|
||||||
|
MsgType.ToBeReview === item.msgType
|
||||||
|
) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pagesReceive/payReview?scaleStatus=2", // 要跳转到的页面路径
|
url: "/pagesReceive/payReview?scaleStatus=2", // 要跳转到的页面路径
|
||||||
});
|
});
|
||||||
|
@ -142,12 +166,16 @@ const handleItem = (item: any) => {
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
if (res.data.list[0].scaleStatus === ScaleStatus.ToBeShipment && MsgType.ToBeShipment === item.msgType) {
|
if (
|
||||||
|
res.data.list[0].scaleStatus === ScaleStatus.ToBeShipment &&
|
||||||
|
MsgType.ToBeShipment === item.msgType
|
||||||
|
) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pagesShipment/shipmenting?scaleStatus=0", // 要跳转到的页面路径
|
url: "/pagesShipment/shipmenting?scaleStatus=0", // 要跳转到的页面路径
|
||||||
});
|
});
|
||||||
} else if (
|
} else if (
|
||||||
res.data.list[0].scaleStatus === ScaleStatus.ToBeShipmentReview && MsgType.ToBeShipmentReview === item.msgType
|
res.data.list[0].scaleStatus === ScaleStatus.ToBeShipmentReview &&
|
||||||
|
MsgType.ToBeShipmentReview === item.msgType
|
||||||
) {
|
) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pagesShipment/shipmentSettlement?scaleStatus=2", // 要跳转到的页面路径
|
url: "/pagesShipment/shipmentSettlement?scaleStatus=2", // 要跳转到的页面路径
|
||||||
|
@ -171,6 +199,13 @@ onMounted(() => {
|
||||||
.msg-box {
|
.msg-box {
|
||||||
// background: #f8f8f8;
|
// background: #f8f8f8;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
.u-slot-title-content {
|
||||||
|
padding: 13px 15px;
|
||||||
|
font-size: 15px;
|
||||||
|
color: #303133;
|
||||||
|
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-family: Source Han Sans CN;
|
font-family: Source Han Sans CN;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
:key="index"
|
:key="index"
|
||||||
:prop="`userInfo.${item.key}`"
|
:prop="`userInfo.${item.key}`"
|
||||||
>
|
>
|
||||||
<up-input
|
<u-input
|
||||||
v-model="(model1.userInfo as any)[item.key]"
|
v-model="(model1.userInfo as any)[item.key]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
item.name
|
item.name
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
@click="item.isShowPwd = false"
|
@click="item.isShowPwd = false"
|
||||||
></image>
|
></image>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
</u-form>
|
</u-form>
|
||||||
</view>
|
</view>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<!-- v-model="(model1.order as any)[item.key]" -->
|
<!-- v-model="(model1.order as any)[item.key]" -->
|
||||||
<up-input
|
<u-input
|
||||||
v-model="(model1.order as any)[item.key]"
|
v-model="(model1.order as any)[item.key]"
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<!-- @afterRead="afterRead"
|
<!-- @afterRead="afterRead"
|
||||||
@delete="deletePic" -->
|
@delete="deletePic" -->
|
||||||
<uni-file-picker
|
<uni-file-picker
|
||||||
|
|
|
@ -61,7 +61,9 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="more">
|
<view class="more">
|
||||||
<view v-if="getIsShow()"> 收货单号:{{ state.order.receiptNumber }} </view>
|
<view v-if="getIsShow()">
|
||||||
|
收货单号:{{ state.order.receiptNumber }}
|
||||||
|
</view>
|
||||||
<view v-if="getIsShow()"></view>
|
<view v-if="getIsShow()"></view>
|
||||||
<view v-for="(item, index) in gridList1" :key="index">
|
<view v-for="(item, index) in gridList1" :key="index">
|
||||||
<text v-if="item.name">{{ item.name }}:</text
|
<text v-if="item.name">{{ item.name }}:</text
|
||||||
|
@ -70,7 +72,10 @@
|
||||||
{{ item.num }}
|
{{ item.num }}
|
||||||
{{ item.isBefore ? "" : item.unit }}
|
{{ item.isBefore ? "" : item.unit }}
|
||||||
<text
|
<text
|
||||||
v-if="item.name === '货款金额' && ScaleStatus.ToBeReview === state.order.scaleStatus"
|
v-if="
|
||||||
|
item.name === '货款金额' &&
|
||||||
|
ScaleStatus.ToBeReview === state.order.scaleStatus
|
||||||
|
"
|
||||||
@click="handleEdit()"
|
@click="handleEdit()"
|
||||||
:style="{
|
:style="{
|
||||||
color: 'rgba(0, 220, 238, 1)',
|
color: 'rgba(0, 220, 238, 1)',
|
||||||
|
@ -78,7 +83,7 @@
|
||||||
'border-radius': '20rpx',
|
'border-radius': '20rpx',
|
||||||
fontSize: '12px',
|
fontSize: '12px',
|
||||||
padding: '1px 10px',
|
padding: '1px 10px',
|
||||||
marginLeft: '10rpx'
|
marginLeft: '10rpx',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
编辑
|
编辑
|
||||||
|
@ -149,11 +154,11 @@
|
||||||
@confirm="handleConfirm"
|
@confirm="handleConfirm"
|
||||||
@cancel="isInput = false"
|
@cancel="isInput = false"
|
||||||
>
|
>
|
||||||
<up-input
|
<u-input
|
||||||
placeholder="请输入货款金额"
|
placeholder="请输入货款金额"
|
||||||
type="number"
|
type="number"
|
||||||
v-model="amount"
|
v-model="amount"
|
||||||
></up-input>
|
></u-input>
|
||||||
</u-modal>
|
</u-modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -215,7 +220,7 @@ const state = reactive<{
|
||||||
[attrName: string]: any;
|
[attrName: string]: any;
|
||||||
}>({
|
}>({
|
||||||
order: {
|
order: {
|
||||||
carNumber: ''
|
carNumber: "",
|
||||||
},
|
},
|
||||||
sheetList: [
|
sheetList: [
|
||||||
{
|
{
|
||||||
|
@ -327,10 +332,8 @@ const handleSelect = (key: string, v: any) => {
|
||||||
contrlModalParams[key].isShow = false;
|
contrlModalParams[key].isShow = false;
|
||||||
if (key === "paySelect") {
|
if (key === "paySelect") {
|
||||||
// 修改订单状态
|
// 修改订单状态
|
||||||
ReceiveApi.updateOne({
|
ReceiveApi.updateOrderIn({
|
||||||
...state.order,
|
orderInPos: [{ ...state.order, scaleStatus: 4, paymentMethod: v.key }],
|
||||||
scaleStatus: 4,
|
|
||||||
paymentMethod: v.key,
|
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
@ -369,7 +372,11 @@ const handleUpdateOrder = () => {
|
||||||
};
|
};
|
||||||
// 重新过皮
|
// 重新过皮
|
||||||
const handleReWeight = () => {
|
const handleReWeight = () => {
|
||||||
ReceiveApi.reTare({ id: state.order.id, userId: state.order.userId, deviceId: state.order.deviceId }).then((res) => {
|
ReceiveApi.reTare({
|
||||||
|
id: state.order.id,
|
||||||
|
userId: state.order.userId,
|
||||||
|
deviceId: state.order.deviceId,
|
||||||
|
}).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: "/pagesReceive/pricing?scaleStatus=1", // 要跳转到的页面路径
|
url: "/pagesReceive/pricing?scaleStatus=1", // 要跳转到的页面路径
|
||||||
|
@ -387,7 +394,7 @@ onLoad((option) => {
|
||||||
ReceiveApi.getDetailById({ id: state.order.id }).then((res) => {
|
ReceiveApi.getDetailById({ id: state.order.id }).then((res) => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
state.order = res.data;
|
state.order = res.data;
|
||||||
gridList1.map((item:any) => {
|
gridList1.map((item: any) => {
|
||||||
if (item.name === "扣杂" || item.name === "扣点") {
|
if (item.name === "扣杂" || item.name === "扣点") {
|
||||||
if (state.order.buttonType === 0) {
|
if (state.order.buttonType === 0) {
|
||||||
item.name = "扣杂";
|
item.name = "扣杂";
|
||||||
|
@ -398,17 +405,17 @@ onLoad((option) => {
|
||||||
item.enName = "points";
|
item.enName = "points";
|
||||||
item.unit = "%";
|
item.unit = "%";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (item.name === "货款金额") {
|
if (item.name === "货款金额") {
|
||||||
if (state.order[item.enName as string]) {
|
if (state.order[item.enName as string]) {
|
||||||
item.num = state.order[item.enName as string];
|
item.num = state.order[item.enName as string];
|
||||||
} else {
|
} else {
|
||||||
item.num = state.order['totalPrice'];
|
item.num = state.order["totalPrice"];
|
||||||
|
state.order[item.enName] = state.order["totalPrice"];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
item.num = state.order[item.enName as string];
|
item.num = state.order[item.enName as string];
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
v-model="(model1.order as any)[(item.key as any)]"
|
v-model="(model1.order as any)[(item.key as any)]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.order as any)[(item.key as any)]"
|
v-model="(model1.order as any)[(item.key as any)]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</text>
|
</text>
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<uni-file-picker
|
<uni-file-picker
|
||||||
v-if="item.type === 'upload'"
|
v-if="item.type === 'upload'"
|
||||||
v-model="model1.order.fileLists"
|
v-model="model1.order.fileLists"
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
v-model="(model1.order as any)[(item.key as any)]"
|
v-model="(model1.order as any)[(item.key as any)]"
|
||||||
:placeholder="`请输入${item.name}`"
|
:placeholder="`请输入${item.name}`"
|
||||||
></u-textarea>
|
></u-textarea>
|
||||||
<up-input
|
<u-input
|
||||||
v-if="item.type === 'select' || item.type === 'input'"
|
v-if="item.type === 'select' || item.type === 'input'"
|
||||||
v-model="(model1.order as any)[(item.key as any)]"
|
v-model="(model1.order as any)[(item.key as any)]"
|
||||||
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
:placeholder="`请${item.type === 'select' ? '选择' : '输入'}${
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
<template #suffix>
|
<template #suffix>
|
||||||
{{ item.unit }}
|
{{ item.unit }}
|
||||||
</template>
|
</template>
|
||||||
</up-input>
|
</u-input>
|
||||||
<!-- @afterRead="afterRead"
|
<!-- @afterRead="afterRead"
|
||||||
@delete="deletePic" -->
|
@delete="deletePic" -->
|
||||||
<!-- <u-upload
|
<!-- <u-upload
|
||||||
|
|
Loading…
Reference in New Issue