|
|
@@ -3,17 +3,26 @@ |
|
|
|
<image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image> |
|
|
|
<text style="top:{{isIPX?'54px':'30px'}};">{{form.id?"":"新增"}}工程项目</text> |
|
|
|
</view> |
|
|
|
<view class="main-box table-box" style="margin-top:{{isIPX?'100px':'75px'}};"> |
|
|
|
<view class="main-box table-box table-boxs" style="margin-top:{{isIPX?'100px':'75px'}};"> |
|
|
|
|
|
|
|
<van-field label="项目名称" value="{{ form.projectName }}" placeholder="项目名称" border="{{ false }}" bind:change="onChange" input-align="right" required data-value="form.projectName"/> |
|
|
|
<van-field label="合同承建方" value="{{ form.projectContractor }}" placeholder="合同承建方" border="{{ false }}" bind:change="onChange" input-align="right" required data-value="form.projectContractor"/> |
|
|
|
|
|
|
|
<van-field readonly label="开工日期" value="{{ form.startTime }}" placeholder="开工日期" border="{{ false }}" bind:change="onChange" input-align="right" required is-link arrow-direction ="down" bindtap="openBox" data-name="showStartTime"/> |
|
|
|
<van-calendar show="{{ showStartTime }}" bind:close="closeBox" data-name="showStartTime" bind:confirm="onConfirmTime" data-value="form.startTime" show-confirm="{{ false }}" /> |
|
|
|
|
|
|
|
<van-field label="竣工日期" value="{{ form.endTime }}" placeholder="竣工日期" border="{{ false }}" bind:change="onChange" input-align="right" required is-link arrow-direction ="down" bindtap="openBox" data-name="showEndTime" /> |
|
|
|
<van-calendar show="{{ showEndTime }}" bind:close="closeBox" data-name="showEndTime" bind:confirm="onConfirmTime" data-value="form.endTime" show-confirm="{{ false }}" /> |
|
|
|
|
|
|
|
<view class="section" style="margin-top: -28rpx;"> |
|
|
|
<view class="section__title"><text style="color:red;margin-right: 8rpx;">*</text>开工日期</view> |
|
|
|
<picker mode="date" value="{{form.startTime}}" bindchange="onConfirmStartTime"> |
|
|
|
<view class="picker"> |
|
|
|
{{form.startTime?form.startTime:'开工日期'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
</view> |
|
|
|
<view class="section" style="margin-top: -28rpx;"> |
|
|
|
<view class="section__title"><text style="color:red;margin-right: 8rpx;">*</text>竣工日期</view> |
|
|
|
<picker mode="date" value="{{form.endTime}}" bindchange="onConfirmEndTime"> |
|
|
|
<view class="picker"> |
|
|
|
{{form.endTime?form.endTime:'竣工日期'}} |
|
|
|
</view> |
|
|
|
</picker> |
|
|
|
</view> |
|
|
|
<van-field label="合共价款(元)" value="{{ form.projectAmount }}" type="digit" placeholder="合共价款(元)" border="{{ false }}" bind:change="onChange" input-align="right" required data-value="form.projectAmount"/> |
|
|
|
|
|
|
|
|
|
|
|