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
2e7c6223
Commit
2e7c6223
authored
Aug 17, 2019
by
顾俭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aship/aship#4 防伪码功能-送货审核:防伪码启用供应商不创建箱标签
parent
ae929959
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
4 deletions
+11
-4
query.html
...n/resources/static/app/srm/deliveryOrder/query/query.html
+2
-2
update.html
...resources/static/app/srm/deliveryOrder/update/update.html
+7
-1
update.js
...n/resources/static/app/srm/deliveryOrder/update/update.js
+2
-1
No files found.
src/main/resources/static/app/srm/deliveryOrder/query/query.html
View file @
2e7c6223
...
@@ -158,12 +158,12 @@
...
@@ -158,12 +158,12 @@
</button>
</button>
<button
class=
"btn btn-default mrs"
ng-click=
"createLabel()"
ng-disabled=
"!currentDeliveryOrder || currentDeliveryOrder.released == '1' || currentDeliveryOrderDetails.size == 0"
<button
class=
"btn btn-default mrs"
ng-click=
"createLabel()"
ng-disabled=
"!currentDeliveryOrder || currentDeliveryOrder.released == '1' || currentDeliveryOrderDetails.size == 0"
acl-check
func=
" 'DELIVERY_ORDER_FUNCTION' "
resource=
" 'CREATE_LABEL' "
acl-check
func=
" 'DELIVERY_ORDER_FUNCTION' "
resource=
" 'CREATE_LABEL' "
ng-if=
"queryCondition.poMst.supplier && queryCondition.poMst.supplier.useBarcode
=
= 'Y'"
>
创建箱标签
ng-if=
"queryCondition.poMst.supplier && queryCondition.poMst.supplier.useBarcode
!
= 'Y'"
>
创建箱标签
</button>
</button>
<button
class=
"btn btn-default mrs"
ng-click=
"openSteelCoilOrNotDlg()"
<button
class=
"btn btn-default mrs"
ng-click=
"openSteelCoilOrNotDlg()"
ng-disabled=
"!currentDeliveryOrder || currentDeliveryOrder.released == '1' || currentDeliveryOrderDetails.size == 0"
ng-disabled=
"!currentDeliveryOrder || currentDeliveryOrder.released == '1' || currentDeliveryOrderDetails.size == 0"
acl-check
func=
" 'DELIVERY_ORDER_FUNCTION' "
resource=
" 'UPDATE_LABEL' "
acl-check
func=
" 'DELIVERY_ORDER_FUNCTION' "
resource=
" 'UPDATE_LABEL' "
ng-if=
"queryCondition.poMst.supplier && queryCondition.poMst.supplier.useBarcode
=
= 'Y'"
>
修改箱标签
ng-if=
"queryCondition.poMst.supplier && queryCondition.poMst.supplier.useBarcode
!
= 'Y'"
>
修改箱标签
</button>
</button>
<button
class=
"btn btn-default mrs"
ng-click=
"release()"
ng-disabled=
"!currentDeliveryOrder || currentDeliveryOrder.released == '1' || uiOption.releasing"
<button
class=
"btn btn-default mrs"
ng-click=
"release()"
ng-disabled=
"!currentDeliveryOrder || currentDeliveryOrder.released == '1' || uiOption.releasing"
acl-check
func=
" 'DELIVERY_ORDER_FUNCTION' "
resource=
" 'RELEASE' "
>
发布
acl-check
func=
" 'DELIVERY_ORDER_FUNCTION' "
resource=
" 'RELEASE' "
>
发布
...
...
src/main/resources/static/app/srm/deliveryOrder/update/update.html
View file @
2e7c6223
...
@@ -49,9 +49,15 @@
...
@@ -49,9 +49,15 @@
<!--ng-if="uiOption.currentStatus == uiStatus.CREATE_LABEL && op == 'MODIFY' && isSteelCoil()"-->
<!--ng-if="uiOption.currentStatus == uiStatus.CREATE_LABEL && op == 'MODIFY' && isSteelCoil()"-->
<!--ng-disabled="!updateDeliveryOrderForm.$valid">保存</button>-->
<!--ng-disabled="!updateDeliveryOrderForm.$valid">保存</button>-->
<button
class=
"btn btn-default mrs"
ng-click=
"saveDeliveryOrderProductList(true)"
<button
class=
"btn btn-default mrs"
ng-click=
"saveDeliveryOrderProductList(true)"
ng-if=
"uiOption.currentStatus == uiStatus.CREATE_LABEL"
ng-if=
"uiOption.currentStatus == uiStatus.CREATE_LABEL
&& (currentDeliveryOrder.supplier.useBarcode !='Y')
"
ng-disabled=
"!updateDeliveryOrderForm.$valid"
>
保存并创建箱标签
ng-disabled=
"!updateDeliveryOrderForm.$valid"
>
保存并创建箱标签
</button>
</button>
<!--启用防伪码供应商useBarcode不创建箱标签-->
<button
class=
"btn btn-default mrs"
ng-click=
"saveDeliveryOrderProductList(false)"
ng-if=
"(uiOption.currentStatus == uiStatus.CREATE_LABEL) && (currentDeliveryOrder.supplier.useBarcode =='Y')"
ng-disabled=
"!updateDeliveryOrderForm.$valid"
>
保存
</button>
</div>
</div>
</div>
</div>
...
...
src/main/resources/static/app/srm/deliveryOrder/update/update.js
View file @
2e7c6223
...
@@ -689,7 +689,8 @@ angular.module('IOne').controller('DeliveryOrderUpdateController', function ($ro
...
@@ -689,7 +689,8 @@ angular.module('IOne').controller('DeliveryOrderUpdateController', function ($ro
}
}
//check if the steel coil amount has been changed
//check if the steel coil amount has been changed
if
(
!
generateLabel
)
{
// barcode不产生箱标签修改 && $scope.deliveryOrderAggregationGridOptions.data[0].steelCoil == '1'
if
(
!
generateLabel
&&
$scope
.
deliveryOrderAggregationGridOptions
.
data
[
0
].
steelCoil
==
'1'
)
{
DoDtlProductLabelFileService
.
getAllByExample
({
DoDtlProductLabelFileService
.
getAllByExample
({
doMst
:
{
id
:
$scope
.
currentDeliveryOrderId
}
doMst
:
{
id
:
$scope
.
currentDeliveryOrderId
}
}).
then
(
function
(
response
)
{
}).
then
(
function
(
response
)
{
...
...
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