Commit d3754c98 by 前端

bug修复

1 parent a5d15816
......@@ -4,7 +4,7 @@
<GLCombiForm ref="goodsRef" @handleOk="handleSearch" @handleRest="handleReset" :formObj="goodsFormObj"
:formData="goodsFormData">
<div slot="categorySlot">
<categoryCascader :categoryCode.sync="goodsFormObj"></categoryCascader>
<categoryCascader :checkStrictly="true" :categoryCode.sync="goodsFormObj"></categoryCascader>
</div>
<div slot="supplyPriceSlot">
<inputNumRange :formData="goodsFormObj" :keyObj="{from: 'startSellPrice', to:'endSellPrice'}"></inputNumRange>
......@@ -340,6 +340,13 @@ export default {
this.searchForm = utils.deepClone(this.goodsFormObj)
const {categoryCode} = this.searchForm
this.searchForm.categoryCode = categoryCode && categoryCode.length ? categoryCode.pop() : ''
const categoryCodeLength = this.searchForm.categoryCode.length;
if (categoryCodeLength > 0 && categoryCodeLength < 6) {
const name = categoryCodeLength === 2 ? 'categoryCode1' : 'categoryCode2';
this.searchForm[name] = this.searchForm.categoryCode;
delete this.searchForm.categoryCode;
}
resolve()
})
},
......
......@@ -262,7 +262,6 @@ export default {
confirmPriceChange(e) {
this.batchPrice = e.batchPrice
this.batchCount = e.batchCount
console.log(this.batchCount != '0')
if (!Number(this.batchCount) && this.isConversionRate) return this.$message({
message: '请输入大于0的积分',
type: 'error',
......
......@@ -7,7 +7,10 @@
:formData="searchFormData" @handleOk="selConfig" @handleRest="selConfig('reset')"></GLCombiForm>
<div class="operate-wrap">
<span class="table-title">白名单列表</span>
<div class="table-title1">白名单列表
<p class="table-des">门店助手小程序的积分提现功能对白名单下的门店可见,其门店员工可进行积分提现。</p>
</div>
<div class="operate-btn">
</div>
</div>
......@@ -216,6 +219,24 @@ export default {
padding: 20px;
}
.operate-wrap{
.table-title1{
display: flex;
height: 32px;
font-weight: 600;
font-size: 16px;
color: #333;
line-height: 32px;
.table-des{
line-height: 34px;
margin-left: 8px;
font-weight: 400;
color: #666666;
font-size: 14px;
}
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!