Commit 152afea2 authored by Facius's avatar Facius

快递单复制;去掉已签收;已核销显示为已签收

parent d9fed99d
...@@ -115,15 +115,17 @@ ...@@ -115,15 +115,17 @@
return this.titles[String(this.info.status)] || this.info.statusText return this.titles[String(this.info.status)] || this.info.statusText
}, },
titles() { titles() {
// 待签收 15 待发货 10 待审核 1 已取消 -1 已驳回 -2 已签收 20 // 待签收 15; 待发货 10; 待审核 1; 已取消 -1; 已驳回 -2; 已签收 20;已完成 100;已核销 91
// 已核销展示为已签收
return { return {
'1': '待审核', '1': '待审核',
'10': '待发货', '10': '待发货',
'15': '签收', '15': '签收',
'20': '已签收', '20': '已签收',
'-2': '审核未通过', '-2': '审核未通过',
'-1': '已取消', '-1': '已取消',
'100': '已完成' '100': '已完成',
'91': '已签收' // 已核销
} }
}, },
titleColor() { titleColor() {
...@@ -144,7 +146,9 @@ ...@@ -144,7 +146,9 @@
'15': '20', '15': '20',
'20': '', '20': '',
'-2': '', '-2': '',
'-1': '' '-1': '',
'100': '',
'91': ''
} }
}, },
willStatus() { willStatus() {
......
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
}, },
handleClick() { handleClick() {
uni.setClipboardData({ uni.setClipboardData({
data: this.info.orderNumber, data: this.info.express.number,
success: function() { success: function() {
console.log('success'); console.log('success');
} }
......
...@@ -88,10 +88,10 @@ ...@@ -88,10 +88,10 @@
'name': '待签收', 'name': '待签收',
'status': 15 'status': 15
}, },
{ // {
'name': '已签收', // 'name': '已签收',
'status': 20 // 'status': 20
} // }
] ]
}, },
currentTab() { currentTab() {
......
...@@ -107,14 +107,17 @@ ...@@ -107,14 +107,17 @@
return this.titles[String(this.info.status)] || this.info.statusText return this.titles[String(this.info.status)] || this.info.statusText
}, },
titles() { titles() {
// 待签收 15; 待发货 10; 待审核 1; 已取消 -1; 已驳回 -2; 已签收 20;已完成 100;已核销 91
// 已核销展示为已签收
return { return {
'1': '待审核', '1': '待审核',
'10': '待发货', '10': '待发货',
'15': '签收', '15': '签收',
'20': '已签收', '20': '已签收',
'-2': '审核未通过', '-2': '审核未通过',
'-1': '已取消', '-1': '已取消',
'100': '已完成' '100': '已完成',
'91': '已签收' // 已核销
} }
}, },
total() { // 合计 total() { // 合计
...@@ -164,13 +167,14 @@ ...@@ -164,13 +167,14 @@
'20': '', '20': '',
'-2': '', '-2': '',
'-1': '', '-1': '',
'100': '' '100': '',
'91': ''
} }
}, },
buttonOperateType() { buttonOperateType() {
return this.operateTypes[this.info.status] return this.operateTypes[this.info.status]
}, },
// 待签收 15 变 已签收 20; 10 待审核 1 变 已取消 -1 // 待签收 15 -> 已签收 20; 待审核 1 -> 已取消 -1
willStatuses() { willStatuses() {
return { return {
'1': '-1', '1': '-1',
...@@ -179,7 +183,8 @@ ...@@ -179,7 +183,8 @@
'20': '', '20': '',
'-2': '', '-2': '',
'-1': '', '-1': '',
'100': '' '100': '',
'91': ''
} }
}, },
willStatus() { willStatus() {
......
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