|
@@ -108,6 +108,13 @@
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="type_price" v-show="this.accountType == 1">
|
|
|
+ <div>
|
|
|
+ <p>邮购类型</p>
|
|
|
+ <p v-if="addresstype == ''" @click="addressshow = true">请选择</p>
|
|
|
+ <p v-else @click="addressshow = true">{{ addresstype }}</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 备注 -->
|
|
@@ -148,7 +155,6 @@
|
|
|
<van-picker title="邮购类型" show-toolbar :columns="addlist" @confirm="onConfirm8"
|
|
|
@cancel="addressshow = false" />
|
|
|
</van-popup>
|
|
|
-
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -175,12 +181,13 @@ export default {
|
|
|
priceshow: false,//付款类型弹窗显示
|
|
|
pricelist: ["到付", "自费(个人件)", "月结(公司件)",],
|
|
|
index: "",
|
|
|
- check: false,//电子运单契约条款
|
|
|
+ title: "",
|
|
|
+ check: false,//契约条款
|
|
|
bz: '',//快递备注
|
|
|
showPicker: false,//快递
|
|
|
- expressInfoShow: "",//快递公司展示
|
|
|
+ expressInfoShow: "顺丰快递",//快递公司展示
|
|
|
expressPhone: "",//快递公司电话传值
|
|
|
- expressInfo: "",//快递公司传值
|
|
|
+ expressInfo: "1",//快递公司传值
|
|
|
columns: [],//快递公司列表
|
|
|
columns2: ["个人件", "公司件"],
|
|
|
// transmitMessageVlaue: {},
|
|
@@ -189,6 +196,7 @@ export default {
|
|
|
goodOrderNo: '',//商品订单编号
|
|
|
waybillNo: '',//运单号
|
|
|
wayShow: true,
|
|
|
+ accountType: '',//账号类型
|
|
|
showPicker9: false,
|
|
|
costCenterList: [],//成本中心列表
|
|
|
costCenterInfoShow: "",
|
|
@@ -201,11 +209,12 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created: function () {
|
|
|
- this.getLogisticsList()
|
|
|
-
|
|
|
+ this.accountType = localStorage.getItem("accountType")
|
|
|
+ this.geLogisticsListAPIList()
|
|
|
},
|
|
|
async mounted() {
|
|
|
this.SendInfoValue = await getSendInfo({ userId: localStorage.getItem("userId") })
|
|
|
+ console.log(this.SendInfoValue, 'this.SendInfoValue')
|
|
|
},
|
|
|
methods: {
|
|
|
// 运单号扫描
|
|
@@ -284,6 +293,16 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ // 快递公司
|
|
|
+ async geLogisticsListAPIList() {
|
|
|
+ const res = await geLogisticsList({ page: 1, limit: 30 })
|
|
|
+ this.columns = res.data.map((item) => {
|
|
|
+ return {
|
|
|
+ id: item.id,
|
|
|
+ expressCompany: item.expressCompany
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
// 选择快递公司
|
|
|
onConfirm(e) {
|
|
|
console.log(e, '=============')
|
|
@@ -321,11 +340,6 @@ export default {
|
|
|
this.pricetype = e
|
|
|
this.priceshow = false
|
|
|
},
|
|
|
- // 填写地址确定
|
|
|
- onConfirm3(e) {//确定
|
|
|
- this.city = e[0].name + ' ' + e[1].name + ' ' + e[2].name
|
|
|
- this.areashow = false
|
|
|
- },
|
|
|
// 填写地址类型确定
|
|
|
onConfirm8(e) {//确定
|
|
|
this.addresstype = e
|