|
@@ -259,7 +259,7 @@
|
|
:disabled="isDisabled"
|
|
:disabled="isDisabled"
|
|
type="textarea"
|
|
type="textarea"
|
|
placeholder="请输入使用说明(最多50个字符)"
|
|
placeholder="请输入使用说明(最多50个字符)"
|
|
- :maxLength="200" />
|
|
|
|
|
|
+ :maxLength="50" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
<div style="text-align:center;" v-if="!isShowNextStep"><a-button type="primary" size="large" :disabled="isDisabled" @click="handleSave('part')" >保存后设置产品</a-button></div>
|
|
<div style="text-align:center;" v-if="!isShowNextStep"><a-button type="primary" size="large" :disabled="isDisabled" @click="handleSave('part')" >保存后设置产品</a-button></div>
|
|
@@ -276,7 +276,7 @@
|
|
:disabled="isDisabled"
|
|
:disabled="isDisabled"
|
|
:getPopupContainer="triggerNode => triggerNode.parentNode"
|
|
:getPopupContainer="triggerNode => triggerNode.parentNode"
|
|
:replaceFields="{children:'children',title: 'productTypeName',key: 'productTypeSn',value: 'productTypeSn'}"
|
|
:replaceFields="{children:'children',title: 'productTypeName',key: 'productTypeSn',value: 'productTypeSn'}"
|
|
- @blur="onChangeTree"
|
|
|
|
|
|
+ @change="onChangeTree"
|
|
placeholder="请选择产品范围" />
|
|
placeholder="请选择产品范围" />
|
|
</div>
|
|
</div>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
@@ -294,7 +294,7 @@
|
|
:max="99999999"
|
|
:max="99999999"
|
|
:disabled="isDisabled"
|
|
:disabled="isDisabled"
|
|
size="small"/> 元
|
|
size="small"/> 元
|
|
- <a-button type="primary" :disabled="isDisabled" class="button-primary" size="small" @click="handleBatchAdd">批量添加</a-button>
|
|
|
|
|
|
+ <a-button type="primary" :disabled="isDisabled" class="button-primary" size="small" @click="handleBatchAdd">批量设置</a-button>
|
|
</div>
|
|
</div>
|
|
<a-button type="primary" :disabled="isDisabled" @click="handleAddProduct" size="small">添加产品</a-button>
|
|
<a-button type="primary" :disabled="isDisabled" @click="handleAddProduct" size="small">添加产品</a-button>
|
|
</div>
|
|
</div>
|
|
@@ -510,7 +510,7 @@ export default {
|
|
}
|
|
}
|
|
} else if (res.data.contentType == 'LINK') {
|
|
} else if (res.data.contentType == 'LINK') {
|
|
_this.form.contentLink = res.data.content
|
|
_this.form.contentLink = res.data.content
|
|
- _this.form.linkType = '1'
|
|
|
|
|
|
+ _this.form.linkType = res.data.content != '/pagesB/promoDetail' ? '2' : '1'
|
|
if (res.data.promoRule) {
|
|
if (res.data.promoRule) {
|
|
_this.isShowNextStep = true
|
|
_this.isShowNextStep = true
|
|
_this.sellForm.range = '1'
|
|
_this.sellForm.range = '1'
|