Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop-ui
commit
904046f02c
1
build.sh
1
build.sh
|
@ -1,7 +1,6 @@
|
||||||
#代码目录
|
#代码目录
|
||||||
code_path=$PWD
|
code_path=$PWD
|
||||||
|
|
||||||
git checkout master
|
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
cd ${code_path}/manager
|
cd ${code_path}/manager
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
class="width_300"
|
class="width_300"
|
||||||
search
|
search
|
||||||
enter-button
|
enter-button
|
||||||
v-model="params.sn"
|
v-model="params.keywords"
|
||||||
@on-search="getList"
|
@on-search="getList"
|
||||||
placeholder="请输入订单号搜索"
|
placeholder="请输入订单号搜索"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -114,14 +114,14 @@
|
||||||
<InputNumber v-model="formAdd.sortOrder"></InputNumber>
|
<InputNumber v-model="formAdd.sortOrder"></InputNumber>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem label="佣金比例(%)" prop="commissionRate" style="width: 345px">
|
<FormItem label="佣金比例(%)" prop="commissionRate" style="width: 345px">
|
||||||
<InputNumber v-model="formAdd.commissionRate"></InputNumber>
|
<InputNumber :max="100" :min="0" v-model="formAdd.commissionRate"></InputNumber>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem label="是否启用" prop="deleteFlag">
|
<FormItem label="是否启用" prop="deleteFlag">
|
||||||
<i-switch
|
<i-switch
|
||||||
size="large"
|
size="large"
|
||||||
v-model="formAdd.deleteFlag"
|
v-model="formAdd.deleteFlag"
|
||||||
:true-value="0"
|
:true-value="false"
|
||||||
:false-value="1"
|
:false-value="true"
|
||||||
>
|
>
|
||||||
<span slot="open">启用</span>
|
<span slot="open">启用</span>
|
||||||
<span slot="close">禁用</span>
|
<span slot="close">禁用</span>
|
||||||
|
|
|
@ -64,12 +64,12 @@ export default {
|
||||||
value: "YESTERDAY",
|
value: "YESTERDAY",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "最近7天",
|
title: "过去7天",
|
||||||
selected: true,
|
selected: true,
|
||||||
value: "LAST_SEVEN",
|
value: "LAST_SEVEN",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "最近30天",
|
title: "过去30天",
|
||||||
selected: false,
|
selected: false,
|
||||||
value: "LAST_THIRTY",
|
value: "LAST_THIRTY",
|
||||||
},
|
},
|
||||||
|
|
|
@ -454,12 +454,12 @@ export default {
|
||||||
value: "YESTERDAY",
|
value: "YESTERDAY",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "最近7天",
|
title: "过去7天",
|
||||||
selected: true,
|
selected: true,
|
||||||
value: "LAST_SEVEN",
|
value: "LAST_SEVEN",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "最近30天",
|
title: "过去30天",
|
||||||
selected: false,
|
selected: false,
|
||||||
value: "LAST_THIRTY",
|
value: "LAST_THIRTY",
|
||||||
},
|
},
|
||||||
|
|
|
@ -76,12 +76,12 @@ export default {
|
||||||
value: "YESTERDAY",
|
value: "YESTERDAY",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "最近7天",
|
title: "过去7天",
|
||||||
selected: true,
|
selected: true,
|
||||||
value: "LAST_SEVEN",
|
value: "LAST_SEVEN",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "最近30天",
|
title: "过去30天",
|
||||||
selected: false,
|
selected: false,
|
||||||
value: "LAST_THIRTY",
|
value: "LAST_THIRTY",
|
||||||
},
|
},
|
||||||
|
|
|
@ -156,12 +156,12 @@
|
||||||
<div v-for="(item, $index) in skuInfo" :key="$index" class="sku-item-content">
|
<div v-for="(item, $index) in skuInfo" :key="$index" class="sku-item-content">
|
||||||
<Card :bordered="true" class="ivu-card-body">
|
<Card :bordered="true" class="ivu-card-body">
|
||||||
<Button slot="extra" type="primary" @click="handleCloseSkuItem($index, item)">
|
<Button slot="extra" type="primary" @click="handleCloseSkuItem($index, item)">
|
||||||
删除规格
|
删除规格项
|
||||||
</Button>
|
</Button>
|
||||||
<div>
|
<div>
|
||||||
<FormItem class="sku-item-content-val flex" label="规格名">
|
<FormItem class="sku-item-content-val flex" label="规格项名">
|
||||||
<AutoComplete v-model="item.name" :data="skuData" :filter-method="filterMethod"
|
<AutoComplete v-model="item.name" :data="skuData" :filter-method="filterMethod"
|
||||||
:maxlength="30" placeholder="请输入规格名称" style="width: 150px"
|
:maxlength="30" placeholder="请输入规格项名称" style="width: 150px"
|
||||||
@on-focus="changeSkuItem(item.name)" @on-change="
|
@on-focus="changeSkuItem(item.name)" @on-change="
|
||||||
editSkuItem(item.name, $index, item)
|
editSkuItem(item.name, $index, item)
|
||||||
">
|
">
|
||||||
|
@ -1568,6 +1568,13 @@ export default {
|
||||||
this.submitLoading = false;
|
this.submitLoading = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.goodsUnitList && !this.goodsUnitList.find(i => i === this.baseInfoForm.goodsUnit)) {
|
||||||
|
submit.goodsUnit = ""
|
||||||
|
this.$Message.error("商品单位不存在");
|
||||||
|
this.submitLoading = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
let skuInfoNames = this.skuInfo.map((n) => n.name);
|
let skuInfoNames = this.skuInfo.map((n) => n.name);
|
||||||
submit.skuList = [];
|
submit.skuList = [];
|
||||||
this.skuTableData.map((sku) => {
|
this.skuTableData.map((sku) => {
|
||||||
|
|
|
@ -277,6 +277,7 @@ export default {
|
||||||
delGoods(index) {
|
delGoods(index) {
|
||||||
// 删除商品
|
// 删除商品
|
||||||
this.goodsData.splice(index, 1);
|
this.goodsData.splice(index, 1);
|
||||||
|
this.selectCount = 0;
|
||||||
},
|
},
|
||||||
delAll() {
|
delAll() {
|
||||||
// 批量删除商品
|
// 批量删除商品
|
||||||
|
@ -295,6 +296,7 @@ export default {
|
||||||
this.goodsData = this.goodsData.filter((item) => {
|
this.goodsData = this.goodsData.filter((item) => {
|
||||||
return !ids.includes(item.skuId);
|
return !ids.includes(item.skuId);
|
||||||
});
|
});
|
||||||
|
this.selectCount = 0;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
@ -377,12 +377,12 @@ export default {
|
||||||
value: "YESTERDAY",
|
value: "YESTERDAY",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "最近7天",
|
title: "过去7天",
|
||||||
selected: true,
|
selected: true,
|
||||||
value: "LAST_SEVEN",
|
value: "LAST_SEVEN",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "最近30天",
|
title: "过去30天",
|
||||||
selected: false,
|
selected: false,
|
||||||
value: "LAST_THIRTY",
|
value: "LAST_THIRTY",
|
||||||
},
|
},
|
||||||
|
|
|
@ -74,12 +74,12 @@ export default {
|
||||||
value: "YESTERDAY",
|
value: "YESTERDAY",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "最近7天",
|
title: "过去7天",
|
||||||
selected: true,
|
selected: true,
|
||||||
value: "LAST_SEVEN",
|
value: "LAST_SEVEN",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "最近30天",
|
title: "过去30天",
|
||||||
selected: false,
|
selected: false,
|
||||||
value: "LAST_THIRTY",
|
value: "LAST_THIRTY",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue