This commit is contained in:
aihe 2024-12-06 12:26:31 +08:00
parent 2116b786a4
commit 95e00a61ed
2 changed files with 52 additions and 49 deletions

View File

@ -96,41 +96,43 @@
</view>
</view>
<buns-edit-sheet percentHeight="40" :title="costModal.item.feeName" v-model:show="costModal.show" v-model:value="costModal.item" v-slot="tempObject" @onSure="handleCostItemSure" :okCloseModal="false">
<tpx-select v-model:value="tempObject.value.currency" :list="costRateList"
@onChange="handleCurrencyChange" mode="drop"
>
<u-row custom-style="gap: 20rpx;margin-top:10rpx;" justify="between">
<text class="font-26 label-text">币种</text>
<tpx-text-dic :value="tempObject.value.currency" :list="costRateList"></tpx-text-dic>
</u-row>
</tpx-select>
<u-row custom-style="gap: 20rpx;margin-top:30rpx;">
<u-row custom-style="flex: 1">
<text class="font-26 label-text">首重费</text>
<tpx-input v-model:value="tempObject.value.initialWeightFee" _digit="4" :isWhite="true"
custom-style="width: 120rpx;height: 46rpx;" :suffix="tempObject.value.currency"></tpx-input>
</u-row>
<u-row custom-style="flex: 1">
<text class="font-26 label-text">续重单价</text>
<tpx-input v-model:value="tempObject.value.addWeightPrice" _digit="4" :isWhite="true"
custom-style="width: 120rpx;height: 46rpx;" :suffix="tempObject.value.currency"></tpx-input>
</u-row>
</u-row>
<u-row style="margin-top:30rpx;" justify="between">
<u-row custom-style="width:300rpx;">
<text class="label-text">应收</text>
<tpx-input v-model:value="tempObject.value.fee" _digit="4" :isWhite="true" custom-style="width: 120rpx;height: 46rpx;"
:suffix="tempObject.value.currency"></tpx-input>
</u-row>
<u-row custom-style="width:300rpx;">
<text :class="`font-26 label-text label-text-required `">实收</text>
<tpx-input v-model:value="tempObject.value.realFee" _digit="4" :isWhite="true" custom-style="width: 120rpx;height: 46rpx;"
:suffix="tempObject.value.currency"></tpx-input>
</u-row>
</u-row>
<view class="mt-30">
<tpx-input v-model:value="tempObject.value.remark" placeholder="费用描述" isWhite="true"></tpx-input>
<buns-edit-sheet percentHeight="40" :title="costModal.item.feeName" v-model:show="costModal.show" v-model:value="costModal.item" v-slot="tempObject" @onSure="handleCostItemSure" :okCloseModal="false">
<view v-if="costModal.show">
<tpx-select v-model:value="tempObject.value.currency" :list="costRateList"
@onChange="handleCurrencyChange" mode="drop"
>
<u-row custom-style="gap: 20rpx;margin-top:10rpx;" justify="between">
<text class="font-26 label-text">币种</text>
<tpx-text-dic :value="tempObject.value.currency" :list="costRateList"></tpx-text-dic>
</u-row>
</tpx-select>
<u-row custom-style="gap: 20rpx;margin-top:30rpx;">
<u-row custom-style="flex: 1">
<text class="font-26 label-text">首重费</text>
<tpx-input v-model:value="tempObject.value.initialWeightFee" _digit="4" :isWhite="true"
custom-style="width: 120rpx;height: 46rpx;" :suffix="tempObject.value.currency"></tpx-input>
</u-row>
<u-row custom-style="flex: 1">
<text class="font-26 label-text">续重单价</text>
<tpx-input v-model:value="tempObject.value.addWeightPrice" _digit="4" :isWhite="true"
custom-style="width: 120rpx;height: 46rpx;" :suffix="tempObject.value.currency"></tpx-input>
</u-row>
</u-row>
<u-row style="margin-top:30rpx;" justify="between">
<u-row custom-style="width:300rpx;">
<text class="label-text">应收</text>
<tpx-input v-model:value="tempObject.value.fee" _digit="4" :isWhite="true" custom-style="width: 120rpx;height: 46rpx;"
:suffix="tempObject.value.currency"></tpx-input>
</u-row>
<u-row custom-style="width:300rpx;">
<text :class="`font-26 label-text label-text-required `">实收</text>
<tpx-input v-model:value="tempObject.value.realFee" _digit="4" :isWhite="true" custom-style="width: 120rpx;height: 46rpx;"
:suffix="tempObject.value.currency"></tpx-input>
</u-row>
</u-row>
<view class="mt-30">
<tpx-input v-model:value="tempObject.value.remark" placeholder="费用描述" isWhite="true"></tpx-input>
</view>
</view>
</buns-edit-sheet>
</template>

View File

@ -268,21 +268,22 @@
</tpx-layout>
<buns-edit-sheet percentHeight="70" title="商品信息" v-model:show="goodChooseModal.show" v-model:value="submitParam" v-slot="tempObject" @onSure="handleGoodInfoSure">
<view class="mt-30">
<bpe-gooditem-edit-tmp ref="goodEditInfo" :value="tempObject.value"></bpe-gooditem-edit-tmp>
<view v-if="goodChooseModal.show">
<view class="mt-30">
<bpe-gooditem-edit-tmp ref="goodEditInfo" :value="tempObject.value"></bpe-gooditem-edit-tmp>
</view>
<view class="mt-30">
<bpe-good-kuaidi-tmp :value="tempObject.value"></bpe-good-kuaidi-tmp>
</view>
<view class="mt-30">
<bpe-goodphoto-tmp :value="tempObject.value" filedName="goodsPics">
<template v-slot:title>
<text class="font-weight font-28">货物照片</text>
</template>
</bpe-goodphoto-tmp>
</view>
</view>
<view class="mt-30">
<bpe-good-kuaidi-tmp :value="tempObject.value"></bpe-good-kuaidi-tmp>
</view>
<view class="mt-30">
<bpe-goodphoto-tmp :value="tempObject.value" filedName="goodsPics">
<template v-slot:title>
<text class="font-weight font-28">货物照片</text>
</template>
</bpe-goodphoto-tmp>
</view>
</buns-edit-sheet>
<tpx-bluetooth-print-preview ref="curPrint"></tpx-bluetooth-print-preview>