40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
|
@*
|
||
|
this template is bound to Quote.js directive
|
||
|
*@
|
||
|
<div class="row">
|
||
|
<label class="col-sm-4 col-form-label">@Resource.StaticLabelReferenceData</label>
|
||
|
<div class="col col-sm-8">
|
||
|
<select ng-model="selectedLCA"
|
||
|
ng-options="item.ID+' '+item.Description for item in lcaList">
|
||
|
<option value="">- @Resource.StaticLabelGlobal_Select -</option>
|
||
|
</select>
|
||
|
</div>
|
||
|
</div>
|
||
|
@*<div class="table_edit_row">
|
||
|
<div class="title">@Resource.StaticLabelReferenceData</div>
|
||
|
<div class="input">
|
||
|
<select ng-model="selectedLCA"
|
||
|
ng-options="item.Description for item in lcaList">
|
||
|
<option value="">- @Resource.StaticLabelGlobal_Select -</option>
|
||
|
</select>
|
||
|
</div>
|
||
|
</div>*@
|
||
|
<div>可引用資料數: {{selectedLCA.quoteResult.length}}</div>
|
||
|
<div ng-show="error">{{error}}</div>
|
||
|
<div ng-transclude></div>
|
||
|
<div class="row">
|
||
|
<button class="header_button"
|
||
|
style="float: left; margin-left: 16px;"
|
||
|
ng-click="quote(selectedLCA)"
|
||
|
ng-show="selectedLCA.quoteResult.length>0">
|
||
|
@Resource.StaticLabelGlobal_Save
|
||
|
</button>
|
||
|
<button class="header_button"
|
||
|
style="float: left; margin-left: 16px;"
|
||
|
ng-click="fetchQuoteData(selectedLCA)"
|
||
|
ng-show="selectedLCA&&!selectedLCA.quoteResult">
|
||
|
@Resource.StaticLabelReferenceData
|
||
|
</button>
|
||
|
</div>
|
||
|
|