Commit 074abfbe by 孙亚楠

dd

parent 5e54cbc2
...@@ -631,6 +631,17 @@ class OrderCtl extends CtlBase { ...@@ -631,6 +631,17 @@ class OrderCtl extends CtlBase {
* @returns {Promise<void>} * @returns {Promise<void>}
*/ */
async aliOrderPageAll(pobj, pobj2, req){ async aliOrderPageAll(pobj, pobj2, req){
let statusMap = {
"1":"2010", //待完善
"2":"2020",//工商注册g
"3":"2030",//刻章办理
"4":"2040",//银行开户
"5":"2050",//税务报道
"6":"2060",//核定税种
"7":"2070",//建帐
"8":"2080",//客户交付
"9":"2090"//订单完成
};
var condition = { var condition = {
currentPage: Number(pobj.currentPage || 1), currentPage: Number(pobj.currentPage || 1),
pageSize: Number(pobj.pageSize || 10), pageSize: Number(pobj.pageSize || 10),
...@@ -643,7 +654,7 @@ class OrderCtl extends CtlBase { ...@@ -643,7 +654,7 @@ class OrderCtl extends CtlBase {
condition.createdEnd = this.trim(pobj.createdEnd); condition.createdEnd = this.trim(pobj.createdEnd);
} }
if(pobj.status){ if(pobj.status){
condition.status = this.trim(pobj.status); condition.status = statusMap[pobj.status];
} }
if(pobj.order_id){ if(pobj.order_id){
condition.id = this.trim(pobj.order_id); condition.id = this.trim(pobj.order_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