This commit is contained in:
aihe 2024-01-31 17:32:42 +08:00
parent bb12e8e705
commit 29e909a929
2 changed files with 160 additions and 1 deletions

View File

@ -0,0 +1,155 @@
<template>
<view class="edm-input-item">
<tpx-select v-model:value="submitInfo.type1" :list="packTypeList"
mode="drop" customInput="true"
>
<u-row justify="between">
<text class="font-26 font-weight">包装类型</text>
<u-row justify="end" align="center">
<u-text align="right" margin="0 12rpx 0 0" size="26" text="选择包装类型"></u-text>
<u-icon size="26" name="arrow-right" color="#333"></u-icon>
</u-row>
</u-row>
</tpx-select>
</view>
<view class="edm-input-item">
<tpx-select v-model:value="submitInfo.type1" :list="kuaidiTypeList"
mode="drop" customInput="true"
>
<u-row justify="between">
<text class="font-26 font-weight">同行快递</text>
<u-row justify="end" align="center">
<u-text align="right" margin="0 12rpx 0 0" size="26" text="选择快递公司"></u-text>
<u-icon size="26" name="arrow-right" color="#333"></u-icon>
</u-row>
</u-row>
</tpx-select>
</view>
<view class="edm-input-item">
<u-row justify="between">
<u-col span="4">
<text class="font-26 font-weight">快递单号</text>
</u-col>
<u-col span="7">
<u-input placeholder="" v-model="value1" inputAlign="right"
custom-style="border:0;border-radius: 10rpx;background-color: #F6F6F6;padding: 11rpx 20rpx;"
placeholder-style="color: #999; "
></u-input>
</u-col>
</u-row>
</view>
<view class="edm-input-item">
<u-row justify="between">
<u-col span="4">
<text class="font-26 font-weight">是否需要代垫运费</text>
</u-col>
<view>
<u-switch v-model="value1" active-color="#B12D29" size="34"></u-switch>
</view>
</u-row>
</view>
<view class="edm-input-item">
<u-row justify="between">
<u-col span="4">
<text class="font-26 font-weight">代垫预估</text>
</u-col>
<u-col span="7">
<u-input placeholder="" v-model="value1" inputAlign="right"
custom-style="border:0;border-radius: 10rpx;background-color: #F6F6F6;padding: 11rpx 20rpx;"
placeholder-style="color: #999; "
>
<template #suffix>
<text class="font-26 clr-sub pl-10">元</text>
</template>
</u-input>
</u-col>
</u-row>
</view>
<view class="edm-input-item">
<u-row justify="between">
<u-col span="4">
<text class="font-26 font-weight">供应商</text>
</u-col>
<u-col span="7">
<u-input placeholder="" v-model="value1" inputAlign="right"
custom-style="border:0;border-radius: 10rpx;background-color: #F6F6F6;padding: 11rpx 20rpx;"
placeholder-style="color: #999; "
></u-input>
</u-col>
</u-row>
</view>
<view class="edm-input-item">
<u-row justify="between">
<u-col span="4">
<text class="font-26 font-weight">自定义标记</text>
</u-col>
<u-col span="7">
<u-input placeholder="" v-model="value1" inputAlign="right"
custom-style="border:0;border-radius: 10rpx;background-color: #F6F6F6;padding: 11rpx 20rpx;"
placeholder-style="color: #999; "
></u-input>
</u-col>
</u-row>
</view>
<view class="edm-input-item">
<u-row justify="between">
<u-col span="4">
<text class="font-26 font-weight">备注</text>
</u-col>
<u-col span="7">
<u-input placeholder="" v-model="value1" inputAlign="right"
custom-style="border:0;border-radius: 10rpx;background-color: #F6F6F6;padding: 11rpx 20rpx;"
placeholder-style="color: #999; "
></u-input>
</u-col>
</u-row>
</view>
</template>
<script>
import {
qingguanList, baoguanList, packTypeList, kuaidiTypeList
} from "@/common/enum"
export default {
computed: {
submitInfo: {
get(){
return this.value
}
}
},
props: {
value: {
default () {
return { }
}
}
},
data() {
return {
...(JSON.parse(JSON.stringify({ qingguanList, baoguanList, packTypeList, kuaidiTypeList }))),
}
},
created() {
},
onHide() {
},
unmounted() {
},
methods: {
}
}
</script>
<style scoped lang="scss">
.edm-input-item{
padding: 20rpx 0;
border-bottom: 2rpx solid #F6F6F6;
}
</style>

View File

@ -286,6 +286,9 @@
<view class="mt-30">
<bpe-goodphoto-tmp title="货物照片" :value="tempObject.value" filedName="phName"></bpe-goodphoto-tmp>
</view>
<view class="mt-30">
<bpe-good-kuaidi-tmp :value="tempObject.value"></bpe-good-kuaidi-tmp>
</view>
</buns-edit-sheet>
</template>
@ -299,9 +302,10 @@
import BpeCostTmp from "@/components/buns-post-edit-templates/bpe-cost-tmp"
import BpeGooditemEditTmp from "@/components/buns-post-edit-templates/bpe-gooditem-edit-tmp"
import BpeGoodphotoTmp from "@/components/buns-post-edit-templates/bpe-goodphoto-tmp"
import BpeGoodKuaidiTmp from "@/components/buns-post-edit-templates/bpe-good-kuaidi-tmp"
export default {
components: { BpeAddressinfoTmp, BpeGoodstaticTmp, BpeCostTmp, BpeGooditemEditTmp, BpeGoodphotoTmp },
components: { BpeAddressinfoTmp, BpeGoodstaticTmp, BpeCostTmp, BpeGooditemEditTmp, BpeGoodphotoTmp, BpeGoodKuaidiTmp },
props: {
// hasLeftWin: {
// type: Boolean