|
|
@@ -100,10 +100,11 @@
|
|
|
|
|
|
<uni-popup ref="morePopup" background-color="#fff" type="center" :animation="true" class="class-popup-style">
|
|
|
<view style="padding:30upx 40upx;width:50vw;">
|
|
|
- <view style="text-align: center;"><button class="admin-button-com" style="margin:0 auto 30upx auto;" @click="addExpress(item)">顺丰下单</button></view>
|
|
|
- <view style="text-align: center;"><button class="admin-button-com" style="margin:0 auto 30upx auto;" @click="cancelExpress(item)">取消顺丰订单</button></view>
|
|
|
- <view style="text-align: center;"><button class="admin-button-com" style="margin:0 auto 30upx auto;" @click="fillNoFh(item)">填单发货</button></view>
|
|
|
- <view style="text-align: center;"><button class="admin-button-com default" @click="closeMore" style="margin:10upx auto 0 auto;">取消</button></view>
|
|
|
+ <view style="text-align: center;"><button class="admin-button-com" style="margin:0 auto 30upx auto;width:190upx;" @click="addExpress(item)">顺丰下单</button></view>
|
|
|
+ <view style="text-align: center;"><button class="admin-button-com" style="margin:0 auto 30upx auto;width:190upx;" @click="cancelExpress(item)">取消顺丰订单</button></view>
|
|
|
+ <view style="text-align: center;"><button class="admin-button-com" style="margin:0 auto 30upx auto;width:190upx;" @click="fillNoFh(item)">填单发货</button></view>
|
|
|
+ <view style="text-align: center;"><button class="admin-button-com" style="margin:0 auto 30upx auto;width:190upx;" @click="sim(item)">模拟</button></view>
|
|
|
+ <view style="text-align: center;"><button class="admin-button-com default" @click="closeMore" style="margin:10upx auto 0 auto;width:190upx;">取消</button></view>
|
|
|
</view>
|
|
|
</uni-popup>
|
|
|
|
|
|
@@ -161,7 +162,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import { getUserDet } from "@/api/member";
|
|
|
-import { createExpressOrder,cancelExpressOrder } from "@/api/express";
|
|
|
+import { createExpressOrder,cancelExpressOrder,testUpdate } from "@/api/express";
|
|
|
export default {
|
|
|
name: "OrderItem",
|
|
|
components: {
|
|
|
@@ -228,6 +229,9 @@ export default {
|
|
|
closeMore() {
|
|
|
this.$refs.morePopup.close();
|
|
|
},
|
|
|
+ sim(item){
|
|
|
+ //testUpdate({id:item.id}).then(res=>{ })
|
|
|
+ },
|
|
|
addExpress(item) {
|
|
|
this.closeMore()
|
|
|
getUserDet({id:item.customId}).then(res=>{
|