+
-
-
-
-
-
@@ -201,17 +190,6 @@
-
-
-
-
-
diff --git a/manager/src/views/sys/oss-manage/ossManage.vue b/manager/src/views/sys/oss-manage/ossManage.vue
index 50f5455d..0db9863c 100644
--- a/manager/src/views/sys/oss-manage/ossManage.vue
+++ b/manager/src/views/sys/oss-manage/ossManage.vue
@@ -26,9 +26,7 @@
style="width: 200px"
/>
-
+
-
+
@@ -273,6 +273,12 @@ import config from "@/config";
var dp;
export default {
name: "oss-manage",
+ props:{
+ isComponent:{
+ default: false,
+ type:Boolean
+ }
+ },
data() {
return {
config, // api地址
@@ -551,6 +557,11 @@ export default {
pageSizeOpts: [5, 10, 20], // 页码展示项
};
},
+ watch:{
+ selectImage(val) {
+ if (val) this.init()
+ }
+ },
methods: {
/**
* 选择
@@ -811,11 +822,14 @@ export default {
},
},
mounted() {
- this.init();
+ if(!this.isComponent) { // 是组件的话,初始化不调用接口
+ this.init();
+ }
this.baseUrl =
process.env.NODE_ENV === "development"
? this.config.api_dev.common
: this.config.api_prod.common;
},
+
};
diff --git a/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue b/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue
index 48dd96e8..b6101c2f 100644
--- a/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue
+++ b/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue
@@ -507,7 +507,7 @@ export default {
},
// 返回售后状态中文描述
filterStatus(status) {
- let label = "";
+ let label = '';
for (let i = 0; i < this.afterSaleStatus.length; i++) {
const obj = this.afterSaleStatus[i];
if (obj.status === status) {
@@ -518,7 +518,7 @@ export default {
return label;
},
},
- activated() {
+ mounted() {
this.sn = this.$route.query.sn;
this.getDetail();
},
diff --git a/seller/src/views/order/receiptManager/receipt.vue b/seller/src/views/order/receiptManager/receipt.vue
index 896aff61..30509f6d 100644
--- a/seller/src/views/order/receiptManager/receipt.vue
+++ b/seller/src/views/order/receiptManager/receipt.vue
@@ -14,8 +14,8 @@
@@ -50,7 +50,7 @@ export default {
pageSize: 10, // 页面大小
sort: "createTime", // 默认排序字段
order: "desc", // 默认排序方式
- receiptStatus: "", // 起始时间
+ receiptStatus: "", // 发票状态
},
columns: [
{
@@ -110,13 +110,13 @@ export default {
width: 100,
tooltip: true,
render: (h, params) => {
- if (params.row.receiptStatus == 0) {
+ if (params.row.receiptStatus === 0) {
return h("div", [
h("tag", { props: { color: "volcano" } }, "未开票"),
]);
} else {
return h("div", [
- h("tag", { props: { color: "green" } }, "未开票"),
+ h("tag", { props: { color: "green" } }, "已开票"),
]);
}
},