diff --git a/buyer/src/components/Search.vue b/buyer/src/components/Search.vue
index e3c5fd54..fd9ed409 100644
--- a/buyer/src/components/Search.vue
+++ b/buyer/src/components/Search.vue
@@ -71,10 +71,15 @@ export default {
this.search();
},
search () { // 全平台搜索商品
- this.$router.push({
- path: '/goodsList',
- query: { keyword: this.searchData }
- });
+ const url = this.$route.path;
+ if(url == '/goodsList'){
+ this.$emit('search', this.searchData)
+ }else{
+ this.$router.push({
+ path: '/goodsList',
+ query: { keyword: this.searchData }
+ });
+ }
},
searchStore () { // 店铺搜索商品
this.$emit('search', this.searchData)
diff --git a/buyer/src/pages/home/userCenter/MoneyManagement.vue b/buyer/src/pages/home/userCenter/MoneyManagement.vue
index cf709af4..2d5ee116 100644
--- a/buyer/src/pages/home/userCenter/MoneyManagement.vue
+++ b/buyer/src/pages/home/userCenter/MoneyManagement.vue
@@ -369,6 +369,8 @@ export default {
return h('div', [h('span', {}, '申请中')]);
} else if (params.row.applyStatus === 'VIA_AUDITING') {
return h('div', [h('span', {}, '提现成功')]);
+ } else if (params.row.applyStatus === 'ERROR') {
+ return h('div', [h('span', {}, '提现失败')]);
} else {
return h('div', [h('span', {}, '审核拒绝')]);
}
diff --git a/buyer/src/pages/promotion/seckill.vue b/buyer/src/pages/promotion/seckill.vue
index c7d8fcbb..f0d5c421 100644
--- a/buyer/src/pages/promotion/seckill.vue
+++ b/buyer/src/pages/promotion/seckill.vue
@@ -6,12 +6,7 @@
限时秒杀
- -
+
-
{{ time.timeLine + ":00" }}
{{ nowHour >= time.timeLine ? "秒杀中" : "即将开始" }}
@@ -30,13 +25,8 @@
-
+
@@ -53,42 +43,28 @@
{{ item.goodsName }}
-
+
{{ nowHour >= list[currIndex].timeLine ? "立即抢购" : "即将开始" }}
-
+
已售罄
-
已售{{
- (item.quantity && item.quantity > 0
- ? Math.ceil(
- (item.salesNum / (item.quantity + item.salesNum)) * 100
- )
- : 100) + "%"
- }}
+
已售{{
+ (item.quantity && item.quantity > 0
+ ? Math.ceil(
+ (item.salesNum / (item.quantity + item.salesNum)) * 100
+ )
+ : 100) + "%"
+ }}
{{ item.storeName }}
@@ -101,7 +77,7 @@
diff --git a/manager/src/components/lili/upload-pic-input.vue b/manager/src/components/lili/upload-pic-input.vue
index 6ad5bddf..e5039617 100644
--- a/manager/src/components/lili/upload-pic-input.vue
+++ b/manager/src/components/lili/upload-pic-input.vue
@@ -14,12 +14,12 @@
-
+
-
+
diff --git a/manager/src/views/goods/goods-manage/spec.vue b/manager/src/views/goods/goods-manage/spec.vue
index 9ec82c2d..73ba2c8b 100644
--- a/manager/src/views/goods/goods-manage/spec.vue
+++ b/manager/src/views/goods/goods-manage/spec.vue
@@ -26,11 +26,10 @@
- {{ form }}
@@ -51,7 +50,7 @@ import { regular } from "@/utils";
export default {
name: "spec",
components: {},
- data() {
+ data () {
return {
loading: true, // 表单加载状态
modalType: 0, // 添加或编辑标识
@@ -150,29 +149,32 @@ export default {
};
},
methods: {
+ handleCreate2 (v) {
+ console.log(v);
+ },
//初始化,获取数据
- init() {
+ init () {
this.getDataList();
},
//修改分页
- changePage(v) {
+ changePage (v) {
this.searchForm.pageNumber = v;
this.getDataList();
this.clearSelectAll();
},
//修改页面大小
- changePageSize(v) {
+ changePageSize (v) {
this.searchForm.pageSize = v;
this.getDataList();
},
//搜索参数
- handleSearch() {
+ handleSearch () {
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
this.getDataList();
},
//重置搜索参数
- handleReset() {
+ handleReset () {
this.$refs.searchForm.resetFields();
this.searchForm.pageNumber = 1;
this.searchForm.pageSize = 10;
@@ -180,7 +182,7 @@ export default {
this.getDataList();
},
//更改排序
- changeSort(e) {
+ changeSort (e) {
this.searchForm.sort = e.key;
this.searchForm.order = e.order;
if (e.order === "normal") {
@@ -189,16 +191,16 @@ export default {
this.getDataList();
},
//清除已选择
- clearSelectAll() {
+ clearSelectAll () {
this.$refs.table.selectAll(false);
},
//修改已选择
- changeSelect(e) {
+ changeSelect (e) {
this.selectList = e;
this.selectCount = e.length;
},
//获取数据
- getDataList() {
+ getDataList () {
this.loading = true;
// 带多条件搜索参数获取表单数据 请自行修改接口
getSpecListData(this.searchForm).then((res) => {
@@ -211,7 +213,7 @@ export default {
this.loading = false;
},
//新增规格
- saveSpec() {
+ saveSpec () {
this.$refs.form.validate((valid) => {
if (valid) {
this.submitLoading = true;
@@ -246,7 +248,7 @@ export default {
});
},
//弹出添加框
- add() {
+ add () {
this.modalType = 0;
this.modalTitle = "添加";
this.$refs.form.resetFields();
@@ -255,8 +257,7 @@ export default {
this.modalVisible = true;
},
//弹出编辑框
- edit(v) {
- console.log(v);
+ edit (v) {
this.modalType = 1;
this.modalTitle = "编辑";
// 转换null为""
@@ -266,23 +267,21 @@ export default {
}
}
let localVal = v.specValue;
- console.log(localVal.split(","))
this.form.specName = v.specName;
this.form.id = v.id;
- this.$nextTick(() => {
- this.$set(this.form, 'specValue', localVal.split(","))
- })
-
+ // this.$nextTick(() => {
+ // this.$set(this.form, 'specValue', localVal.split(","))
+ // })
+ this.form.specValue = localVal.split(",")
if (localVal && localVal.indexOf("," > 0)) {
this.specValue = this.form.specValue;
} else {
this.specValue = [];
}
- console.log("form.specValue", this.form);
this.modalVisible = true;
},
// 删除规格
- remove(v) {
+ remove (v) {
this.$Modal.confirm({
title: "确认删除",
content: "您确认要删除 " + v.specName + " ?",
@@ -299,7 +298,7 @@ export default {
});
},
// 批量删除
- delAll() {
+ delAll () {
if (this.selectCount <= 0) {
this.$Message.warning("您还未选择要删除的数据");
return;
@@ -327,7 +326,7 @@ export default {
});
},
},
- mounted() {
+ mounted () {
this.init();
},
};
diff --git a/manager/src/views/member/advance/withdrawApply.vue b/manager/src/views/member/advance/withdrawApply.vue
index 891e7832..38ba8262 100644
--- a/manager/src/views/member/advance/withdrawApply.vue
+++ b/manager/src/views/member/advance/withdrawApply.vue
@@ -165,6 +165,8 @@ export default {
return h("Tag", { props: { color: "green" } }, "审核通过");
} else if (params.row.applyStatus == "SUCCESS") {
return h("Tag", { props: { color: "blue" } }, "提现成功");
+ } else if (params.row.applyStatus == "ERROR") {
+ return h("Tag", { props: { color: "blue" } }, "提现失败");
} else {
return h("Tag", { props: { color: "red" } }, "审核拒绝");
}
@@ -249,6 +251,8 @@ export default {
return "审核通过(提现成功)";
} else if (val === "FAIL_AUDITING") {
return "审核拒绝";
+ } else if (val === "ERROR") {
+ return "提现失败";
} else {
return "未知状态";
}
diff --git a/manager/src/views/member/list/index.vue b/manager/src/views/member/list/index.vue
index 0f0ad381..04890d8c 100644
--- a/manager/src/views/member/list/index.vue
+++ b/manager/src/views/member/list/index.vue
@@ -325,6 +325,7 @@ export default {
methods: {
// 回调给父级
callback(val, index) {
+ this.selectMember.forEach(item=>{item.___selected = false})
this.$set(val, "___selected", !val.___selected);
console.log(val.___selected);
console.log(this.selectMember);
diff --git a/manager/src/views/order/after-order/afterSaleOrderDetail.vue b/manager/src/views/order/after-order/afterSaleOrderDetail.vue
index a4a5edda..122bfd22 100644
--- a/manager/src/views/order/after-order/afterSaleOrderDetail.vue
+++ b/manager/src/views/order/after-order/afterSaleOrderDetail.vue
@@ -84,7 +84,7 @@
- 实际退款金额
-
-
+
diff --git a/manager/src/views/order/order/fictitiousOrderList.vue b/manager/src/views/order/order/fictitiousOrderList.vue
index 69b40ddc..2a2b218c 100644
--- a/manager/src/views/order/order/fictitiousOrderList.vue
+++ b/manager/src/views/order/order/fictitiousOrderList.vue
@@ -4,22 +4,10 @@
-
+
-
+
diff --git a/manager/src/views/order/order/orderDetail.vue b/manager/src/views/order/order/orderDetail.vue
index 2df88231..6fc84f74 100644
--- a/manager/src/views/order/order/orderDetail.vue
+++ b/manager/src/views/order/order/orderDetail.vue
@@ -4,24 +4,12 @@
-
-
-
+
+
+
-
+
@@ -66,10 +54,8 @@
-
+
发票税号:
{{ orderInfo.receipt && orderInfo.receipt.taxpayerId ? orderInfo.receipt.taxpayerId : "暂无" }}
@@ -81,8 +67,8 @@
{{
orderInfo.receipt && orderInfo.receipt.receiptContent
- ? orderInfo.receipt.receiptContent
- : "暂无"
+ ? orderInfo.receipt.receiptContent
+ : "暂无"
}}
@@ -92,8 +78,8 @@
{{
orderInfo.receipt && orderInfo.receipt.receiptPrice
- ? orderInfo.receipt.receiptPrice
- : "暂无" | unitPrice("¥")
+ ? orderInfo.receipt.receiptPrice
+ : "暂无" | unitPrice("¥")
}}
@@ -101,7 +87,7 @@
是否开票:
- {{ orderInfo.receipt?(orderInfo.receipt.receiptStatus == 0 ? "未开" : "已开"):"空" }}
+ {{ orderInfo.receipt ? (orderInfo.receipt.receiptStatus == 0 ? "未开" : "已开") : "空" }}
@@ -127,12 +113,12 @@
{{ orderInfo.order.remark }}
-
+
-
+
-
+
配送方式:
{{ orderInfo.deliveryMethodValue }}
@@ -189,22 +173,12 @@
-
+
-
+
@@ -216,28 +190,12 @@
{{ key }} : {{ item }}
-
+
-
+
-
+
@@ -251,58 +209,56 @@
orderInfo.order.priceDetailDTO.goodsPrice | unitPrice("¥")
}}
- -
+
-
优惠金额:
{{ orderInfo.order.priceDetailDTO.discountPrice | unitPrice("¥") }}
- -
+
-
优惠券金额:
{{ orderInfo.order.priceDetailDTO.couponPrice | unitPrice("¥") }}
- -
-
-
-
-
-
-
-
-
+ -
+
+
+
+
+
+
+
+
优惠详情: |
-
-
-
-
- {{item.promotionName}}: |
+
+
+
+
+ {{ item.promotionName }}: |
¥{{ item.discountPrice | unitPrice }} |
-
-
-
-
-
-
-
优惠详情:
-
+
+
+
+
+
+
+
优惠详情:
+
-
-
-
+
-
+
-
+
-
+
-
+
-
+
配置MINIO nginx前端访问转发地址,一般为完整域名,例如:https://minio.pickmall.cn
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -179,3 +179,4 @@ export default {
color: #999;
}
+
diff --git a/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue b/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue
index df8db5bb..cbf57bbc 100644
--- a/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue
+++ b/seller/src/views/order/after-order/reurnGoodsOrderDetail.vue
@@ -94,7 +94,7 @@
- 实际退款金额
-
-
+
diff --git a/seller/src/views/order/order/orderDetail.vue b/seller/src/views/order/order/orderDetail.vue
index ddc012bb..ef8ba4fa 100644
--- a/seller/src/views/order/order/orderDetail.vue
+++ b/seller/src/views/order/order/orderDetail.vue
@@ -487,7 +487,7 @@ export default {
liliMap,
region,
},
- data() {
+ data () {
return {
typeList: [],
showPrices: false,
@@ -693,27 +693,27 @@ export default {
},
methods: {
//修改地址
- regionClick() {
+ regionClick () {
this.showRegion = true;
this.regionId = "";
},
//弹出订单核销框
- orderTake() {
+ orderTake () {
this.orderTakeForm.qrCode = this.orderInfo.order.verificationCode;
this.orderTakeModal = true;
},
//打印发货单
- printOrder() {
+ printOrder () {
this.printModal = true;
},
- printHiddenInfo() {
+ printHiddenInfo () {
this.printHiddenFlag = !this.printHiddenFlag;
},
- printCancel() {
+ printCancel () {
// this.printHiddenFlag = false;
},
//订单核销提交
- orderTakeSubmit() {
+ orderTakeSubmit () {
this.$refs.orderTakeForm.validate((valid) => {
if (valid) {
API_Order.orderTake(this.sn, this.orderTakeForm.qrCode).then(
@@ -728,14 +728,14 @@ export default {
}
});
},
- getOrderPrice() {
+ getOrderPrice () {
if (this.showPrices) {
this.showPrices = false
} else if (!this.showPrices) {
this.showPrices = true
}
},
- getContentPrice() {
+ getContentPrice () {
for (let i = 0; i < this.typeList.length; i++) {
for (let j = i + 1; j < this.typeList.length; j++) {
if (this.typeList[i].promotionId === this.typeList[j].promotionId) {
@@ -751,7 +751,7 @@ export default {
}
},
//获取订单详细信息
- getDataDetail() {
+ getDataDetail () {
this.loading = true;
API_Order.getOrderDetail(this.sn).then((res) => {
this.loading = false;
@@ -766,7 +766,7 @@ export default {
}
});
},
- Toprint() {
+ Toprint () {
this.facesheetFlag = true;
API_Logistics.getCheckedOn().then(res => {
if (res.success) {
@@ -776,13 +776,13 @@ export default {
});
},
// 修改订单金额
- modifyPrice() {
+ modifyPrice () {
//默认要修改的金额为订单总金额
this.modifyPriceForm.orderPrice = this.orderInfo.order.flowPrice;
this.modal = true;
},
//修改订单金额提交
- modifyPriceSubmit() {
+ modifyPriceSubmit () {
this.$refs.modifyPriceForm.validate((valid) => {
if (valid) {
API_Order.modifyOrderPrice(this.sn, this.modifyPriceForm).then(
@@ -798,12 +798,12 @@ export default {
});
},
// 选中的地址
- selectedRegion(val) {
+ selectedRegion (val) {
this.region = val[1];
this.regionId = val[0];
},
//查询物流
- logistics() {
+ logistics () {
this.logisticsModal = true;
API_Order.getTraces(this.sn).then((res) => {
if (res.success && res.result != null) {
@@ -812,7 +812,7 @@ export default {
});
},
//订单发货
- orderDeliver() {
+ orderDeliver () {
this.facesheetFlag = false
if (this.logisticsType == 'SHUNFENG') {
this.$Modal.confirm({
@@ -839,7 +839,7 @@ export default {
}
},
//顺丰打印面单
- sfPrint() {
+ sfPrint () {
API_Order.getOrderFaceSheet(this.sn, this.faceSheetForm).then(res => {
if (res.success) {
let headers = {
@@ -869,13 +869,13 @@ export default {
}
})
},
- Toprints() {
+ Toprints () {
if (this.form.logisticsId != null && this.form.logisticsId != '') {
this.orderDeliverModal = false;
}
},
//订单发货提交
- orderDeliverySubmit() {
+ orderDeliverySubmit () {
if (this.facesheetFlag) {
this.$refs['faceSheetForm'].validate((valid) => {
if (valid) {
@@ -904,7 +904,7 @@ export default {
}
},
//弹出修改收货地址框
- editAddress() {
+ editAddress () {
this.addressModal = true;
this.showRegion = false;
this.regionId = this.orderInfo.order.consigneeAddressIdPath;
@@ -918,7 +918,7 @@ export default {
this.orderInfo.order.consigneeAddressIdPath;
},
//修改收货地址
- editAddressSubmit() {
+ editAddressSubmit () {
if (this.regionId == "") {
this.$Message.error("请选择地址");
return;
@@ -940,7 +940,7 @@ export default {
});
},
- getLogisticsSetting() {
+ getLogisticsSetting () {
API_Logistics.getLogisticsSetting().then(res => {
if (res.success) {
this.logisticsType = res.result;
@@ -949,13 +949,13 @@ export default {
},
},
- mounted() {
+ mounted () {
this.sn = this.$route.query.sn;
this.getDataDetail();
this.getLogisticsSetting();
},
// 如果是从详情页返回列表页,修改列表页keepAlive为true,确保不刷新页面
- beforeRouteLeave(to, from, next) {
+ beforeRouteLeave (to, from, next) {
if (to.name === 'orderList' || to.name === 'virtualOrderList') {
to.meta.keepAlive = true
}
diff --git a/seller/src/views/promotion/full-discount/full-discount-add.vue b/seller/src/views/promotion/full-discount/full-discount-add.vue
index 520a03a4..2c6776d4 100644
--- a/seller/src/views/promotion/full-discount/full-discount-add.vue
+++ b/seller/src/views/promotion/full-discount/full-discount-add.vue
@@ -6,251 +6,101 @@
基本信息
-
+
-
+
-
+
优惠设置
-
+
+
+
选择模式
+
+
+
+ 链接
+ 热区
+
+
+
+
选择链接
-
+
已选链接:
- {{
+
+
+ {{ item.url.name }}
- {{ item.url.goodsName }}
+
+ {{ item.url.goodsName }}
- {{ item.url.name }}
+
+ {{ item.url.name }}
- {{ item.url.memberName }}
+
+ {{ item.url.memberName }}
- {{ item.url.title }}
+
+ {{ item.url.title }}
+
+
+ {{ item.url.name }}
+
秒杀
- 满减
+
+ 满减
+
拼团
{{ item.url.title || item.url.goodsName }}
- {{ item.url.title }}
+
+ {{ item.url.title }}
-
+ {{ item.model === "hotzone" ? "绘制热区" : "选择链接" }}
+
@@ -174,7 +219,7 @@
@selectedLink="selectedLink"
@selectedGoodsData="selectedGoodsData"
>
-
+
@@ -182,11 +227,13 @@