351 lines
9.4 KiB
Vue
351 lines
9.4 KiB
Vue
<template>
|
|
<tpx-layout>
|
|
<template v-slot:body>
|
|
|
|
<view class="dt-block">
|
|
<view class="dt-tle">
|
|
<view class="t1">海关申报信息</view>
|
|
<view class="t2"></view>
|
|
</view>
|
|
<u-line margin="20rpx 0 20rpx"></u-line>
|
|
<view class="edm-input-item">
|
|
<tpx-select v-model:value="baseFormData.type1" :list="baoguanList"
|
|
mode="drop"
|
|
>
|
|
<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="baseFormData.type2" :list="qingguanList"
|
|
mode="drop"
|
|
>
|
|
<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>
|
|
|
|
<view class="dt-block">
|
|
<view class="dt-tle">
|
|
<view class="t1">申报物品信息</view>
|
|
<view class="t2"></view>
|
|
</view>
|
|
<u-line margin="20rpx 0 20rpx"></u-line>
|
|
<view v-for="(item, index) in baseFormData.ydList" class="yditem">
|
|
<view class="ydi-lab">
|
|
<text @click="handleEditGood(item)" class="font-weight">女士针织棉上衣</text>
|
|
<view>
|
|
<u-icon @click="handleDelGood(index)" name="trash" size="32"></u-icon>
|
|
</view>
|
|
</view>
|
|
<view class="ydi-lab mt-10">
|
|
<view @click="handleEditGood(item)">
|
|
<view class="clr-sub">无 12L 中国内地</view>
|
|
<view class="clr-prm pt-10">12 CNY</view>
|
|
</view>
|
|
<view>
|
|
<uni-number-box :min="1" :max="10000" background="#fff"></uni-number-box>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<u-button @click="handleEditGood" custom-style="border-radius: 16rpx;" type="primary" plain="true">
|
|
<u-row justify="center">
|
|
<view>
|
|
<u-icon name="plus" size="30" color="#B12D29"></u-icon>
|
|
</view>
|
|
<text class="pl-10">增加货物</text>
|
|
</u-row>
|
|
</u-button>
|
|
</view>
|
|
|
|
<view class="dt-block">
|
|
<view class="dt-tle">
|
|
<view class="t1">申报物品信息</view>
|
|
<view class="t2"></view>
|
|
</view>
|
|
<u-line margin="20rpx 0 20rpx"></u-line>
|
|
<view class="edm-input-item">
|
|
<tpx-select v-model:value="baseFormData.type1" :list="packTypeList"
|
|
mode="drop"
|
|
>
|
|
<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="baseFormData.type1" :list="kuaidiTypeList"
|
|
mode="drop"
|
|
>
|
|
<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>
|
|
</view>
|
|
|
|
|
|
<view class="dt-block">
|
|
<view class="dt-tle">
|
|
<view class="t1">单证附件</view>
|
|
<view class="t2"></view>
|
|
</view>
|
|
<u-line margin="20rpx 0 20rpx"></u-line>
|
|
<view class="yditem" >
|
|
<view v-for="(item, index) in [{}, {}, {}]">
|
|
<u-row justify="between">
|
|
<view @click="setClipboardData(`212122`)" class="pt-10 pb-10 ">
|
|
<u-text :text="`${index+1}.衣服品牌授权书.jpg`" size="26" color="#999" lines="1"></u-text>
|
|
</view>
|
|
<view class="pt-10 pb-10 pl-10">
|
|
<u-icon @click="handleDelFuJian(index)" name="trash" size="32"></u-icon>
|
|
</view>
|
|
</u-row>
|
|
</view>
|
|
</view>
|
|
<!-- fileType="all" -->
|
|
<tpx-upload v-model:value="baseFormData.fujianFiles" isSlot="true" maxLen="10">
|
|
<u-button custom-style="border-radius: 16rpx;" type="primary" plain="true">
|
|
<u-row justify="center">
|
|
<view>
|
|
<u-icon name="plus" size="30" color="#B12D29"></u-icon>
|
|
</view>
|
|
<text class="pl-10">增加附件</text>
|
|
</u-row>
|
|
</u-button>
|
|
</tpx-upload>
|
|
</view>
|
|
|
|
|
|
</template>
|
|
<template v-slot:footer>
|
|
<view class="blcok-white-noradius">
|
|
<u-button @click="handleSubmit()" type="primary" size="large" shape="circle"
|
|
custom-style="height:80rpx;font-size: 30rpx;"
|
|
>确定</u-button>
|
|
</view>
|
|
</template>
|
|
</tpx-layout>
|
|
|
|
<buns-goodinfo-sheet v-model:show="goodinfoModal.show" v-model:value="goodinfoModal.value"></buns-goodinfo-sheet>
|
|
</template>
|
|
|
|
<script>
|
|
import getCdnUrl from "@/common/getCdnUrl"
|
|
|
|
import {
|
|
goto, setClipboardData
|
|
} from "@/common/untool"
|
|
export default {
|
|
props: {
|
|
// hasLeftWin: {
|
|
// type: Boolean
|
|
// }
|
|
},
|
|
computed: {
|
|
|
|
},
|
|
data() {
|
|
return {
|
|
baseFormData: {
|
|
ydList: [
|
|
{}
|
|
],
|
|
fujianFiles: []
|
|
},
|
|
goodinfoModal:{
|
|
show: false,
|
|
value: {}
|
|
}
|
|
}
|
|
},
|
|
onShareAppMessage() {
|
|
return {
|
|
// title: '',
|
|
// path: 'TODO'
|
|
}
|
|
},
|
|
onLoad() {
|
|
this.initData();
|
|
},
|
|
onUnload() {
|
|
|
|
},
|
|
methods: {
|
|
getCdnUrl,
|
|
setClipboardData,
|
|
goto,
|
|
initData() {
|
|
// uni.showLoading({
|
|
// title: '加载中'
|
|
// });
|
|
},
|
|
handleDelGood() {
|
|
|
|
},
|
|
handleEditGood(item = {}) {
|
|
this.goodinfoModal.show = true
|
|
this.goodinfoModal.value = item
|
|
},
|
|
handleAddFuJian(){
|
|
|
|
},
|
|
handleDelFuJian() {
|
|
|
|
},
|
|
handleSubmit() {
|
|
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
@import '@/common/uni-nvue.scss';
|
|
|
|
page {
|
|
background-color: #F6F6F6;
|
|
height: 100% !important;
|
|
}
|
|
</style>
|
|
<style scoped lang="scss">
|
|
.dt-block {
|
|
margin-top: 30rpx;
|
|
padding: 30rpx;
|
|
background-color: #FFF;
|
|
position: relative;
|
|
}
|
|
.dt-tle {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
.t1 {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
}
|
|
.t2{
|
|
font-size: 30rpx;
|
|
}
|
|
}
|
|
.dt-item {
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin-bottom: 20rpx;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.yditem{
|
|
padding: 20rpx 20rpx;
|
|
background-color: #F6F6F6;
|
|
border-radius: 10rpx;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.ydi-lab{
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.edm-input-item{
|
|
padding: 20rpx 0;
|
|
border-bottom: 2rpx solid #F6F6F6;
|
|
}
|
|
</style> |