|
@@ -19,7 +19,12 @@
|
|
|
<div v-if="[1, 2, 5, 9, 13].includes(type)" class="info-line">门店编号:{{type === 1 ? (v.dadaShopNo || '--') : type ===9 ? (v.dadaYzShopNo || '--') : type === 5 ? v.thirdShopId : '--'}}</div>
|
|
|
<div v-else class="info-line">商户编号:{{ v.thirdShopId || '--' }}</div>
|
|
|
<div class="balance">账户余额:{{typeof v.balance === 'number' ? '¥ ' + v.balance : '--'}}</div>
|
|
|
- <div class="refuse" v-if="type === 5 && v.bindStatus === 3">审核失败:{{v.authMsg}}</div>
|
|
|
+ <el-tooltip v-if="type === 5 && v.bindStatus === 3" effect="dark" placement="top-start">
|
|
|
+ <div slot="content">{{v.authMsg}}</div>
|
|
|
+ <div class="refuse">审核失败:
|
|
|
+ {{v.authMsg}}
|
|
|
+ </div>
|
|
|
+ </el-tooltip>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-if="type === 5 && [2,3].includes(v.bindStatus)" :class="['status',v.bindStatus === 2 ? '' : 'bt-refuse']">{{v.bindStatus === 2 ? '审核中' : '审核失败'}}</div>
|
|
@@ -51,8 +56,8 @@
|
|
|
<el-input v-model="params.mobile" placeholder="请输入手机号"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <el-button @click="goBind">重新绑定</el-button>
|
|
|
- <el-button type="primary" @click="confirm">确认</el-button>
|
|
|
+ <el-button size="small" @click="goBind">重新绑定</el-button>
|
|
|
+ <el-button size="small" type="primary" @click="confirm">确认</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</el-dialog>
|
|
@@ -186,7 +191,10 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
type() {
|
|
|
- return this.deliveryList[this.curIndex] && this.deliveryList[this.curIndex].deliveryType;
|
|
|
+ return (
|
|
|
+ this.deliveryList[this.curIndex] &&
|
|
|
+ this.deliveryList[this.curIndex].deliveryType
|
|
|
+ );
|
|
|
},
|
|
|
},
|
|
|
created() {
|
|
@@ -262,8 +270,8 @@ export default {
|
|
|
this.shopId = v.shopId;
|
|
|
// 绑定顺丰同城
|
|
|
if (this.type === 5) {
|
|
|
- this.sfId = ''
|
|
|
- this.sfId2 = ''
|
|
|
+ this.sfId = "";
|
|
|
+ this.sfId2 = "";
|
|
|
this.centerDialogVisible2 = true;
|
|
|
return;
|
|
|
}
|
|
@@ -308,7 +316,7 @@ export default {
|
|
|
this.getBindDeliveryShopList();
|
|
|
} else {
|
|
|
let shop = this.deliveryList[i];
|
|
|
- console.log('shop',shop);
|
|
|
+ console.log("shop", shop);
|
|
|
this.shopList = [
|
|
|
{
|
|
|
id: shop.id,
|
|
@@ -320,7 +328,7 @@ export default {
|
|
|
];
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
getDeliveryList() {
|
|
|
this.loading = true;
|
|
|
getDeliveryList().then((res) => {
|
|
@@ -473,7 +481,7 @@ export default {
|
|
|
this.$prompt("", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- inputPlaceholder: '请输入绑定时顺丰同城ID号',
|
|
|
+ inputPlaceholder: "请输入绑定时顺丰同城ID号",
|
|
|
center: true,
|
|
|
}).then(({ value }) => {
|
|
|
if (!value || v.thirdShopId !== value) {
|
|
@@ -537,6 +545,7 @@ export default {
|
|
|
type: "success",
|
|
|
message: "成功完善资料!",
|
|
|
});
|
|
|
+ this.centerDialogVisible3 = false;
|
|
|
// this.getDeliveryList();
|
|
|
this.getBindDeliveryShopList();
|
|
|
} else {
|
|
@@ -545,7 +554,6 @@ export default {
|
|
|
message: res.msg,
|
|
|
});
|
|
|
}
|
|
|
- this.centerDialogVisible3 = false;
|
|
|
});
|
|
|
},
|
|
|
},
|
|
@@ -696,6 +704,7 @@ export default {
|
|
|
white-space: nowrap;
|
|
|
text-overflow: ellipsis;
|
|
|
overflow: hidden;
|
|
|
+ cursor: pointer;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -715,7 +724,10 @@ export default {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
.unbind {
|
|
|
- background: rgba(252, 114, 0, 0.6);
|
|
|
+ background: #f5f5f5;
|
|
|
+ color: #333333;
|
|
|
+ border: 1px solid #e6e6e6;
|
|
|
+ border-radius: 0 0 8px 8px;
|
|
|
}
|
|
|
}
|
|
|
}
|