<div class="form_content" id="form">
|
<!--<div class="trans" ng-if="!isbill">
|
|
</div>-->
|
<div class="title" ng-if="!isbill">
|
<i class="fa fa-home" aria-hidden="true"></i>
|
<i class="fa fa-angle-right" aria-hidden="true"></i>
|
<h8>{{template_name}}</h8>
|
<!--<label class="text_label">({{template_desc}})</label>-->
|
</div>
|
<div class="row" >
|
<div class="row_unedit" ng-if="unedit == 1">
|
|
</div>
|
<div ng-if="type==20 || type==30" ng-show="edit" class="cost_count">
|
<a ng-href="javascript:void(0);" ng-click="query_journel_budget(type)">
|
<img src="./static/img/calculate.png" title="计算费用" /> 计算费用
|
</a>
|
</div>
|
<div class=" {{item_column(item)}}" ng-repeat="item in form_items track by $index" style="border-bottom:1px solid {{edit|borderfilt}};" ng-show="checkshow(item) && item.gcShowFlag !== 0">
|
<div class="apply_control search_column" ng-show="item.gcShowFlag !== 0" ng-if="item.gcCpnType === 0 ">
|
<label>{{item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='item.gcInputMust==1'>*</text>
|
<a gcColName="{{item.gcColName}}" choose_budget="1" ng-show="edit" ng-href="javascript:void(0);" ng-click="show_apply_select(edit);">选择预算</a></label>
|
<!--<button class="btn btn-success btn-favourite btn-action" ng-click="show_apply_select($event);" ng-if="edit || !isbill">选择</button>-->
|
<!--<textarea gcColName="{{item.gcColName}}" choose_budget="1" type="text" class="apply_control_input" ng-model="selectinfo" readonly="readonly"></textarea>-->
|
<!--<div gcColName="{{item.gcColName}}" choose_budget="1" class="apply_control_input" />-->
|
<table class="apply_select_table col-md-12" ng-if="thshow">
|
<tr>
|
<th ng-repeat="head in heads track by $index">{{head.gcCpnAlias}}</th>
|
</tr>
|
<tr ng-repeat="info in selectinfo track by $index">
|
<td ng-repeat="head in heads">{{info[head.gcColName]}}</td>
|
</tr>
|
</table>
|
<!--</div>-->
|
<span ng-if="!edit && isbill">{{item.render_value}}</span>
|
<div ng-if="apply_select_show " class="apply_select" onMouseOver="$(this).draggable();event.stopPropagation();">
|
<div class="apply_select_close">
|
<p>可选择预算</p>
|
<!--<i class="fa fa-times apply_close" ng-click="close_apply_select()"></i>-->
|
<img src="./static/img/close2.png" class="close close_create" style="width:-1%;margin-top:5px;text-shadow: 0 1px 0 #fff;"ng-click="close_apply_select()">
|
</div>
|
<div class="apply_select_search">
|
<input placeholder="请输入预算部门或项目" type="text" id="apply_search" ng-keydown="apply_search_info_keydown($event)" />
|
<button ng-click="apply_search_info();" class="btn btn-success btn-favourite btn-action">查询</button>
|
</div>
|
<table class="apply_select_table">
|
<thead>
|
<tr>
|
<th ng-repeat="head in heads">{{head.gcCpnAlias}}</th>
|
<!--<th>预算项目</th>
|
<th>预算部门</th>
|
<th>预算开始时间</th>
|
<th>预算截止时间</th>
|
<th>预算金额</th>-->
|
<th>选择</th>
|
</tr>
|
</thead>
|
<tbody>
|
<tr ng-repeat="data in budget_info">
|
<!--<td ng-repeat="data in datas">{{data}}</td>-->
|
<td ng-repeat="head in heads">{{data[head.gcColName]}}</td>
|
<td><button class="btn btn-success btn-favourite btn-action" ng-click="selected_budget(data)">选择</button></td>
|
</tr>
|
</tbody>
|
</table>
|
<div class="condition_search_footer">
|
<label class="first">
|
<span>
|
<select ng-model="page_number" ng-change="change_page_number();">
|
<option value="5" selected="selected">5条/页</option>
|
<option value="10" >10条/页</option>
|
</select>
|
</span>
|
<span >
|
共{{math_ceil(rows/page_number)}}页
|
</span>
|
</label>
|
<label class="second">
|
<span>
|
<a ng-href="javascript:void(0);" ng-click="pre_page();" href="javascript:void(0);">
|
<i class="fa" aria-hidden="true">上一页</i>
|
</a>
|
</span>
|
<span>
|
<a ng-href="javascript:void(0);" ng-click="next_page();" href="javascript:void(0);">
|
<i class="fa" aria-hidden="true">下一页</i>
|
</a>
|
</span>
|
<span class="ng-binding">第<input class="pagenumber" type="text" value="1" ng-model="pages"> 页/ 共{{math_ceil(rows/page_number)}}页</span>
|
</label>
|
</div>
|
</div>
|
</div>
|
|
<div ng-if="item.gcCpnType === 1" ng-show="item.gcShowFlag !== 0" class="text">
|
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<span ng-if="!edit && isbill">{{item.render_value}}</span>
|
<!--<p ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</p>-->
|
<input ng-blur="check_data(edit)" ng-model="item.render_value " ng-change="change_apmonut(item)" type="text" value="{{item.render_value || item.gcDefVal}}" gcColName="{{item.gcColName}}" ng-show="edit || !isbill" ng-disabled="!item.gcEditFlag == 1" >
|
<div class="showDetail" ng-show="detail" ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</div>
|
</span>
|
<label ng-class="{is_red:item.is_red}">
|
|
{{item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30 && item.expend_standard != undefined && item.expend_standard_sp != 0" >{{item.expend_standard}}</i>
|
<i ng-show="type==30 && item.expend_standard_sp != undefined" >{{item.expend_standard_sp}}</i>
|
<i ng-show="type==30 && item.billMoney != undefined" title="票据:{{item.billMoney}}">票据:{{item.billMoney}}</i>
|
</label>
|
</div>
|
<div ng-if="item.gcCpnType === 2" ng-show="item.gcShowFlag !== 0" class="textarea col-md-12">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<span ng-if="!edit && isbill">{{item.render_value}}</span>
|
<textarea
|
ng-blur="check_data(edit)"
|
ng-model="item.render_value "
|
gcColName="{{item.gcColName}}"
|
ng-show="edit || !isbill"
|
ng-disabled="!item.gcEditFlag == 1"
|
>{{item.render_value || item.gcDefVal}}</textarea>
|
<div class="showDetail" ng-show="detail" ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</div>
|
</span>
|
<label ng-class="{is_red:item.is_red}">
|
{{item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30 && item.expend_standard != undefined && item.expend_standard_sp != 0" >{{item.expend_standard}}</i>
|
<i ng-show="type==30 && item.expend_standard_sp != undefined" >{{item.expend_standard_sp}}</i>
|
<i ng-show="type==30 && item.billMoney != undefined" title="票据:{{item.billMoney}}">票据:{{item.billMoney}}</i>
|
</label>
|
</div>
|
<div ng-if="item.gcCpnType === 3" ng-show="item.gcShowFlag !== 0" class="checkbox">
|
<div ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
{{item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='item.gcInputMust==1' ng-disabled="!item.gcEditFlag == 1">*</text>
|
<text class="process_ifd" ng-if='item.gcMustCpn==1' >△</text>
|
</div>
|
<div>
|
<!--<p ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</p>-->
|
<!--<div ng-repeat="opt in item.gcOptList" class="checkbox_container" ng-if="edit || !isbill">-->
|
<input type="checkbox" value="{{opt.value}}" ng-checked="check_item(item, opt);" checked="{{opt.selected}}" gcColName="{{item.gcColName}}" ng-disabled="!item.gcEditFlag == 1">
|
<!--<label class="cb_label">{{opt.value}}</label>-->
|
<!--</div>-->
|
<!--<span ng-if="!edit && isbill">{{item.render_value}}</span>-->
|
</div>
|
<div class="showDetail" ng-show="detail" ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</div>
|
</div>
|
<div ng-if="item.gcCpnType === 4" ng-show="item.gcShowFlag !== 0" class="radio">
|
<div ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
{{item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='item.gcInputMust==1' ng-disabled="!item.gcEditFlag == 1">*</text>
|
<text class="process_ifd" ng-if='item.gcMustCpn==1' >△</text>
|
</div>
|
<div>
|
<span ng-if="!edit && isbill" class="radio">{{item.render_value}}
|
<div class="showDetail" ng-show="detail" ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</div>
|
</span>
|
<!--<p ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</p>-->
|
<!--<span ng-repeat="opt in item.gcOptList" class="rd_container" ng-if="edit || !isbill">-->
|
<input type="radio" value="{{opt.value}}" name="{{item.gcCpnAlias}}" ng-checked="check_item(item, opt);" ng-disabled="!item.gcEditFlag == 1" gcColName="{{item.gcColName}}">
|
<label class="rd_label">{{opt.value}}</label>
|
<!--</span>-->
|
|
</div>
|
</div>
|
|
<div ng-if="item.gcCpnType === 5" ng-show="item.gcShowFlag !== 0" class="text timeinfo" >
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
|
<!--<p ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</p>-->
|
<div ng-if="item.gcCpnFormat == 30"><input type="text" item="{{item}}" realitem="item" editflag="{{item.gcEditFlag}}" edit="edit" class="getDateTime" date gcColName="{{item.gcColName}}" value="{{item.render_value || item.gcDefVal}}" ng-if="edit || !isbill" ng-disabled="!item.gcEditFlag == 1" ></div>
|
<div ng-if="item.gcCpnFormat == 31"><input type="text" item="{{item}}" realitem="item" editflag="{{item.gcEditFlag}}" edit="edit" class="getDateTime" datetime gcColName="{{item.gcColName}}" value="{{item.render_value || item.gcDefVal}}" ng-if="edit || !isbill" ng-disabled="!item.gcEditFlag == 1" ></div>
|
<div ng-if="item.gcCpnFormat == 32"><input type="text" item="{{item}}" realitem="item" editflag="{{item.gcEditFlag}}" edit="edit" class="getDateTime" time gcColName="{{item.gcColName}}" value="{{item.render_value || item.gcDefVal}}" ng-if="edit || !isbill" ng-disabled="!item.gcEditFlag == 1"></div>
|
<span ng-if="!edit && isbill">{{item.render_value}}
|
<div class="showDetail" ng-show="detail" ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</div>
|
</span>
|
<input gcColName="{{item.gcColName}}" type="text" ng-show="false" ng-if="!edit && isbill" value="{{item.render_value}}" />
|
</span>
|
<label>
|
{{item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='item.gcInputMust==1' >*</text>
|
<text class="process_ifd" ng-if='item.gcMustCpn==1' >△</text>
|
</label>
|
</div>
|
<div ng-if="item.gcCpnType === 6" ng-show="item.gcShowFlag !== 0" class="select">
|
<span ng-if="!edit && isbill">{{item.select_value}}</span>
|
<span select3 edit-flag="item.gcEditFlag" edit="edit" item="item" ng-show="edit || !isbill" ng-mouseenter="detail= true" ng-mouseleave="detail = false" >
|
<!--<p ng-if="item.gcCpnDisc" >{{item.gcCpnDisc}}</p>-->
|
<select
|
ng-if="!!item.gcCpnMultiple"
|
value="{{item.render_value}}"
|
class="select_get"
|
multiple
|
load-data
|
>
|
<!--<option ng-if="kinds" ng-repeat="opt in options" {{opt.selected?'selected':''}} value="{{opt.value}}">
|
{{opt.value}}
|
</option>-->
|
</select>
|
<select
|
ng-if="!item.gcCpnMultiple"
|
value="{{item.render_value}}"
|
class="select_get"
|
load-data
|
>
|
<!--<option ng-if="kind" ng-repeat="opt in options" {{opt.selected?'selected':''}} value="{{opt.value}}" >
|
{{opt.value}}
|
</option>-->
|
<!--<option ng-repeat="opt in item.gcOptList" {{opt.selected?'selected':''}} >{{opt.value}}</option>-->
|
</select>
|
</span>
|
<div class="showDetail" ng-show="detail" ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</div>
|
<label>
|
{{item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='item.gcMustCpn==1' >△</text>
|
</label>
|
</div>
|
<div ng-if="item.gcCpnType === 7" ng-show="item.gcShowFlag !== 0" class="text">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<!--<p ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</p>-->
|
<span ng-if="!edit && isbill">{{item.render_value}}</span>
|
<input ng-blur="check_data(edit)" ng-model="item.render_value " ng-change="change_apmonut(item)" type="text" gcColName="{{item.gcColName}}" ng-disabled="!item.gcEditFlag == 1" value="{{item.render_value || item.gcDefVal}}" ng-show="edit || !isbill" >
|
</span>
|
<div class="showDetail" ng-show="detail" ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</div>
|
<label ng-class="{is_red:item.is_red}">
|
{{item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30 && item.expend_standard != undefined && item.expend_standard_sp != 0" >{{item.expend_standard}}</i>
|
<i ng-show="type==30 && item.expend_standard_sp != undefined" >{{item.expend_standard_sp}}</i>
|
<i ng-show="type==30 && item.billMoney != undefined" title="票据:{{item.billMoney}}">票据:{{item.billMoney}}</i>
|
</label>
|
</div>
|
<!--城市选择部分-->
|
<div ng-if="item.gcCpnType === 11 ">
|
<div select-city ng-show="city" class="col-md-12 citycity" style="padding: 0;"></div>
|
<a class="btn btn-default citybtn" ng-show="!city" ng-click="citybtn()">{{cityList.join(",")||'请选择城市'}}</a>
|
</div>
|
<!--去掉查看表单中的下划线-->
|
<div ng-if="item.gcCpnType === 9 " class="hr">
|
<span>
|
<!--<p ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</p>-->
|
<div class="showDetail" ng-show="detail" ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</div>
|
<hr style="margin:12px 0px;">
|
</span>
|
</div>
|
<!--选择人员-->
|
<div ng-if="item.gcCpnType === 12" class="people">
|
<div user-selector item="item" parentitem="item" type="type"></div>
|
</div>
|
<!--申请单选择-->
|
<div class="apply_control search_column" ng-if="item.gcCpnType === 14 && type == 30">
|
<label>{{item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='item.gcInputMust==1'>*</text>
|
<a gcColName="{{item.gcColName}}" choose_apply="1" ng-href="javascript:void(0);" ng-show="isbill=='false'" ng-click="show_expend_select(edit);">选择申请单</a></label>
|
<!--<input class="apply_control_number_input" gcColName="{{item.gcColName}}" value="{{item.render_value}}" readonly="readonly" style="border: none;"></input>-->
|
<table class="apply_select_table col-md-12" ng-if="expend_thshow">
|
<tr>
|
<th ng-repeat="head in expend_heads track by $index">{{head.gcCpnAlias}}</th>
|
</tr>
|
<tr ng-repeat="info in expend_selectinfo track by $index">
|
<td ng-repeat="head in expend_heads">{{info[head.gcColName]}}</td>
|
</tr>
|
</table>
|
<div ng-if="expend_select_show " class="apply_select" onMouseOver="$(this).draggable();event.stopPropagation();">
|
<div class="apply_select_close">
|
<p>可选择申请</p>
|
<i class="fa fa-times apply_close" ng-click="close_expend_select()"></i>
|
</div>
|
<!--<div class="apply_select_search">
|
<span select3 item="expend_search" class="expend_search_style">
|
<select
|
load-data
|
>
|
</select>
|
</span>
|
<button ng-click="expend_search_info();" class="btn btn-success btn-favourite btn-action apply_search_btn">查询</button>
|
</div>-->
|
<table class="apply_select_table">
|
<thead>
|
<tr>
|
<th ng-repeat="head in expend_heads">{{head.gcCpnAlias}}</th>
|
<th>选择</th>
|
</tr>
|
</thead>
|
<tbody>
|
<tr ng-repeat="data in expend_info">
|
<td ng-repeat="head in expend_heads">{{data[head.gcColName]}}</td>
|
<td><button class="btn btn-success btn-favourite btn-action" ng-click="selected_expend(data,item)">选择</button></td>
|
</tr>
|
</tbody>
|
</table>
|
<div class="condition_search_footer">
|
<label class="first">
|
<span>
|
<select ng-model="expend_page_number" ng-change="expend_change_page_number();">
|
<option value="5" selected="selected">5条/页</option>
|
<option value="10" >10条/页</option>
|
</select>
|
</span>
|
<span >
|
共{{math_ceil(expend_rows/expend_page_number)}}页
|
</span>
|
</label>
|
<label class="second">
|
<span>
|
<a ng-href="javascript:void(0);" ng-click="expend_pre_page();" href="javascript:void(0);">
|
<i class="fa" aria-hidden="true">上一页</i>
|
</a>
|
</span>
|
<span>
|
<a ng-href="javascript:void(0);" ng-click="expend_next_page();" href="javascript:void(0);">
|
<i class="fa" aria-hidden="true">下一页</i>
|
</a>
|
</span>
|
<span class="ng-binding">第<input class="pagenumber" type="text" value="1" ng-model="expend_pages"> 页/ 共{{math_ceil(expend_rows/expend_page_number)}}页</span>
|
</label>
|
</div>
|
</div>
|
</div>
|
<!--标签-->
|
<!---->
|
<div ng-if="item.gcCpnType === 15" ng-show="item.gcShowFlag !== 0" class="textarea col-md-12">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<!--<p ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</p>-->
|
<div class="showDetail" ng-show="detail" ng-if="item.gcCpnDisc">{{item.gcCpnDisc}}</div>
|
<label ng-blur="check_data(edit)" ng-model="item.render_value " ng-change="change_apmonut(item)" value="{{item.render_value || item.gcDefVal}}" gcColName="{{item.gcColName}}" ng-if="edit || !isbill" ng-disabled="!item.gcEditFlag == 1" >
|
</label>
|
<span ng-show="edit || !isbill">{{item.render_value ||item.gcDefVal}}</span>
|
<span ng-if="!edit && isbill">{{item.render_value || item.gcDefVal}}</span>
|
</span>
|
<label class="ng-binding">
|
{{item.gcCpnAlias}}
|
</label>
|
</div>
|
<!--选择组织机构-->
|
<!--<div ng-if="item.gcCpnType === 16" class="people">
|
<div org-selector item="item" parentitem="item" type="type"></div>
|
</div>-->
|
<!--子表单-->
|
<div ng-if="item.gcCpnType === 10" ng-show="item.gcCpnType == tap_type" class="col-md-12 sub_form">
|
<div class="sub_form_container sub_form_s">
|
<label ng-class="{nobill_red:item.nobill_red,is_red:item.is_red}" style="display: block;">{{item.gcCpnAlias}}{{item.num}} {{item.is_nobill}} {{item.bill_user_err}}</label>
|
<div class="sub_frm_tlbar" ng-show="btnflag">
|
<!--<div class="sfm_cou" ng-show="btnflag">
|
<a ng-href="javascript:void(0);" ng-click="query_journel_budget()">
|
<img src="./static/img/calculate.png" title="计算费用"/>
|
</a>
|
</div> -->
|
<div class="sfm_plus">
|
<a ng-href="javascript:void(0);" ng-click="duplicate_sub_form(item);">
|
<img src="./static/img/createorder.png" title="添加" />
|
</a>
|
</div>
|
<div class="sfm_minus">
|
<a ng-href="javascript:void(0);" ng-click="rm_sub_form(item); ">
|
<img src="./static/img/delete.png" title="删除" />
|
</a>
|
</div>
|
</div>
|
<div class=" {{item_column(_item)}}" ng-show="_item.gcShowFlag !== 0" ng-repeat="_item in item.child track by $index">
|
<!--选择人员-->
|
<div ng-if="_item.gcCpnType === 12" class="people">
|
<div user-selector item="_item" parentitem="item" type="type"></div>
|
</div>
|
<div ng-if="_item.gcCpnType === 1" ng-show="_item.gcShowFlag !== 0" class="text">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<input ng-blur="check_data(edit)" ng-model="_item.render_value" ng-change="change_apmonut(_item,item)" type="text" gcColName="{{_item.gcColName}}" value="{{_item.render_value || _item.gcDefVal}}" ng-show="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1"><i ng-if="edit || !isbill">{{item|getamount:_item}}</i>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</span>
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30 && _item.nobill_cd" >无</i>
|
<i ng-show="type==30 && _item.expend_standard != undefined && _item.expend_standard_sp != 0" >{{_item.expend_standard}}</i>
|
<i ng-show="type==30 && _item.expend_standard_sp != undefined" >{{_item.expend_standard_sp}}</i>
|
<i ng-show="type==30 && _item.billMoney != undefined" title="票据:{{_item.billMoney}}">票据:{{_item.billMoney}}</i>
|
<i ng-show="type==30" title="{{_item.bhName}}">{{_item.bhName}}</i>
|
<i ng-show="type==30" title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
<i ng-show="type==20 && _item.standard_show"> 标准金额:{{_item.standard_money}}</i>
|
</label>
|
</div>
|
<div ng-if="_item.gcCpnType === 2" ng-show="_item.gcShowFlag !== 0" class="textarea col-md-12">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<p ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</p>
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<textarea ng-blur="check_data(edit)" ng-model="_item.render_value " gcColName="{{_item.gcColName}}" ng-show="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1" >{{_item.render_value || _item.gcDefVal}}</textarea>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</span>
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30 && _item.nobill_cd" >无</i>
|
<i ng-show="type==30 && _item.expend_standard != undefined && _item.expend_standard_sp != 0" >{{_item.expend_standard}}</i>
|
<i ng-show="type==30 && _item.expend_standard_sp != undefined" >{{_item.expend_standard_sp}}</i>
|
<i ng-show="type==30 && _item.billMoney != undefined" title="票据:{{_item.billMoney}}">票据:{{_item.billMoney}}</i>
|
<i ng-show="type==30" title="{{_item.bhName}}">{{_item.bhName}}</i>
|
<i ng-show="type==30" title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
<i ng-show="type==20 && _item.standard_show"> 标准金额:{{_item.standard_money}}</i>
|
</label>
|
</div>
|
<div ng-if="_item.gcCpnType === 3" ng-show="_item.gcShowFlag !== 0" class="checkbox">
|
<div ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</div>
|
<div>
|
<span ng-repeat="opt in _item.gcOptList" class="checkbox_container">
|
<input ng-model="_item.render_value " type="checkbox" value="{{opt.value}}" ng-disabled="!_item.gcEditFlag == 1" ng-checked="check_item(_item, opt);" gcColName="{{_item.gcColName}}" ng-show="edit || !isbill" >
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<label ng-if="opt.selected==true || (edit || !isbill)" class="cb_label">{{opt.value}}</label>
|
</span>
|
</div>
|
</div>
|
<div ng-if="_item.gcCpnType === 4" ng-show="_item.gcShowFlag !== 0" class="radio">
|
<div ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1' ng-disabled="!_item.gcEditFlag == 1">*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</div>
|
<div>
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<span ng-repeat="opt in _item.gcOptList" class="rd_container">
|
<input
|
type="radio"
|
value="{{opt.value}}"
|
name="{{_item.gcCpnAlias}}"
|
gcColName="{{_item.gcColName}}"
|
ng-disabled="!_item.gcEditFlag == 1"
|
ng-show="edit || !isbill"
|
ng-checked="check_item(_item, opt);" > <i ng-show="edit || !isbill">{{item|getamount:_item}}</i>
|
|
<label ng-if="opt.selected==true || (edit || !isbill)" class="rd_label">{{opt.value}}</label>
|
</span>
|
</div>
|
</div>
|
|
<div ng-if="_item.gcCpnType === 5" ng-show="_item.gcShowFlag !== 0" class="text timeinfo">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
|
<!--<p ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</p>-->
|
<div ng-if="_item.gcCpnFormat == 30"><input type="text" item="{{_item}}" realitem="_item" editflag="{{_item.gcEditFlag}}" edit="edit" date ng-model="_item.render_value" ng-change="change_apmonut(_item,item)" gcColName="{{_item.gcColName}}" value="{{_item.render_value || _item.gcDefVal}}" ng-if="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1" readonly="readonly"></div>
|
<div ng-if="_item.gcCpnFormat == 31"><input type="text" item="{{_item}}" realitem="_item" editflag="{{_item.gcEditFlag}}" edit="edit" datetime ng-model="_item.render_value" ng-change="change_apmonut(_item,item)" gcColName="{{_item.gcColName}}" value="{{_item.render_value || _item.gcDefVal}}" ng-if="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1" readonly="readonly"></div>
|
<div ng-if="_item.gcCpnFormat == 32"><input type="text" item="{{_item}}" realitem="_item" editflag="{{_item.gcEditFlag}}" edit="edit" time ng-model="_item.render_value" ng-change="change_apmonut(_item,item)" gcColName="{{_item.gcColName}}" value="{{_item.render_value || _item.gcDefVal}}" ng-if="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1" readonly="readonly"></div>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<input gcColName="{{_item.gcColName}}" type="text" ng-show="false" ng-if="!edit && isbill" value="{{_item.render_value}}" />
|
</span>
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1' ng-disabled="!_item.gcEditFlag == 1">*</text>
|
<i ng-show="type==30 && _item.nobill_cd" >无</i>
|
<i ng-show="type==30" title="{{_item.bhName}}">{{_item.bhName}}</i>
|
<i ng-show="type==30" title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
</label>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
|
</div>
|
<div ng-if="_item.gcCpnType === 6" ng-show="_item.gcShowFlag !== 0" class="select">
|
<span ng-if="!edit && isbill">{{_item.select_value}}</span>
|
<span select3 bill-check="bill_data_check()" childitem="item" edit-flag="_item.gcEditFlag" edit="edit" item="_item" ng-show="edit || !isbill" ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<select
|
ng-if="!!_item.gcCpnMultiple"
|
ng-disabled="!_item.gcEditFlag == 1"
|
value="{{_item.render_value}}"
|
class="select_get"
|
multiple
|
>
|
<option ng-repeat="opt in _item.gcOptList" {{opt.selected?'selected':''}} value="{{opt.value}}" >{{opt.value}}</option>
|
</select>
|
<select
|
ng-if="!_item.gcCpnMultiple"
|
value="{{_item.render_value}}"
|
ng-disabled="!_item.gcEditFlag == 1"
|
class="select_get"
|
>
|
<option ng-repeat="opt in _item.gcOptList" {{opt.selected?'selected':''}} value="{{opt.value}}" >{{opt.value}}</option>
|
</select>
|
</span>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30 && _item.nobill_cd" >无</i>
|
<i ng-show="type==30" title="{{_item.bhName}}">{{_item.bhName}}</i>
|
<i ng-show="type==30" title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
</label>
|
</div>
|
<div ng-if="_item.gcCpnType === 7" ng-show="_item.gcShowFlag !== 0" class="text">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<input ng-blur="check_data(edit)" ng-model="_item.render_value " ng-change="change_apmonut(_item,item)" type="text" gcColName="{{_item.gcColName}}" value="{{_item.render_value || _item.gcDefVal}}" ng-show="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1" >
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</span>
|
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30 &&_item.nobill_cd" >无</i>
|
<i ng-show="type==30 && _item.expend_standard != undefined && _item.expend_standard_sp != 0" >{{_item.expend_standard}}</i>
|
<i ng-show="type==30 && _item.expend_standard_sp != undefined" >{{_item.expend_standard_sp}}</i>
|
<i ng-show="type==30 && _item.billMoney != undefined" title="票据:{{_item.billMoney}}">票据:{{_item.billMoney}}</i>
|
<i ng-show="type==30" title="{{_item.bhName}}">{{_item.bhName}}</i>
|
<i ng-show="type==30" title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
<i ng-show="type==20 && _item.standard_show"> 标准金额:{{_item.standard_money}}</i>
|
</label>
|
</div>
|
<div ng-if="_item.gcCpnType === 8" ng-show="_item.gcShowFlag !== 0" class="textarea">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<textarea gcColName="{{_item.gcColName}}" ng-show="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1">{{_item.render_value || _item.gcDefVal}}</textarea><i ng-show="edit || !isbill">{{item|getamount:_item}}</i>
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
</span>
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">
|
{{_item.gcCpnAlias}}
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30_item.nobill_cd" >无</i>
|
<i ng-show="type==30" title="{{_item.bhName}}">{{_item.bhName}}</i>
|
<i ng-show="type==30" title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
</label>
|
</div>
|
<!--去掉查看表单中的下划线(子表单中)-->
|
<div ng-if="item.gcCpnType === 9 && type != '10' && type != '20' && type != '30'" class="hr">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<hr>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</span>
|
<label>
|
{{_item.gcCpnAlias}}
|
</label>
|
</div>
|
<div ng-if="_item.gcCpnType === 15" ng-show="_item.gcShowFlag !== 0" class="textarea col-md-12">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<!--<p ng-if="_item.gcCpnDisc">{{item.gcCpnDisc}}</p>-->
|
<label ng-blur="check_data(edit)" ng-model="_item.render_value " ng-change="change_apmonut(_item,item)" value="{{_item.render_value || _item.gcDefVal}}" gcColName="{{_item.gcColName}}" ng-show="edit || !isbill" >
|
</label>
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</span>
|
<label ng-class="{is_red:_item.is_red}" class="ng-binding">
|
{{_item.gcCpnAlias}}
|
<i ng-show="type==30" >{{_item.bhName}}</i>
|
<i ng-show="type==30" >{{_item.bbName}}</i>
|
</label>
|
</div>
|
|
</div>
|
|
</div>
|
<!--<div class="cost_div" class="col-md-12" style="padding:0px;margin-top:10px;" name="journel_budget" user_id="{{budget_item.userId}}">
|
<div ng-repeat="budget in item.budget_list[0].child" class="col-md-12">
|
<div class="text">
|
<span>
|
<input
|
type="text"
|
gcColName="{{budget.name}}"
|
jp_cd_code="{{budget.jp_cd_code}}"
|
ng-model="budget.jp_amount"
|
>
|
</span>
|
<label>
|
{{budget.mdDesc || budget.cd_name}}
|
</label>
|
</div>
|
</div>
|
</div>-->
|
</div>
|
<!--支付方式子表单-->
|
<div ng-if="item.gcCpnType === 17" ng-show="item.gcCpnType == tap_type" class="col-md-12 sub_form">
|
<div class="sub_form_container sub_form_s">
|
<label ng-class="{nobill_red:item.nobill_red,is_red:item.is_red}" style="display: block;">{{item.gcCpnAlias}}{{item.num}} {{item.is_nobill}} {{item.bill_user_err}}</label>
|
<div class="sub_frm_tlbar" ng-show="btnflag">
|
<!--<div class="sfm_cou" ng-show="btnflag">
|
<a ng-href="javascript:void(0);" ng-click="query_journel_budget()">
|
<img src="./static/img/calculate.png" title="计算费用"/>
|
</a>
|
</div> -->
|
<div class="sfm_plus">
|
<a ng-href="javascript:void(0);" ng-click="duplicate_sub_form(item);">
|
<img src="./static/img/createorder.png" title="添加" />
|
</a>
|
</div>
|
<div class="sfm_minus">
|
<a ng-href="javascript:void(0);" ng-click="rm_sub_form(item); ">
|
<img src="./static/img/delete.png" title="删除" />
|
</a>
|
</div>
|
</div>
|
<div class=" {{item_column(_item)}}" ng-show="_item.gcShowFlag !== 0" ng-repeat="_item in item.child track by $index">
|
<!--选择人员-->
|
<div ng-if="_item.gcCpnType === 12" class="people">
|
<div user-selector item="_item" parentitem="item" type="type"></div>
|
</div>
|
<div ng-if="_item.gcCpnType === 1" ng-show="_item.gcShowFlag !== 0" class="text">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<input ng-blur="check_data(edit)" ng-model="_item.render_value" ng-change="change_apmonut(_item,item)" type="text" gcColName="{{_item.gcColName}}" value="{{_item.render_value || _item.gcDefVal}}" ng-show="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1"><i ng-if="edit || !isbill">{{item|getamount:_item}}</i>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</span>
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30 && _item.nobill_cd" >无</i>
|
<i ng-show="type==30 && _item.expend_standard != undefined && _item.expend_standard_sp != 0" >{{_item.expend_standard}}</i>
|
<i ng-show="type==30 && _item.expend_standard_sp != undefined" >{{_item.expend_standard_sp}}</i>
|
<i ng-show="type==30 && _item.billMoney != undefined" title="票据:{{_item.billMoney}}">票据:{{_item.billMoney}}</i>
|
<i ng-show="type==30" title="{{_item.bhName}}">{{_item.bhName}}</i>
|
<i ng-show="type==30" title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
<i ng-show="type==20 && _item.standard_show"> 标准金额:{{_item.standard_money}}</i>
|
</label>
|
</div>
|
<div ng-if="_item.gcCpnType === 2" ng-show="_item.gcShowFlag !== 0" class="textarea col-md-12">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<p ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</p>
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<textarea ng-blur="check_data(edit)" ng-model="_item.render_value " gcColName="{{_item.gcColName}}" ng-show="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1" >{{_item.render_value || _item.gcDefVal}}</textarea>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</span>
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30 && _item.nobill_cd" >无</i>
|
<i ng-show="type==30 && _item.expend_standard != undefined && _item.expend_standard_sp != 0" >{{_item.expend_standard}}</i>
|
<i ng-show="type==30 && _item.expend_standard_sp != undefined" >{{_item.expend_standard_sp}}</i>
|
<i ng-show="type==30 && _item.billMoney != undefined" title="票据:{{_item.billMoney}}">票据:{{_item.billMoney}}</i>
|
<i ng-show="type==30" title="{{_item.bhName}}">{{_item.bhName}}</i>
|
<i ng-show="type==30" title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
<i ng-show="type==20 && _item.standard_show"> 标准金额:{{_item.standard_money}}</i>
|
</label>
|
</div>
|
<div ng-if="_item.gcCpnType === 3" ng-show="_item.gcShowFlag !== 0" class="checkbox">
|
<div ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</div>
|
<div>
|
<span ng-repeat="opt in _item.gcOptList" class="checkbox_container">
|
<input ng-model="_item.render_value " type="checkbox" value="{{opt.value}}" ng-disabled="!_item.gcEditFlag == 1" ng-checked="check_item(_item, opt);" gcColName="{{_item.gcColName}}" ng-show="edit || !isbill" >
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<label ng-if="opt.selected==true || (edit || !isbill)" class="cb_label">{{opt.value}}</label>
|
</span>
|
</div>
|
</div>
|
<div ng-if="_item.gcCpnType === 4" ng-show="_item.gcShowFlag !== 0" class="radio">
|
<div ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1' ng-disabled="!_item.gcEditFlag == 1">*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</div>
|
<div>
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<span ng-repeat="opt in _item.gcOptList" class="rd_container">
|
<input
|
type="radio"
|
value="{{opt.value}}"
|
name="{{_item.gcCpnAlias}}"
|
gcColName="{{_item.gcColName}}"
|
ng-disabled="!_item.gcEditFlag == 1"
|
ng-show="edit || !isbill"
|
ng-checked="check_item(_item, opt);" > <i ng-show="edit || !isbill">{{item|getamount:_item}}</i>
|
|
<label ng-if="opt.selected==true || (edit || !isbill)" class="rd_label">{{opt.value}}</label>
|
</span>
|
</div>
|
</div>
|
|
<div ng-if="_item.gcCpnType === 5" ng-show="_item.gcShowFlag !== 0" class="text timeinfo">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
|
<!--<p ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</p>-->
|
<div ng-if="_item.gcCpnFormat == 30"><input type="text" item="{{_item}}" realitem="_item" editflag="{{_item.gcEditFlag}}" edit="edit" date ng-model="_item.render_value" ng-change="change_apmonut(_item,item)" gcColName="{{_item.gcColName}}" value="{{_item.render_value || _item.gcDefVal}}" ng-if="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1" readonly="readonly"></div>
|
<div ng-if="_item.gcCpnFormat == 31"><input type="text" item="{{_item}}" realitem="_item" editflag="{{_item.gcEditFlag}}" edit="edit" datetime ng-model="_item.render_value" ng-change="change_apmonut(_item,item)" gcColName="{{_item.gcColName}}" value="{{_item.render_value || _item.gcDefVal}}" ng-if="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1" readonly="readonly"></div>
|
<div ng-if="_item.gcCpnFormat == 32"><input type="text" item="{{_item}}" realitem="_item" editflag="{{_item.gcEditFlag}}" edit="edit" time ng-model="_item.render_value" ng-change="change_apmonut(_item,item)" gcColName="{{_item.gcColName}}" value="{{_item.render_value || _item.gcDefVal}}" ng-if="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1" readonly="readonly"></div>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<input gcColName="{{_item.gcColName}}" type="text" ng-show="false" ng-if="!edit && isbill" value="{{_item.render_value}}" />
|
</span>
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1' ng-disabled="!_item.gcEditFlag == 1">*</text>
|
<i ng-show="type==30 && _item.nobill_cd" >无</i>
|
<i ng-show="type==30" title="{{_item.bhName}}">{{_item.bhName}}</i>
|
<i ng-show="type==30" title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
</label>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
|
</div>
|
<div ng-if="_item.gcCpnType === 6" ng-show="_item.gcShowFlag !== 0" class="select">
|
<span ng-if="!edit && isbill">{{_item.select_value}}</span>
|
<span select3 bill-check="bill_data_check()" childitem="item" edit-flag="_item.gcEditFlag" edit="edit" item="_item" ng-show="edit || !isbill" ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<select
|
ng-if="!!_item.gcCpnMultiple"
|
ng-disabled="!_item.gcEditFlag == 1"
|
value="{{_item.render_value}}"
|
class="select_get"
|
multiple
|
>
|
<option ng-repeat="opt in _item.gcOptList" {{opt.selected?'selected':''}} value="{{opt.value}}" >{{opt.value}}</option>
|
</select>
|
<select
|
ng-if="!_item.gcCpnMultiple"
|
value="{{_item.render_value}}"
|
ng-disabled="!_item.gcEditFlag == 1"
|
class="select_get"
|
>
|
<option ng-repeat="opt in _item.gcOptList" {{opt.selected?'selected':''}} value="{{opt.value}}" >{{opt.value}}</option>
|
</select>
|
</span>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30 && _item.nobill_cd" >无</i>
|
<i ng-show="type==30" title="{{_item.bhName}}">{{_item.bhName}}</i>
|
<i ng-show="type==30" title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
</label>
|
</div>
|
<div ng-if="_item.gcCpnType === 7" ng-show="_item.gcShowFlag !== 0" class="text">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<input ng-blur="check_data(edit)" ng-model="_item.render_value " ng-change="change_apmonut(_item,item)" type="text" gcColName="{{_item.gcColName}}" value="{{_item.render_value || _item.gcDefVal}}" ng-show="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1" >
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</span>
|
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">
|
{{_item.gcCpnAlias}}
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30 &&_item.nobill_cd" >无</i>
|
<i ng-show="type==30 && _item.expend_standard != undefined && _item.expend_standard_sp != 0" >{{_item.expend_standard}}</i>
|
<i ng-show="type==30 && _item.expend_standard_sp != undefined" >{{_item.expend_standard_sp}}</i>
|
<i ng-show="type==30 && _item.billMoney != undefined" title="票据:{{_item.billMoney}}">票据:{{_item.billMoney}}</i>
|
<i ng-show="type==30" title="{{_item.bhName}}" class="check_data">{{_item.bhName}}</i>
|
<i ng-show="type==30"title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
<i ng-show="type==20 && _item.standard_show"> 标准金额:{{_item.standard_money}}</i>
|
</label>
|
</div>
|
<div ng-if="_item.gcCpnType === 8" ng-show="_item.gcShowFlag !== 0" class="textarea">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<textarea gcColName="{{_item.gcColName}}" ng-show="edit || !isbill" ng-disabled="!_item.gcEditFlag == 1">{{_item.render_value || _item.gcDefVal}}</textarea><i ng-show="edit || !isbill">{{item|getamount:_item}}</i>
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<text class="manadatory_ifd" ng-if='_item.gcInputMust==1'>*</text>
|
</span>
|
<label ng-class="{is_red:_item.is_red || _item.nobill_cd || _item.sys_red}">
|
{{_item.gcCpnAlias}}
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
<text class="process_ifd" ng-if='_item.gcMustCpn==1' >△</text>
|
<i ng-show="type==30_item.nobill_cd" >无</i>
|
<i ng-show="type==30" title="{{_item.bhName}}">{{_item.bhName}}</i>
|
<i ng-show="type==30"title="{{_item.bbName}}">{{_item.bbName}}</i>
|
<i ng-show="type==30" title="{{_item.sys_value}}">{{_item.sys_value}}</i>
|
</label>
|
</div>
|
<!--去掉查看表单中的下划线(子表单中)-->
|
<div ng-if="item.gcCpnType === 9 && type != '10' && type != '20' && type != '30'" class="hr">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<hr>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</span>
|
<label>
|
{{_item.gcCpnAlias}}
|
</label>
|
</div>
|
<div ng-if="_item.gcCpnType === 15" ng-show="_item.gcShowFlag !== 0" class="textarea col-md-12">
|
<span ng-mouseenter="detail= true" ng-mouseleave="detail = false">
|
<!--<p ng-if="_item.gcCpnDisc">{{item.gcCpnDisc}}</p>-->
|
<label ng-blur="check_data(edit)" ng-model="_item.render_value " ng-change="change_apmonut(_item,item)" value="{{_item.render_value || _item.gcDefVal}}" gcColName="{{_item.gcColName}}" ng-show="edit || !isbill" >
|
</label>
|
<span ng-if="!edit && isbill">{{_item.render_value}}</span>
|
<div class="showDetail" ng-show="detail" ng-if="_item.gcCpnDisc">{{_item.gcCpnDisc}}</div>
|
</span>
|
<label ng-class="{is_red:_item.is_red}" class="ng-binding">
|
{{_item.gcCpnAlias}}
|
<i ng-show="type==30" >{{_item.bhName}}</i>
|
<i ng-show="type==30" >{{_item.bbName}}</i>
|
</label>
|
</div>
|
|
</div>
|
|
</div>
|
<!--<div class="cost_div" class="col-md-12" style="padding:0px;margin-top:10px;" name="journel_budget" user_id="{{budget_item.userId}}">
|
<div ng-repeat="budget in item.budget_list[0].child" class="col-md-12">
|
<div class="text">
|
<span>
|
<input
|
type="text"
|
gcColName="{{budget.name}}"
|
jp_cd_code="{{budget.jp_cd_code}}"
|
ng-model="budget.jp_amount"
|
>
|
</span>
|
<label>
|
{{budget.mdDesc || budget.cd_name}}
|
</label>
|
</div>
|
</div>
|
</div>-->
|
</div>
|
</div>
|
<div class="col-md-12 add_jour" ng-if="type != 10 && add_jour_show && edit" ng-show="form_jour.gcCpnType == tap_type">
|
<i ng-click="add_jour()" class="fa fa-plus-circle" aria-hidden="true"></i>
|
<span>添加行程</span>
|
</div>
|
<div class="col-md-12 add_jour" ng-if="type != 10 && add_pay_show && edit" ng-show="form_pay.gcCpnType == tap_type">
|
<i ng-click="add_pay()" class="fa fa-plus-circle" aria-hidden="true"></i>
|
<span>添加支付方式</span>
|
</div>
|
<div class="col-md-12 tabstrip" ng-if="form_jour && form_pay">
|
<ul>
|
<li ng-class="{'tabstrip_active':form_jour.gcCpnType == tap_type}" ng-click="toggle_tap(form_jour.gcCpnType)"><span title="{{form_jour.gcCpnAlias}}">{{form_jour.gcCpnAlias}}</span></li>
|
<li ng-class="{'tabstrip_active':form_pay.gcCpnType == tap_type}" ng-click="toggle_tap(form_pay.gcCpnType)"><span title="{{form_pay.gcCpnAlias}}">{{form_pay.gcCpnAlias}}</span></li>
|
</ul>
|
</div>
|
<!--<div class="col-md-12" ng-if="type == 30" ng-show=" rule_bill_show || show_cost_err || err_bill_show || unjoin_bill_show || all_err_show || (maindata_err && maindata_err.length != 0)">-->
|
<div class="col-md-12" ng-if="type == 30" ng-show=" rule_bill_show || show_cost_err || err_bill_show || unjoin_bill_show || all_err_show || (maindata_err && maindata_err.length != 0)">
|
<div class="col-md-12 sub_form">
|
<div class="sub_form_container cost_err">
|
<label class="col-md-12 " ng-if="all_err_show">【表单中有与审定信息不符的内容,详见红字信息】</label>
|
<label class="col-md-12 " ng-if="show_cost_err">【费用不符合标准提示信息】</label>
|
<div class="col-md-12">
|
<ul ng-repeat="errs in cost_err track by $index">
|
<li>{{errs.journame}}:{{errs.errinfo}}</li>
|
</ul>
|
</div>
|
<label class="col-md-12 " ng-if="rule_bill_show">【票据内容错误信息】</label>
|
<div class="col-md-12">
|
<ul ng-repeat="error in rule_bill track by $index">
|
<li ng-class="error.ruLevel == 30 ? 'activeops' : 'inactiveops'">{{error.ruleName}}<span ng-if="error.ruLevel != 30">(警告)</span>
|
</li>
|
</ul>
|
</div>
|
<!--<label class="col-md-12 " ng-if="unjoin_bill_show || nobill_money_hint != ''">【未关联到行程的票据错误信息】</label>-->
|
<label class="col-md-12 " ng-if="unjoin_bill_show">【未关联到行程的票据错误信息】</label>
|
<div class="col-md-12">
|
<!--<ul ng-if="nobill_money_hint != ''">
|
<li>
|
<span ng-if="nobill_money_hint.expend_money != undefined && nobill_money_hint.expend_money != 0">存在</span><span ng-if="nobill_money_hint.expend_money == undefined || nobill_money_hint.expend_money == 0">无</span>未关联到行程的票据,
|
<span ng-if="nobill_money_hint.expend_money != undefined">票据金额为{{nobill_money_hint.expend_money}}</span>
|
<span ng-if="nobill_money_hint.expend_money != undefined">报销金额为{{nobill_money_hint.nobill_money}}</span>
|
</li>
|
</ul>-->
|
<ul ng-repeat="err in unjoin_bill.child track by $index">
|
<li>{{err.billMsg}}</li>
|
</ul>
|
</div>
|
<!--<label class="col-md-12 " ng-if="other_cost.length > 0">【其它费用提示】</label>
|
<div class="col-md-12">
|
<ul ng-repeat="other in other_cost track by $index">
|
<li>{{other.journame}}存在其它费用,
|
<span ng-if="other.expend_money != undefined">票据金额为{{other.expend_money}}</span>
|
<span ng-if="other.bill_money != undefined">报销金额为{{other.bill_money}}</span>
|
</li>
|
</ul>
|
</div>-->
|
<label class="col-md-12 " ng-if="maindata_err && maindata_err.length != 0">【主数据缺失信息】</label>
|
<div class="col-md-12">
|
<ul ng-repeat="errs in maindata_err track by $index">
|
<li>{{errs.eViewMsg}}</li>
|
</ul>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
|
</div>
|
<div ng-if="type == 30 && isbill" style="float: right;">
|
<span>创建时间: {{createtime}} </span>
|
<span>订单状态: {{orderstatus}}</span>
|
</div>
|
<div class="btn-zone" ng-if="!isbill" >
|
|
<!--<div style=" position: fixed;z-index:10;width: 718px;"style="position:relative">-->
|
|
<button class="btn btn-success btn-favourite" ng-if="isguide" ng-click="goto_pre_page()" id="back">上一步</button>
|
<button ng-show="$parent.$parent.$parent.$parent.permission_check('edit',1)" ng-if="action != 2 && form_items" class="btn btn-success btn-favourite" ng-click="redirect_to_args('/budget_form_customize', type, business, guId, action);" id="edit_template">编辑</button>
|
<p ng-if="action != 2 && !form_items">您目前没有创建表单</p>
|
<button ng-if="action == 2 && $parent.$parent.$parent.$parent.permission_check('start',1)" class="btn btn-success btn-favourite" ng-click="enable_templates(business, type, guId, action);" id="start_template">启用该模板</button>
|
<button ng-if="action == 2 && $parent.$parent.$parent.$parent.permission_check('create',1)" class="btn btn-success btn-favourite" ng-click="redirect_to_args('/budget_form_customize', type, business,guId, action);" id="create_form_template">从该模板创建</button>
|
<!--</div>-->
|
</div>
|