Commit b2acedda by 前端

修复部分BUG

1 parent 7831a004
...@@ -50,7 +50,7 @@ export default { ...@@ -50,7 +50,7 @@ export default {
}, },
data() { data() {
return { return {
size: 'small', // size: 'small',
editServiceRef: 'editServiceRef', editServiceRef: 'editServiceRef',
routeInfo: { routeInfo: {
editType: 'add', editType: 'add',
...@@ -258,14 +258,7 @@ export default { ...@@ -258,14 +258,7 @@ export default {
params.merchantBrandListJson = JSON.stringify(this.$common.utils.deepClone(this.editForm.merchantBrandList)) params.merchantBrandListJson = JSON.stringify(this.$common.utils.deepClone(this.editForm.merchantBrandList))
delete params.merchantBrandList delete params.merchantBrandList
delete params.merchantBrandIds delete params.merchantBrandIds
// params.sceneList = [] this.$confirm('<strong>是否确定提交?</strong> ' + (this.routeInfo.editType == 'add' ? '<div>提交服务中心开通申请,进入开店审核,审核通过后将为您自动创建服务中心</div> ' : ''), '提示', {
// this.baseData.sceneList.forEach(item => {
// const productCodeIds = item.productList.map(k => k.productCode)
// if (this.hasDuplicate(productCodeIds, this.editForm.productCodeList)) {
// params.sceneList.push(item.sceneCode)
// }
// })
this.$confirm('<strong>是否确定提交?</strong> <div>提交服务中心开通申请,进入开店审核,审核通过后将为您自动' + (this.routeInfo.editType == 'add' ? '创建' : '编辑') + '服务中心</div> ', '提示', {
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
......
...@@ -186,8 +186,6 @@ export default { ...@@ -186,8 +186,6 @@ export default {
$title: encodeURI(editType == 'add' ? '新增服务中心' : '编辑服务中心') $title: encodeURI(editType == 'add' ? '新增服务中心' : '编辑服务中心')
} }
editType != 'add' && (params.merchantInfo = row) editType != 'add' && (params.merchantInfo = row)
console.log(params);
this.$router.push({ this.$router.push({
path: '/serviceCenter/editService', path: '/serviceCenter/editService',
query: params query: params
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!