uu
This commit is contained in:
parent
d3655cd746
commit
dfdf8ccaf3
@ -187,3 +187,13 @@ export const confirmOrder = (data = {})=> {
|
|||||||
export const cancelOrder = (data = {})=> {
|
export const cancelOrder = (data = {})=> {
|
||||||
return coreRequest(url.cancelOrder, data, {})
|
return coreRequest(url.cancelOrder, data, {})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 进仓登记
|
||||||
|
export const registerWarehouseInInfo = (data = {})=> {
|
||||||
|
return coreRequest(url.registerWarehouseInInfo, data, {})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取新进仓单号
|
||||||
|
export const getWareHouseInNo = (data = {})=> {
|
||||||
|
return coreRequest(url.getWareHouseInNo, data, {})
|
||||||
|
}
|
||||||
|
|||||||
@ -59,5 +59,7 @@ export default {
|
|||||||
|
|
||||||
confirmOrder: `/emis/emisWaybill/confirmOrder`, // 确认接单
|
confirmOrder: `/emis/emisWaybill/confirmOrder`, // 确认接单
|
||||||
cancelOrder: `/emis/emisWaybill/cancelOrder`, // 取消订单
|
cancelOrder: `/emis/emisWaybill/cancelOrder`, // 取消订单
|
||||||
|
registerWarehouseInInfo: `/emis/emisWarehouseInBatch/registerWarehouseInInfo`, // 进仓登记
|
||||||
|
getWareHouseInNo: `/emis/common/getWareHouseInNo`, // 获取新进仓单号
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -81,13 +81,7 @@
|
|||||||
"navigationBarTitleText": ""
|
"navigationBarTitleText": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"path": "pages/post/post",
|
|
||||||
"style": {
|
|
||||||
"navigationBarTitleText": "寄件信息"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"path": "pages/post/detail",
|
"path": "pages/post/detail",
|
||||||
"style": {
|
"style": {
|
||||||
|
|||||||
@ -1,97 +1,95 @@
|
|||||||
<template>
|
<template>
|
||||||
<tpx-layout>
|
<tpx-page>
|
||||||
<template v-slot:body>
|
<tpx-layout>
|
||||||
<view class="com-jianju pos-rlt pb-30" style="padding-top: 2rpx;">
|
<template v-slot:body>
|
||||||
<view class="blcok-white">
|
<view class="com-jianju pos-rlt pb-30" style="padding-top: 2rpx;">
|
||||||
<u-row justify="between">
|
<view class="blcok-white">
|
||||||
<view style="flex:1;">
|
<u-row justify="between">
|
||||||
<tpx-scan-input v-model:value="submitParam.yundanhao"></tpx-scan-input>
|
<view style="flex:1;">
|
||||||
</view>
|
<tpx-scan-input v-model:value="submitParam.yundanhao"></tpx-scan-input>
|
||||||
<view class="pl-10">
|
</view>
|
||||||
<u-button custom-style="height: 74rpx;">确定</u-button>
|
<view class="pl-10">
|
||||||
</view>
|
<u-button custom-style="height: 74rpx;">确定</u-button>
|
||||||
|
</view>
|
||||||
</u-row>
|
|
||||||
</view>
|
</u-row>
|
||||||
|
</view>
|
||||||
<view class="mt-30" @click="handleDialogClick(orderDetailModal)">
|
|
||||||
<u-row justify="space-between">
|
<view class="mt-30" @click="goto(``)">
|
||||||
<view class="com-section">进仓单号:TWO291929</view>
|
<u-row justify="space-between">
|
||||||
<view>
|
<view class="com-section">进仓单号:TWO291929</view>
|
||||||
<button size="mini">订单详情</button>
|
<view>
|
||||||
</view>
|
<button size="mini">订单详情</button>
|
||||||
</u-row>
|
</view>
|
||||||
</view>
|
</u-row>
|
||||||
|
</view>
|
||||||
<view class="blcok-white">
|
|
||||||
<u-row justify="between">
|
<view class="blcok-white">
|
||||||
<view class="font-30 font-weight">缅甸</view>
|
<u-row justify="between">
|
||||||
<view class="font-30 font-weight">缅甸特快</view>
|
<view class="font-30 font-weight">缅甸</view>
|
||||||
</u-row>
|
<view class="font-30 font-weight">缅甸特快</view>
|
||||||
<u-row custom-style="margin-top:20rpx;" justify="between">
|
</u-row>
|
||||||
<view >
|
<u-row custom-style="margin-top:20rpx;" justify="between">
|
||||||
<text class="clr-sub">寄件人:</text>
|
<view >
|
||||||
<text>李先生</text>
|
<text class="clr-sub">寄件人:</text>
|
||||||
</view>
|
<text>李先生</text>
|
||||||
<view >
|
</view>
|
||||||
<text class="clr-sub">手机号:</text>
|
<view >
|
||||||
<text>18627068352</text>
|
<text class="clr-sub">手机号:</text>
|
||||||
</view>
|
<text>18627068352</text>
|
||||||
</u-row>
|
</view>
|
||||||
</view>
|
</u-row>
|
||||||
|
|
||||||
|
|
||||||
<view class="com-section mt-30">托寄货物描述</view>
|
|
||||||
<view class="blcok-white">
|
|
||||||
<tpx-input placeholder="进仓后缀" :isWhite="true"></tpx-input>
|
|
||||||
<view class="mt-30">
|
|
||||||
<bpe-gooditem-edit-tmp :value="submitParam"></bpe-gooditem-edit-tmp>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="blcok-white">
|
|
||||||
<bpe-goodphoto-tmp title="货物照片" :value="submitParam" filedName="phName"></bpe-goodphoto-tmp>
|
<view class="com-section mt-30">托寄货物描述</view>
|
||||||
</view>
|
<view class="blcok-white">
|
||||||
|
<tpx-input placeholder="进仓后缀" :isWhite="true"></tpx-input>
|
||||||
<view class="blcok-white">
|
<view class="mt-30">
|
||||||
<bpe-good-kuaidi-tmp :value="submitParam"></bpe-good-kuaidi-tmp>
|
<bpe-gooditem-edit-tmp :value="submitParam"></bpe-gooditem-edit-tmp>
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="blcok-white">
|
|
||||||
<bpe-goodsize-tmp :value="submitParam"></bpe-goodsize-tmp>
|
|
||||||
<u-row justify="space-between" align="top" custom-style="margin-top:20rpx;">
|
|
||||||
<view >备注</view>
|
|
||||||
<view style="width: 70%;">
|
|
||||||
<u-textarea v-model="submitParam.otherDes" border="surround" height="120" placeholder="备注"
|
|
||||||
maxlength="50" count></u-textarea>
|
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="blcok-white">
|
||||||
|
<bpe-goodphoto-tmp title="货物照片" :value="submitParam" filedName="phName"></bpe-goodphoto-tmp>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="blcok-white">
|
||||||
|
<bpe-good-kuaidi-tmp :value="submitParam"></bpe-good-kuaidi-tmp>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="blcok-white">
|
||||||
|
<bpe-goodsize-tmp :value="submitParam"></bpe-goodsize-tmp>
|
||||||
|
<u-row justify="space-between" align="top" custom-style="margin-top:20rpx;">
|
||||||
|
<view >备注</view>
|
||||||
|
<view style="width: 70%;">
|
||||||
|
<u-textarea v-model="submitParam.otherDes" border="surround" height="120" placeholder="备注"
|
||||||
|
maxlength="50" count></u-textarea>
|
||||||
|
</view>
|
||||||
|
</u-row>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<template v-slot:footer>
|
||||||
|
<view class="pos-rlt blcok-white" style="border-radius: 0;margin-top: 0;">
|
||||||
|
<u-row>
|
||||||
|
<u-button size="large" shape="circle" @click="goto(`warehousing/detail`)"
|
||||||
|
custom-style="width: 260rpx;height:80rpx;font-size: 30rpx;" :plain="true" type="primary">进仓登记</u-button>
|
||||||
|
|
||||||
|
<u-button size="large" shape="circle"
|
||||||
|
custom-style="width: 400rpx;height:80rpx;font-size: 30rpx;" type="primary">货齐开单</u-button>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
|
</template>
|
||||||
</view>
|
</tpx-layout>
|
||||||
</template>
|
|
||||||
<template v-slot:footer>
|
</tpx-page>
|
||||||
<view class="pos-rlt blcok-white" style="border-radius: 0;margin-top: 0;">
|
|
||||||
<u-row>
|
|
||||||
<u-button size="large" shape="circle" @click="goto(`warehousing/detail`)"
|
|
||||||
custom-style="width: 260rpx;height:80rpx;font-size: 30rpx;" :plain="true" type="primary">进仓登记</u-button>
|
|
||||||
|
|
||||||
<u-button size="large" shape="circle"
|
|
||||||
custom-style="width: 400rpx;height:80rpx;font-size: 30rpx;" type="primary">货齐开单</u-button>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
</tpx-layout>
|
|
||||||
|
|
||||||
<tpx-dialog v-model:show="orderDetailModal.show" title="订单详情" contentStyle="padding:0;">
|
|
||||||
<bo-detail-tmp v-model:value="submitParam"></bo-detail-tmp>
|
|
||||||
</tpx-dialog>
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import getCdnUrl from "@/common/getCdnUrl"
|
|
||||||
import { goto } from "@/common/untool"
|
|
||||||
import BpeGooditemEditTmp from "@/components/buns-post-edit-templates/bpe-gooditem-edit-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 BpeGoodphotoTmp from "@/components/buns-post-edit-templates/bpe-goodphoto-tmp"
|
||||||
import BoDetailTmp from "@/components/buns-order-templates/bo-detail-tmp"
|
import BoDetailTmp from "@/components/buns-order-templates/bo-detail-tmp"
|
||||||
@ -101,22 +99,13 @@
|
|||||||
export default {
|
export default {
|
||||||
components: { BpeGooditemEditTmp, BpeGoodphotoTmp, BoDetailTmp, BpeGoodKuaidiTmp, BpeGoodsizeTmp },
|
components: { BpeGooditemEditTmp, BpeGoodphotoTmp, BoDetailTmp, BpeGoodKuaidiTmp, BpeGoodsizeTmp },
|
||||||
props: {
|
props: {
|
||||||
// hasLeftWin: {
|
|
||||||
// type: Boolean
|
|
||||||
// }
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
kehuList: [{title: '李先生', val: '11'}],
|
|
||||||
tipsList: [
|
|
||||||
|
|
||||||
],
|
|
||||||
orderDetailModal: {
|
|
||||||
show: false
|
|
||||||
},
|
|
||||||
submitParam: {
|
submitParam: {
|
||||||
yundanhao: '',
|
yundanhao: '',
|
||||||
stockRoomId: '',
|
stockRoomId: '',
|
||||||
@ -145,20 +134,13 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getCdnUrl,
|
|
||||||
goto,
|
|
||||||
initData() {
|
initData() {
|
||||||
// uni.showLoading({
|
|
||||||
// title: '加载中'
|
|
||||||
// });
|
|
||||||
},
|
|
||||||
|
|
||||||
handleAgree() {
|
|
||||||
this.agreePrivateRule = !this.agreePrivateRule
|
|
||||||
},
|
},
|
||||||
handleDialogClick(curModal){
|
handleDialogClick(curModal){
|
||||||
curModal.show = true
|
curModal.show = true
|
||||||
},
|
},
|
||||||
|
// registerWarehouseInInfo getWareHouseInNo
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,311 +0,0 @@
|
|||||||
<template>
|
|
||||||
<tpx-layout>
|
|
||||||
<template v-slot:body>
|
|
||||||
<view class="com-jianju pos-rlt pb-30" style="padding-top: 2rpx;">
|
|
||||||
<view class="blcok-white">
|
|
||||||
<u-row justify="between">
|
|
||||||
<view style="width: 130rpx;">运单号</view>
|
|
||||||
<view style="flex:1;">
|
|
||||||
<tpx-scan-input v-model:value="submitParam.yundanhao"></tpx-scan-input>
|
|
||||||
</view>
|
|
||||||
<view class="pl-10">
|
|
||||||
<u-checkbox-group placement="column" @change="handleAgree()">
|
|
||||||
<u-checkbox size="26" labelSize="26" :checked="agreePrivateRule" label="电子主单"
|
|
||||||
label-color=":#999" activeColor="#B12D29"
|
|
||||||
custom-style="margin-bottom: 10rpx;"></u-checkbox>
|
|
||||||
</u-checkbox-group>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</u-row>
|
|
||||||
<u-row justify="between" custom-style="margin-top:20rpx;">
|
|
||||||
<view style="width: 130rpx;">选择客户</view>
|
|
||||||
<view style="flex:1;">
|
|
||||||
<u-input placeholder="请输入客户手机号" font-size="26"
|
|
||||||
custom-style="border-radius: 10rpx;padding: 8rpx 12rpx;"
|
|
||||||
>
|
|
||||||
</u-input>
|
|
||||||
</view>
|
|
||||||
<view class="pl-10">
|
|
||||||
<u-button custom-style="width: 140rpx;height:56rpx;border-radius: 10rpx;font-size: 28rpx;">确定</u-button>
|
|
||||||
</view>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
<view class="blcok-white">
|
|
||||||
<bpe-addressinfo-tmp v-model:value="submitParam"></bpe-addressinfo-tmp>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="blcok-white">
|
|
||||||
<view style="width: 80%;">
|
|
||||||
<tpx-tabs :list="sendTypeList" v-model:value="submitParam.type" @tabchange="(val)=> { }">
|
|
||||||
</tpx-tabs>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view>
|
|
||||||
<view @click="handleDialogClick(countryModal)" class="pt-30 pb-30" style="border-bottom: 2rpx solid #F6F6F6;" >
|
|
||||||
<u-row>
|
|
||||||
<view>
|
|
||||||
<u-text text="目的国" size="28" :bold="true"></u-text>
|
|
||||||
</view>
|
|
||||||
<u-row custom-style="flex: 1;" 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>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view @click="handleDialogClick(wayModal)" class="pt-30 pb-30" style="border-bottom: 2rpx solid #F6F6F6;;">
|
|
||||||
<u-row>
|
|
||||||
<view>
|
|
||||||
<u-text text="选择线路" size="28" :bold="true"></u-text>
|
|
||||||
</view>
|
|
||||||
<u-row custom-style="flex: 1;" justify="end" align="center">
|
|
||||||
<u-text align="right" margin="0 12rpx 0 0" size="26" color="#999"
|
|
||||||
text="请选择"></u-text>
|
|
||||||
<u-icon size="26" name="arrow-right" color="#333"></u-icon>
|
|
||||||
</u-row>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view @click="handleChooseGoods" class="pt-30 pb-30" style="border-bottom: 2rpx solid #F6F6F6;;">
|
|
||||||
<u-row>
|
|
||||||
<view>
|
|
||||||
<u-text text="货物信息(必填)" size="28" :bold="true"></u-text>
|
|
||||||
</view>
|
|
||||||
<u-row custom-style="flex: 1;" justify="end" align="center">
|
|
||||||
<u-text align="right" margin="0 12rpx 0 0" size="26" color="#999"
|
|
||||||
text="填写物品信息"></u-text>
|
|
||||||
<u-icon size="26" name="arrow-right" color="#333"></u-icon>
|
|
||||||
</u-row>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view @click="handleDialogClick(goodChooseModal)" class="pt-30 pb-30" style="border-bottom: 2rpx solid #F6F6F6;;"
|
|
||||||
v-if="submitParam.type != sendTypeEnum.container"
|
|
||||||
>
|
|
||||||
<u-row>
|
|
||||||
<view>
|
|
||||||
<u-text text="重量/体积" size="28" :bold="true"></u-text>
|
|
||||||
</view>
|
|
||||||
<u-row custom-style="flex: 1;" justify="end" align="center">
|
|
||||||
<u-text align="right" margin="0 12rpx 0 0" size="26" color="#999"
|
|
||||||
text="填写重量体积"></u-text>
|
|
||||||
<u-icon size="26" name="arrow-right" color="#333"></u-icon>
|
|
||||||
</u-row>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view @click="handleDialogClick(stockRoomModal)" class="pt-30 pb-30" style="border-bottom: 2rpx solid #F6F6F6;;"
|
|
||||||
v-if="submitParam.type != sendTypeEnum.home"
|
|
||||||
>
|
|
||||||
<u-row>
|
|
||||||
<view>
|
|
||||||
<u-text text="选择仓库" size="28" :bold="true"></u-text>
|
|
||||||
</view>
|
|
||||||
<u-row custom-style="flex: 1;" justify="end" align="center">
|
|
||||||
<u-text align="right" margin="0 12rpx 0 0" size="26" color="#999"
|
|
||||||
text="请选择"></u-text>
|
|
||||||
<u-icon size="26" name="arrow-right" color="#333"></u-icon>
|
|
||||||
</u-row>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view @click="handleDialogClick(revtimeModal)" class="pt-30 pb-30" style="border-bottom: 2rpx solid #F6F6F6;;">
|
|
||||||
<u-row>
|
|
||||||
<view>
|
|
||||||
<u-text text="期望上门时间 " size="28" :bold="true"></u-text>
|
|
||||||
</view>
|
|
||||||
<u-row custom-style="flex: 1;" justify="end" align="center">
|
|
||||||
<u-text align="right" margin="0 12rpx 0 0" size="26" text="1小时内"></u-text>
|
|
||||||
<u-icon size="26" name="arrow-right" color="#333"></u-icon>
|
|
||||||
</u-row>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view @click="handleDialogClick(paytypeModal)" style="padding: 30rpx 0;border-bottom: 2rpx solid #F6F6F6;;">
|
|
||||||
<u-row>
|
|
||||||
<view>
|
|
||||||
<u-text text="付款方式" size="28" :bold="true"></u-text>
|
|
||||||
</view>
|
|
||||||
<u-row custom-style="flex: 1;" justify="end" align="center">
|
|
||||||
<u-text align="right" margin="0 12rpx 0 0" size="26" text="1现金/月结"></u-text>
|
|
||||||
<u-icon size="26" name="arrow-right" color="#333"></u-icon>
|
|
||||||
</u-row>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="com-section mt-30">产品类型</view>
|
|
||||||
<view class="blcok-white yunf-list" style="padding-bottom: 2rpx;">
|
|
||||||
|
|
||||||
<tpx-checkitems :list="proList" v-model:value="submitParam.prodId" v-slot="curPro" min-checked="1" type="single">
|
|
||||||
<view slot :class="`yunf-item ${curPro.checked?'active':''}`">
|
|
||||||
<u-row justify="between">
|
|
||||||
<u-col span="8">
|
|
||||||
<u-text :text="`柬埔寨-国际特快`" size="28" :bold="true"></u-text>
|
|
||||||
<u-text margin="6rpx" text="1-2工作日 ¥80元起" size="26" color="#999"></u-text>
|
|
||||||
</u-col>
|
|
||||||
<u-col span="4">
|
|
||||||
<u-text align="right" text="运费预估" size="26" color="#999"></u-text>
|
|
||||||
<u-text align="right" margin="6rpx" text="32" size="26" :bold="true" mode="price"
|
|
||||||
color="#B12D29"></u-text>
|
|
||||||
</u-col>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
</tpx-checkitems>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="com-section mt-30">给快递员捎话</view>
|
|
||||||
<view class="blcok-white">
|
|
||||||
<tpx-tags :list="tipsList" v-model:value="submitParam.tips"></tpx-tags>
|
|
||||||
<u-textarea v-model="submitParam.otherDes" border="surround" height="160" placeholder="其他说明"
|
|
||||||
maxlength="50" count></u-textarea>
|
|
||||||
<u-line margin="20rpx 0 10rpx 0"></u-line>
|
|
||||||
<u-row justify="between">
|
|
||||||
<u-text text="您的专属快递员" size="26" color="#999"></u-text>
|
|
||||||
<u-row>
|
|
||||||
<u-text text="李晓" size="28" :bold="true" margin="0 30rpx 0 0"></u-text>
|
|
||||||
<view>
|
|
||||||
<u-avatar size="50" :src="''"></u-avatar>
|
|
||||||
</view>
|
|
||||||
</u-row>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
<template v-slot:footer>
|
|
||||||
<view class="pos-rlt blcok-white" style="border-radius: 0;margin-top: 0;">
|
|
||||||
<u-row>
|
|
||||||
<u-button size="large" shape="circle"
|
|
||||||
custom-style="width: 500rpx;height:80rpx;font-size: 30rpx;" type="primary">提交订单</u-button>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
</tpx-layout>
|
|
||||||
|
|
||||||
<buns-privacy-dialog v-model:show="privacyModal.show"> </buns-privacy-dialog>
|
|
||||||
<buns-revtime-sheet v-model:show="revtimeModal.show" v-model:value="submitParam.revtime"></buns-revtime-sheet>
|
|
||||||
<buns-edit-sheet title="填写预估重量体积" v-model:show="goodChooseModal.show" v-model:value="submitParam" v-slot="tempObject">
|
|
||||||
<bpe-goodsize-tmp :value="tempObject.value"></bpe-goodsize-tmp>
|
|
||||||
</buns-edit-sheet>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
import getCdnUrl from "@/common/getCdnUrl"
|
|
||||||
import { goto } from "@/common/untool"
|
|
||||||
import BpeAddressinfoTmp from "@/components/buns-post-edit-templates/bpe-addressinfo-tmp"
|
|
||||||
import BpeGoodsizeTmp from "@/components/buns-post-edit-templates/bpe-goodsize-tmp"
|
|
||||||
|
|
||||||
export default {
|
|
||||||
components: { BpeAddressinfoTmp, BpeGoodsizeTmp },
|
|
||||||
props: {
|
|
||||||
// hasLeftWin: {
|
|
||||||
// type: Boolean
|
|
||||||
// }
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
|
|
||||||
},
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
proList: [
|
|
||||||
{val: 1 },{ val: 2 }
|
|
||||||
],
|
|
||||||
tipsList: [
|
|
||||||
{ title: '请带纸箱', val: '请带纸箱' },
|
|
||||||
{ title: '需要爬楼', val: '需要爬楼' },
|
|
||||||
{ title: '来前电话', val: '来前电话' },
|
|
||||||
],
|
|
||||||
showCladar: false,
|
|
||||||
agreePrivateRule: false,
|
|
||||||
countryModal: {
|
|
||||||
show: false
|
|
||||||
},
|
|
||||||
wayModal: {
|
|
||||||
show: false,
|
|
||||||
},
|
|
||||||
stockRoomModal: {
|
|
||||||
show: false,
|
|
||||||
},
|
|
||||||
paytypeModal: {
|
|
||||||
show: false,
|
|
||||||
},
|
|
||||||
privacyModal: {
|
|
||||||
show: false,
|
|
||||||
},
|
|
||||||
revtimeModal: {
|
|
||||||
show: false,
|
|
||||||
},
|
|
||||||
goodChooseModal: {
|
|
||||||
show: false,
|
|
||||||
},
|
|
||||||
submitParam: {
|
|
||||||
yundanhao: '',
|
|
||||||
stockRoomId: '',
|
|
||||||
countryId: '',
|
|
||||||
wayId: '',
|
|
||||||
type: '',
|
|
||||||
paytype: '',
|
|
||||||
otherDes: '',
|
|
||||||
prodId: 1,
|
|
||||||
tips: [],
|
|
||||||
revtime: ''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onShareAppMessage() {
|
|
||||||
return {
|
|
||||||
// title: '',
|
|
||||||
// path: 'TODO'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
onLoad() {
|
|
||||||
this.initData();
|
|
||||||
},
|
|
||||||
onUnload() {
|
|
||||||
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
getCdnUrl,
|
|
||||||
goto,
|
|
||||||
initData() {
|
|
||||||
// uni.showLoading({
|
|
||||||
// title: '加载中'
|
|
||||||
// });
|
|
||||||
},
|
|
||||||
|
|
||||||
handleAgree() {
|
|
||||||
this.agreePrivateRule = !this.agreePrivateRule
|
|
||||||
},
|
|
||||||
handleDialogClick(curModal){
|
|
||||||
curModal.show = true
|
|
||||||
},
|
|
||||||
handleChooseGoods(){
|
|
||||||
goto(`goods/edit?type=choose`)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
@import '@/common/uni-nvue.scss';
|
|
||||||
|
|
||||||
page {
|
|
||||||
background-color: #F6F6F6;
|
|
||||||
height: 100% !important;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<style scoped lang="scss">
|
|
||||||
.yunf-item {
|
|
||||||
margin-bottom: 20rpx;
|
|
||||||
padding: 30rpx;
|
|
||||||
background: #F6F6F6;
|
|
||||||
border-radius: 20rpx;
|
|
||||||
border: 2rpx solid transparent;
|
|
||||||
&.active {
|
|
||||||
border-color: $uni-color-primary;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
Loading…
Reference in New Issue
Block a user