diff --git a/src/components/goodsList/index.vue b/src/components/goodsList/index.vue
index 3b32fbe..f87676a 100644
--- a/src/components/goodsList/index.vue
+++ b/src/components/goodsList/index.vue
@@ -4,7 +4,7 @@
-
+
查询
-
+
@@ -49,7 +49,7 @@
label="商品名称"
min-width="200"
/>
-
+
未设置
@@ -57,7 +57,7 @@
-
+
{
- this.setSelectRow();
+ this.setSelectRow();
},500)
-
+
},
methods: {
getRowKeys(row) {
@@ -255,7 +255,7 @@ export default {
delete(that.tableFrom.is_good)
}
goodLstApi(that.tableFrom)
- .then(async (res) => {
+ .then(async (res) => {
that.tableData.data = res.data.list;
that.tableData.total = res.data.count;
this.$nextTick(function () {
diff --git a/src/views/marketing/discounts/create.vue b/src/views/marketing/discounts/create.vue
index bfa9fdb..2692206 100644
--- a/src/views/marketing/discounts/create.vue
+++ b/src/views/marketing/discounts/create.vue
@@ -140,7 +140,7 @@
设置规格
-
+
删除
@@ -153,7 +153,7 @@
@click="addGoods('Other')"
>添加商品
-
+
+ />
不包邮时,将按照商品的运费模板进行计算
@@ -217,7 +217,7 @@
:width="55"
active-text="上架"
inactive-text="下架"
- />
+ />
@@ -230,7 +230,7 @@
提交
提交中
-
+
@@ -266,12 +266,12 @@
-
@@ -280,18 +280,18 @@
-
+
{{scope.row.sku || '默认'}}
-
+
-
+
@@ -329,12 +329,12 @@ export default {
ggModel: false,
modals: false,
loading: false,
- timeVal: '',
+ timeVal: '',
manyFormValidate: [],
- multipleSelection: [],
+ multipleSelection: [],
submitOpen: false,
spinShow: false,
- addGoodsModel: false,
+ addGoodsModel: false,
isChoice: "单选",
current: 0,
modalPic: false,
@@ -365,9 +365,9 @@ export default {
id: "",
rate_price: 0,
};
- },
+ },
computed: {
-
+
},
mounted() {
if (this.$route.params.id) {
@@ -410,7 +410,7 @@ export default {
return this.$message.warning("请填写优惠价格");
}else{
items.push({active_price: this.multipleSelection[i]['active_price'],unique: this.multipleSelection[i]['unique']})
- }
+ }
}
this.$set(type[this.tabIndex],"items", items);
this.ggModel = false;
@@ -444,7 +444,7 @@ export default {
: this.specsData[this.tabIndex].attr || [];
let selectArr = []
if (data.length) { //已经选择的商品的规格
- for (let i = 0; i < info.length; i++) {
+ for (let i = 0; i < info.length; i++) {
for (let j = 0; j < data.length; j++) {
const element = data[j];
if (element.sku === info[i].sku) {
@@ -454,14 +454,14 @@ export default {
// this.multipleSelection.push(info[j]);
}
}
- }
+ }
}
this.$nextTick(() => {
selectArr.forEach((row) => {
this.$refs.multipleSelection.toggleRowSelection(row, true)
})
this.multipleSelection = selectArr
- })
+ })
this.manyFormValidate = info;
})
.catch((res) => {
@@ -507,7 +507,7 @@ export default {
onchangeTime(e) {
this.timeVal = e
this.formValidate.time[0] = e ? this.moment(e[0]).format('YYYY-MM-DD HH:mm:ss') : ''
- this.formValidate.time[1] = e ? this.moment(e[1]).format('YYYY-MM-DD HH:mm:ss') : ''
+ this.formValidate.time[1] = e ? this.moment(e[1]).format('YYYY-MM-DD HH:mm:ss') : ''
},
// 详情
getInfo() {
@@ -515,7 +515,7 @@ export default {
this.formValidate = res.data;
this.timeVal = [
new Date(this.formValidate.time[0]),
- new Date(this.formValidate.time[1])];
+ new Date(this.formValidate.time[1])];
for (let i = 0; i < res.data.discountsProduct.length; i++) {
const element = res.data.discountsProduct[i];
element.attr= []; element.items = [];
@@ -526,7 +526,7 @@ export default {
attr['active_price'] = attr['productSku']['active_price']
element.attr.push(attr)
element.items.push({active_price: attr['productSku']['active_price'],unique: attr['unique']})
- }
+ }
}
if (element.type == 1) {
this.specsMainData.push(element);
@@ -631,9 +631,9 @@ export default {
// 点击商品图
modalPicTap(tit, num, i) {
const _this = this;
- this.$modalUpload(function(img) {
+ this.$modalUpload(function(img) {
if(tit == "1" && !num) {
- _this.formValidate.image = img[0];
+ _this.formValidate.image = img[0];
}
}, tit);
},
@@ -696,7 +696,7 @@ export default {
.iconxiayi{
font-size: 12px
}
-}
+}
.custom-label {
display: inline-flex;
line-height: 1.5;
diff --git a/src/views/order/orderDetails.vue b/src/views/order/orderDetails.vue
index d31f85f..bc593ff 100644
--- a/src/views/order/orderDetails.vue
+++ b/src/views/order/orderDetails.vue
@@ -26,7 +26,7 @@
>订单核销
订单备注
- 修改发货信息
- 退款
+ 修改发货信息
+ 退款
@@ -100,7 +100,7 @@