Commit fbe0d214 authored by youjie's avatar youjie

no message

parent e5881b5f
......@@ -435,7 +435,9 @@
</div>
</div>
<div class="right-Submit">
<button class="hollowFixedBtn" type="primary" :disabled="!isCheck&&!loading">
<button class="hollowFixedBtn" v-loading="loading"
type="primary"
:disabled="!isCheck" @click="submit">
提交订单
</button>
<!-- <button v-else class="normalBtn" type="primary" @click="submit">
......
......@@ -776,31 +776,13 @@ export default {
this.addMsg,
res => {
if (res.data.resultCode == 1) {
console.log(res.data)
//this.initDataTable();
this.Success("保存成功!");
this.isShowDIv = false;
this.resetForm("addMsg");
// return
this.addMsg = {
ID: 0,
CouponsId: 0,
TicketID: 0,
Supplier: null,
Inventory: 0,
B2BPrice: 0.0,
B2CPrice: 0.0,
SalesPrice: 0.0,
Remark: "",
CostPrice: 0.0,
StartDate: "",
EndDate: "",
CurrencyId: 0,
CurrentRate: 0.0,
MailingMoney: null,//邮寄费
}
setTimeout(()=>{
this.initDataTable();
this.goUrl('ticketManagement',this.CouponsId);
},500)
// this.isShowDIv = false;
// this.resetForm("addMsg");
// this.goUrl('ticketManagement',this.CouponsId);
location.reload()
} else {
this.Error(res.data.message);
}
......@@ -820,7 +802,7 @@ export default {
if (res.data.resultCode == 1) {
that.Success("删除成功!");
that.initDataTable();
that.goUrl('ticketManagement',that.CouponsId);
// that.goUrl('ticketManagement',that.CouponsId);
} else {
that.Error(res.data.message);
}
......@@ -861,8 +843,7 @@ export default {
this.$router.push({
name: path,
query: {
id: id,
blank: 'y'
id: id
}
});
},
......
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