Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
srm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
aship
srm
Commits
f2c80704
Commit
f2c80704
authored
Sep 01, 2019
by
顾俭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增送货单 原产地批次号制造日期默认值
parent
e95a481f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
update.js
...n/resources/static/app/srm/deliveryOrder/update/update.js
+12
-0
No files found.
src/main/resources/static/app/srm/deliveryOrder/update/update.js
View file @
f2c80704
...
@@ -425,6 +425,18 @@ angular.module('IOne').controller('DeliveryOrderUpdateController', function ($ro
...
@@ -425,6 +425,18 @@ angular.module('IOne').controller('DeliveryOrderUpdateController', function ($ro
}
}
});
});
// aship 定制 原产地批次号制造日期默认值
angular
.
forEach
(
$scope
.
currentDeliveryOrderDetails
,
function
(
item
)
{
if
(
!
item
.
sourceArea
)
{
item
.
sourceArea
=
"-"
;
}
if
(
!
item
.
manufacturingDate
)
{
item
.
manufacturingDate
=
new
Date
();
}
if
(
!
item
.
batchId
)
{
item
.
batchId
=
$filter
(
'date'
)(
item
.
manufacturingDate
,
'yyyyMMdd'
);
}
});
//保存用户所选的采购类型、是否钢卷条件
//保存用户所选的采购类型、是否钢卷条件
if
(
$rootScope
.
userInfo
.
suppliers
.
length
>
0
)
{
if
(
$rootScope
.
userInfo
.
suppliers
.
length
>
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment