修改:取消 供应商编辑商品时-指定内容不能编辑的限制
This commit is contained in:
parent
aa142efef1
commit
b329b072d6
|
|
@ -584,3 +584,7 @@ export function integralOrderLog(id, data) {
|
|||
export function integralMarkApi(id) {
|
||||
return request.get(`points/order/mark/${id}/form`)
|
||||
}
|
||||
// 代理中心 - 代理列表
|
||||
export function agentList(data) {
|
||||
return request.get(`marketing/agent/list`, data)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
<el-tab-pane :name="'1'" label="商品信息" />
|
||||
<el-tab-pane :name="'2'" label="规格设置" />
|
||||
<el-tab-pane :name="'3'" label="商品详情" />
|
||||
<el-tab-pane :name="'4'" label="营销设置" v-if="config.merchant_type != 2"/>
|
||||
<el-tab-pane :name="'5'" label="积分设置" v-if="config.merchant_type != 2"/>
|
||||
<el-tab-pane :name="'4'" label="营销设置" />
|
||||
<el-tab-pane :name="'5'" label="积分设置" />
|
||||
<el-tab-pane :name="'6'" label="其他设置" />
|
||||
<el-tab-pane :name="'7'" label="购买协议" />
|
||||
</el-tabs>
|
||||
|
|
@ -33,7 +33,7 @@
|
|||
✓
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="config.merchant_type != 2" class="virtual" :class="formValidate.type == 1 ? 'virtual_boder' : 'virtual_boder2'" @click="virtualbtn(1, 2)">
|
||||
<div class="virtual" :class="formValidate.type == 1 ? 'virtual_boder' : 'virtual_boder2'" @click="virtualbtn(1, 2)">
|
||||
<div class="virtual_top">虚拟商品</div>
|
||||
<div class="virtual_bottom">(虚拟发货)</div>
|
||||
<div v-if="formValidate.type == 1" class="virtual_san" />
|
||||
|
|
@ -244,7 +244,7 @@
|
|||
</template>
|
||||
</template>
|
||||
</el-col>
|
||||
<el-col :span="24" v-if="config.merchant_type != 2">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="商品关键字:">
|
||||
<el-input
|
||||
v-model="formValidate.keyword"
|
||||
|
|
@ -288,7 +288,7 @@
|
|||
</el-row>
|
||||
<!-- 规格设置 -->
|
||||
<el-row v-if="currentTab == '2'">
|
||||
<el-col :span="24" v-if="config.merchant_type != 2">
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
v-if="extensionStatus > 0"
|
||||
label="佣金设置:"
|
||||
|
|
@ -303,7 +303,7 @@
|
|||
</el-radio-group>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24" v-if="config.merchant_type != 2">
|
||||
<el-col :span="24">
|
||||
<el-form-item
|
||||
v-if="open_svip"
|
||||
label="付费会员价设置:"
|
||||
|
|
@ -969,7 +969,6 @@
|
|||
<span>为0或者空则使用商户默认设置(实际支付的金额 * 倍数)</span>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="24">
|
||||
<el-form-item label="是否开启礼包:">
|
||||
<el-radio-group v-model="formValidate.is_gift_bag" :disabled="$route.params.id ? true : false">
|
||||
|
|
@ -1422,6 +1421,7 @@ import {getToken} from '@/utils/auth'
|
|||
import taoBao from './taoBao'
|
||||
import copyRecord from './copyRecord'
|
||||
import addCarMy from "./addCarMy";
|
||||
import {agentList} from "@/api/marketing";
|
||||
|
||||
const defaultObj = {
|
||||
image: '',
|
||||
|
|
@ -1758,6 +1758,8 @@ export default {
|
|||
width: 95,
|
||||
},
|
||||
config: {},// 获取商户基本配置
|
||||
// 代理列表获取
|
||||
agent_list: {},
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
@ -1822,6 +1824,7 @@ export default {
|
|||
this.getGuaranteeList()
|
||||
this.productGetRule()
|
||||
this.getLabelLst()
|
||||
// this.getAgentList(2)
|
||||
this.$store.dispatch('settings/setEdit', true)
|
||||
this.formValidate.slider_image = []
|
||||
if (this.$route.params.id) {
|
||||
|
|
@ -2989,6 +2992,18 @@ export default {
|
|||
},
|
||||
38
|
||||
);
|
||||
},
|
||||
// 获取代理列表
|
||||
getAgentList(agentType){
|
||||
let _this = this;
|
||||
let params = {
|
||||
page: 1,
|
||||
limit: 100,
|
||||
agent_type: agentType,
|
||||
};
|
||||
agentList(params).then((res) => {
|
||||
_this.agent_list = res.data.list || {};
|
||||
}).catch((res) => {});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue