Commit a95c9498 by cpa

添加商品接口未发现

parent 1267995f
...@@ -691,12 +691,13 @@ ...@@ -691,12 +691,13 @@
{account: account} {account: account}
).then(response => { ).then(response => {
this.form.merchantId=response.data.data.id this.form.merchantId=response.data.data.id
alert(JSON.stringify(this.form))
addOrEditGoods(JSON.stringify(this.form)).then(data => { this.$http.post('/admin/mallGoods/addOrEdit',JSON.stringify(this.form),
this.$message.success('添加成功') {headers:{'Content-Type':'application/json;charset=UTF-8'}})
done() .then((res)=>{
}).catch(() => { this.$message.success('添加成功')
}).catch(e => {
this.$message.success('添加失败')
}); });
}).catch(() => { }).catch(() => {
this.tableLoading = false this.tableLoading = false
......
...@@ -249,7 +249,6 @@ ...@@ -249,7 +249,6 @@
viewLogistics(row){ viewLogistics(row){
// 1.打开对话框 // 1.打开对话框
this.dialogVisible = true this.dialogVisible = true
alert(row.waybillNo+row.expressCompany)
viewLogisticsApi( viewLogisticsApi(
{waybillNo:row.waybillNo,expressCompany:row.expressCompany} {waybillNo:row.waybillNo,expressCompany:row.expressCompany}
......
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