Commit 50fa9531 authored by youjie's avatar youjie

no message

parent 9632e195
......@@ -329,7 +329,7 @@
<div v-else class="column-ac px15 bgE8F5E9 radius5 ml fz12 pa20 flex-s c20C997">
<div class="mb5">已支付</div>
<div>
<span class="fbold fz14">0.00</span>
<span class="fbold fz14">{{item.Income}}</span>
<span></span>
</div>
<div v-if="item.OrderStatus==2" class="orderop">
......@@ -402,6 +402,7 @@
Type: num,
tradeObj: JSON.stringify(this.BillMakingMsg)
}
this.$store.commit("ChoiceAddFinancialDocuments");
this.$router.push({
path: "/ChoiceAddFinancialDocuments",
query
......@@ -432,13 +433,41 @@
clickRightButtom(item,type){
// 0取消订单 1确认订单
if(type==0){
this.cancelFun(item)
}else if(type==1){
if(!this.loading1){
this.confirmFun(item)
}
}
},
cancelFun(item){
this.$confirm("是否确认取消订单?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
this.loading0 = true
this.apipost(
"dict_post_CancelCustomerOrder", {
OrderId: item.OrderId
},
res => {
if (res.data.resultCode == 1) {
this.Success(res.data.message);
this.$emit('success')
}else {
this.Error(res.data.message);
}
this.loading0 = false
},
err => {this.loading0 = false}
);
})
.catch(() => {
this.$message.info("已取消!");
});
},
confirmFun(item){
this.$confirm("是否确认订单?", "提示", {
confirmButtonText: "确定",
......
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