Commit 3be66547 by cpa

上传视频图标未显示2

parent a36b0ee2
...@@ -50,3 +50,13 @@ export function addOrEditGoods(data) { ...@@ -50,3 +50,13 @@ export function addOrEditGoods(data) {
}) })
} }
/*** 自定义添加 ***/
export function getMerchantByAccount(parameter) {
return request({
url: '/admin/merchantMallGoods/getMerchantByAccount',
method: 'get',
params:parameter
})
}
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
<script> <script>
let DBG = false let DBG = true
import { import {
ZmMixin ZmMixin
} from '@/mixins/ZmMixin.js' } from '@/mixins/ZmMixin.js'
...@@ -192,8 +192,9 @@ ...@@ -192,8 +192,9 @@
getClassifyDropDown, getClassifyDropDown,
getGoodsDetails, getGoodsDetails,
addOrEditGoods, addOrEditGoods,
addOrEdit getMerchantByAccount,
} from './goods_api.js' } from './goods_api.js'
export default { export default {
mixins: [ZmMixin], mixins: [ZmMixin],
components: { components: {
...@@ -705,6 +706,7 @@ ...@@ -705,6 +706,7 @@
addOrEditGoods(this.form).then(data => { addOrEditGoods(this.form).then(data => {
this.$message.success('修改成功') this.$message.success('修改成功')
done() done()
this.handleClose()
}).catch(() => { }).catch(() => {
}); });
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment