@@ -1437,7 +1437,15 @@
this.getCateGorySon(this.categoryData[this.categoryIndex].id)
},
checkSellTime(type){
- this.addGoodsForm.sellTime = type;
+ const sellTime = Number(type);
+ this.$set(this.addGoodsForm, "sellTime", sellTime);
+ if (sellTime === 0) {
+ this.$set(this.addGoodsForm, "sellBeginTime", "");
+ this.$set(this.addGoodsForm, "sellEndTime", "");
+ }
+ },
+ selectDateRange(){
+ this.$forceUpdate();
},
checkisMoreBuy(type){
this.addGoodsForm.isMoreBuy = type;
@@ -1791,7 +1799,7 @@
});
this.specValueArr = this.addGoodsForm.attributeListPrice
- this.addGoodsForm.sellTime = this.addGoodsForm.sellBeginTime != '' ? 1 : 0
+ this.$set(this.addGoodsForm, "sellTime", this.addGoodsForm.sellBeginTime != "" ? 1 : 0)
this.setGoodsCategoryName(this.addGoodsForm.categoryId)
this.modalVisible = true;
},
diff --git a/src/views/app/shop/mernage.vue b/src/views/app/shop/mernage.vue
index f3ef0c4..bbd1a87 100644
--- a/src/views/app/shop/mernage.vue
+++ b/src/views/app/shop/mernage.vue
@@ -57,11 +57,11 @@
-
+
@@ -249,6 +249,7 @@
this.form.passStrength = strength;
},
submit1() {
+ this.form.shoprank = 0
// 处理商品分类的名称
if (this.form.type != '' && this.form.type != null) {
this.shopType.forEach(item => {
diff --git a/src/views/app/shop/shop.vue b/src/views/app/shop/shop.vue
index 7bab07c..ee4266f 100644
--- a/src/views/app/shop/shop.vue
+++ b/src/views/app/shop/shop.vue
@@ -101,6 +101,7 @@
+
@@ -126,6 +127,7 @@
import addEdit from "./addEdit.vue";
import mernage from "./mernage.vue";
import logisticsAddress from "@/views/app/shop/logisticsAddress.vue";
+ import withdrawRecordModal from "@/views/app/components/withdrawRecordModal.vue";
import dict from "@/views/my-components/hiver/dict";
import goodsList from "./dictManage.vue";
@@ -146,7 +148,8 @@
addEdit,
mernage,
dict,
- goodsList
+ goodsList,
+ withdrawRecordModal
},
data() {
return {
@@ -288,7 +291,7 @@
{
title: "操作",
key: "action",
- width: 170,
+ width: 280,
align: "center",
fixed: "right",
render: (h, params) => {
@@ -393,6 +396,21 @@
},
"管理商品"
),
+ h("Divider", {
+ props: {
+ type: "vertical",
+ },
+ }),
+ h(
+ "a", {
+ on: {
+ click: () => {
+ this.openWithdrawRecords(params.row);
+ },
+ },
+ },
+ "提现记录"
+ ),
]);
},
},
@@ -509,6 +527,9 @@
this.$refs.courierDialog.initRecharge(v);
});
},
+ openWithdrawRecords(v) {
+ this.$refs.withdrawRecordModal.open(v, "shop");
+ },
add() {
this.showType = "2";
this.showUser = true;
diff --git a/src/views/app/shopArea/shopArea.vue b/src/views/app/shopArea/shopArea.vue
index 992df02..8939989 100644
--- a/src/views/app/shopArea/shopArea.vue
+++ b/src/views/app/shopArea/shopArea.vue
@@ -126,6 +126,38 @@
+
+
+
+
+
+
+
+
+
+ %
+
+
+
+
+
+
+
+
+
+
+ %
+