| | |
| | | "quickapp" : {}, |
| | | /* 快应用特有相关 */ |
| | | "mp-weixin" : { |
| | | "appid" : "wx1441324401626290", |
| | | "appid" : "wx6d0ecc4e18710458", |
| | | "setting" : { |
| | | "urlCheck" : false, |
| | | "es6" : true, |
| | |
| | | </view>
|
| | |
|
| | | <view class="flex flex-wrap-normal" v-if="true">
|
| | | <view :style="{'margin-top': '40rpx','margin-right': '12rpx','font-size':'24rpx'}"
|
| | | <view :style="{'margin-top': '24rpx','margin-right': '12rpx','font-size':'24rpx'}"
|
| | | @click="protocal=!protocal" class="component-radio" :class="[protocal?'cur':'']">
|
| | |
|
| | | </view>
|
| | |
| | | tmp.$message.showLoading() |
| | | const { |
| | | code |
| | | } = await tmp.$http.request('get', '/api/customer/order/receive/confirm', { |
| | | } = await tmp.$http.request('get', |
| | | '/api/customer/order/receive/confirm', { |
| | | params: { |
| | | id: tmp.id, |
| | | } |
| | |
| | | }) |
| | | this.$message.hideLoading() |
| | | if (code == 0) { |
| | | this.$message.showToast('提交成功') |
| | | this.showSales = false |
| | | this.$forceUpdate() |
| | | setTimeout(() => { |
| | | await this.$message.showToast('提交成功') |
| | | uni.navigateBack() |
| | | }, 1200) |
| | | // this.showSales = false |
| | | // this.$forceUpdate() |
| | | // setTimeout(() => { |
| | | // uni.navigateBack() |
| | | // }, 1200) |
| | | } |
| | | }, |
| | | }, |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="flower-info m-b-20 m-t-12 br-4" v-for="(item,index) of list" :key="index"> |
| | | <view v-for="(item,index) of list" :key="index"> |
| | | <view class="flower-info m-b-20 m-t-12 br-4" v-if="!showSales||showSales&&(submitForm.orderItemId == item.id)"> |
| | | <view class="supplier-name "> |
| | | <image class="icon-dp" src="/static/common/icon-dp.png"></image> |
| | | {{ item.supplierName || ''}} |
| | | </view> |
| | | <!-- submitForm.orderItemId:{{submitForm.orderItemId}} --> |
| | | <!-- itemId:{{item.id}} --> |
| | | <view class="flex m-t-12"> |
| | | <radio v-if="showSales" disabled :checked="submitForm.orderItemId == item.id"></radio> |
| | | <!-- <radio v-if="showSales" disabled :checked="submitForm.orderItemId == item.id"></radio> --> |
| | | <!-- @click="changeSalesOrderItem(item)" --> |
| | | <!-- :checked="submitForm.orderItems.indexOf(item.id)>=0" --> |
| | | |
| | |
| | | <view class="each-list"> |
| | | <view class="each-item"> |
| | | <view class="label">货位号</view> |
| | | <view class="value">{{ item.warehouseLocationCode || dto.warehouseLocationCode || '-' }} |
| | | <view class="value"> |
| | | {{ item.warehouseLocationCode || dto.warehouseLocationCode || '-' }} |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | </view> |
| | | |
| | | </view> |
| | | </view> |
| | | <view class="info-container bg-white br-4" v-if="!showSales"> |
| | | <view class="form-item"> |
| | | <view class="label">订单编号:</view> |
| | |
| | | url: '/pages/order/order-detail?id=' + item.id |
| | | }) |
| | | }, |
| | | toDetailSale(dto, flower) { |
| | | toDetailSaleInfo(dto, flower) { |
| | | console.log('flower', dto, flower) |
| | | uni.navigateTo({ |
| | | url: '/pages/order/order-detail?showsales=1&id=' + dto.id + '&flowerId=' + flower.id |
| | | }) |
| | |
| | | tmp.$message.showLoading() |
| | | const { |
| | | code |
| | | } = await tmp.$http.request('get', '/api/customer/order/receive/confirm', { |
| | | } = await tmp.$http.request('get', |
| | | '/api/customer/order/receive/confirm', { |
| | | params: { |
| | | id: item.id, |
| | | } |
| | |
| | | </view> |
| | | <view class="value">{{ dto.paymentTime || '-' }}</view> |
| | | </view> |
| | | <view class="flower-info m-b-5 m-t-8 br-4" v-for="(item,index) of dto.items" :key="index"> |
| | | <view class="line-gray"></view> |
| | | <view class="flower-info m-b-5 m-t-8 br-4" v-for="(item,j) of dto.items" :key="j"> |
| | | <!-- <view class="line-gray"></view> --> |
| | | |
| | | <view class="supplier-name "> |
| | | <image class="icon-dp br-4" src="/static/common/icon-dp.png"></image> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="line-gray"></view> |
| | | <view class="flex buttons"> |
| | | <view class="button button-1 m-l-a m-r-15" @click="toDetailSale(dto,item)" |
| | | <view class="line-gray" v-if="dto.statusBackend!=='COMPLETED'&&dto.statusBackend!=='SEND'&&dto.statusBackend=='RECEIVE'"></view> |
| | | <!-- dtoId:{{dto.id}} --> |
| | | <!-- flowerId:{{item.id}} --> |
| | | <view class="flex buttons" v-if="dto.statusBackend!=='COMPLETED'&&dto.statusBackend!=='SEND'&&dto.statusBackend=='RECEIVE'"> |
| | | <view class="button button-1 m-l-a m-r-0" @click="toDetailSaleInfo(dto,item)" |
| | | v-if="dto.statusBackend === 'RECEIVE'"> 申请售后 |
| | | </view> |
| | | </view> |
| | |
| | | 'follow': 0, |
| | | 'delivery': 0, |
| | | 'order': 0, |
| | | 'shopnum': 0 |
| | | 'shopnum': 0, |
| | | }, |
| | | defaultaddress: {} |
| | | }, |
| | |
| | | target_levels: [], |
| | | }; |
| | | }, |
| | | async onShow() { |
| | | if (this.sign['delivery']) { |
| | | await this.$store.dispatch('sign_clear', 'delivery'); |
| | | this.refreshList() |
| | | } |
| | | }, |
| | | async onLoad(options) { |
| | | this.id = options.id || '' |
| | | |
| | |
| | | this.$message.hideLoading() |
| | | if (code === 0) { |
| | | this.$refs.popup_form.close() |
| | | await this.$store.dispatch('sign_add', 'delivery') |
| | | |
| | | await this.$message.showToast('操作成功') |
| | | this.init() |
| | | |