Commit caeabb00 by Sxy

feat: 返回订单主编号

parent c71b0a63
......@@ -31,11 +31,11 @@ class DeliverybillCtl extends CtlBase {
delete pobj.search.dateType
}
if (pobj.search && pobj.search.businessType) {
pobj.search.product_code=pobj.search.businessType
pobj.search.product_code = pobj.search.businessType
delete pobj.search.businessType
}
if (pobj.search && pobj.search.sourceName) {
pobj.search.source_name=pobj.search.sourceName
pobj.search.source_name = pobj.search.sourceName
delete pobj.search.sourceName
}
......@@ -48,6 +48,7 @@ class DeliverybillCtl extends CtlBase {
robj.id = element.id;//数据的id
robj.deliverNumber = element.delivery_code;//交付单编号
robj.delivery_code = element.delivery_code;//交付单编号-shousuo
robj.master_source_number = element.master_source_number;//交付单主编号-shousuo
robj.businessName = element.product_name;//产品名称
robj.businessType = element.product_code;//产品编码
robj.product_name = element.product_name;//产品名称-shousuo
......@@ -1088,7 +1089,7 @@ class DeliverybillCtl extends CtlBase {
var xx = time.setDate(date);
return moment(new Date(xx)).format('yyyy-MM-DD');
}
catch{
catch {
return "";
}
......@@ -1101,7 +1102,7 @@ class DeliverybillCtl extends CtlBase {
var m2 = moment(time2);
return m2.diff(m1, 'day');
}
catch{
catch {
return "";
}
......
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