Compare commits
12 Commits
a60f61c300
...
xbx
| Author | SHA1 | Date | |
|---|---|---|---|
|
9f5498ac7c
|
|||
|
c85f1aeead
|
|||
|
00670f4501
|
|||
| db20e52e48 | |||
| d5cf7ae2fb | |||
| 7644def64f | |||
|
2add59f416
|
|||
| 689b6a03aa | |||
|
2f8557eb42
|
|||
| 6364be1743 | |||
| c893ece3a4 | |||
| fa9817e7bb |
@@ -49,7 +49,7 @@
|
||||
</view>
|
||||
<view class="remark">
|
||||
<view class="title">订单备注</view>
|
||||
<u-input v-model="remark[index]" type="textarea" :height="88" placeholder="选填" />
|
||||
<u-input v-model="remark[index]" type="textarea" style="margin-top:-5rpx" :height="88" placeholder="选填" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="pick-up" v-if="delivery.type == 3">
|
||||
|
||||
@@ -94,7 +94,8 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(option) {
|
||||
this.type = option.type
|
||||
this.type = 2; // 需求更改 所有订单只能全退,不可选择商品。
|
||||
// this.type = option.type
|
||||
this.oid = option.oid;
|
||||
this.getOrderInfo(option.oid);
|
||||
},
|
||||
@@ -138,17 +139,18 @@ export default {
|
||||
applyRefund() {
|
||||
|
||||
if(this.type !=2 && !this.verifyParams()) return false;
|
||||
// addrefundall 只需要订单id 和 说明
|
||||
let params = {
|
||||
order_id: this.oid,
|
||||
goods_id: this.goods.goods_id,
|
||||
refund_amount: Number(this.totalPrice),
|
||||
// goods_id: this.goods.goods_id,
|
||||
// refund_amount: Number(this.totalPrice),
|
||||
reason_info: this.refundText,
|
||||
goods_num: this.num,
|
||||
// goods_num: this.num,
|
||||
}
|
||||
console.log(params)
|
||||
if(this.type == 2){
|
||||
this.$u.api.addrefundall(params).then(res => {
|
||||
console.log(JSON.stringify(res))
|
||||
// console.log(JSON.stringify(res))
|
||||
if(res.errCode == 0) {
|
||||
this.$refs.uToast.show({
|
||||
title: res.message,
|
||||
|
||||
@@ -1211,7 +1211,6 @@
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
"enablePullDownRefresh": true,
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -312,10 +312,11 @@
|
||||
width: 690rpx;
|
||||
}
|
||||
.danmuitem{
|
||||
font-size: 26rpx;
|
||||
font-size: 30rpx;
|
||||
color: #fff;
|
||||
flex-direction: column-reverse;
|
||||
word-wrap:anywhere;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
BIN
static/cart.png
BIN
static/cart.png
Binary file not shown.
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 2.0 KiB |
BIN
static/cartback.png
Normal file
BIN
static/cartback.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
@@ -38,7 +38,7 @@ function CurrentUser(uuid, name, avatar) {
|
||||
function IMService() {
|
||||
this.im = GoEasyIM.getInstance({
|
||||
host:'hangzhou.goeasy.io',//qos=1
|
||||
appkey:'BC-453aa755c4ea48148abefc55a86df283'
|
||||
appkey:'BC-d9b5e639006b4ee2a4bc9eddc4235a6a'
|
||||
});
|
||||
this.status = false
|
||||
this.lianjie = false
|
||||
|
||||
Reference in New Issue
Block a user