微信小程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

303 righe
16 KiB

  1. <!--pages/contract/add/add.wxml-->
  2. <view class="ns" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="../../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back" referrer="no-referrer|origin|unsafe-url"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">{{form.id?"":"新增"}}合同信息</text>
  5. </view>
  6. <view class="main-box table-box" style="margin-top:{{isIPX?'100px':'75px'}};">
  7. <view style="margin-bottom:15px;">
  8. <image src="../../../image/icon/contract_icon.png" referrer="no-referrer|origin|unsafe-url" style="width: 15px;height: 15px;margin-right: 10px;"></image>
  9. <text class="tit">合同信息</text>
  10. </view>
  11. <view class="table-boxs">
  12. <view>
  13. <view>
  14. <text><text style="color:red;margin-right: 10rpx;">*</text>合同编码</text>
  15. </view>
  16. <view>
  17. <input type="text" value="{{form.code}}" bindinput="bindNewInput" data-name="form.code" placeholder="合同编码" style="text-align: right;margin-top: 20rpx;" />
  18. </view>
  19. </view>
  20. <view>
  21. <view>
  22. <text><text style="color:red;margin-right: 10rpx;">*</text>合同名称</text>
  23. </view>
  24. <view>
  25. <input type="text" value="{{form.name}}" bindinput="bindNewInput" data-name="form.name" placeholder="合同名称" style="text-align: right;margin-top: 20rpx;" />
  26. </view>
  27. </view>
  28. <view class="section">
  29. <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>合同类型</view>
  30. <picker bindchange="onConfirmAssetType" value="{{assetTypeindex}}" range="{{assetTypeOptions}}" range-key="{{'dictLabel'}}">
  31. <view class="picker">
  32. {{assetTypeOptions[assetTypeindex].dictLabel?assetTypeOptions[assetTypeindex].dictLabel:"选择合同类型"}}
  33. <van-icon name="arrow-down" />
  34. </view>
  35. </picker>
  36. </view>
  37. <view class="section">
  38. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>合同来源</view>
  39. <picker bindchange="onConfirmContractionSource" value="{{contractionSourceindex}}" range="{{contractionSourceOptions}}" range-key="{{'dictLabel'}}">
  40. <view class="picker">
  41. {{contractionSourceOptions[contractionSourceindex].dictLabel?contractionSourceOptions[contractionSourceindex].dictLabel:"选择合同来源"}}
  42. <van-icon name="arrow-down" />
  43. </view>
  44. </picker>
  45. </view>
  46. <view>
  47. <view>
  48. <text><text style="color:red;margin-right: 10rpx;">*</text>甲方名称</text>
  49. </view>
  50. <view>
  51. <input type="text" value="{{form.firstParty}}" bindinput="bindNewInput" data-name="form.firstParty" placeholder="甲方名称" style="text-align: right;margin-top: 20rpx;" />
  52. </view>
  53. </view>
  54. <view>
  55. <view>
  56. <text><text style="color:red;margin-right: 22rpx;"></text>甲方代表</text>
  57. </view>
  58. <view>
  59. <input type="text" value="{{form.firstPartyDirector}}" bindinput="bindNewInput" data-name="form.firstPartyDirector" placeholder="甲方代表" style="text-align: right;margin-top: 20rpx;" />
  60. </view>
  61. </view>
  62. <view>
  63. <view>
  64. <text><text style="color:red;margin-right: 22rpx;"></text>甲方电话</text>
  65. </view>
  66. <view>
  67. <input type="text" value="{{form.firstPartyPhone}}" bindinput="bindNewInput" data-name="form.firstPartyPhone" placeholder="甲方电话" style="text-align: right;margin-top: 20rpx;" />
  68. </view>
  69. </view>
  70. <view>
  71. <view>
  72. <text><text style="color:red;margin-right: 10rpx;">*</text>乙方名称</text>
  73. </view>
  74. <view>
  75. <input type="text" value="{{form.secondParty}}" bindinput="bindNewInput" data-name="form.secondParty" placeholder="乙方名称" style="text-align: right;margin-top: 20rpx;" />
  76. </view>
  77. </view>
  78. <view>
  79. <view>
  80. <text><text style="color:red;margin-right: 22rpx;"></text>乙方代表</text>
  81. </view>
  82. <view>
  83. <input type="text" value="{{form.secondPartyDirector}}" bindinput="bindNewInput" data-name="form.secondPartyDirector" placeholder="乙方代表" style="text-align: right;margin-top: 20rpx;" />
  84. </view>
  85. </view>
  86. <view>
  87. <view>
  88. <text><text style="color:red;margin-right: 22rpx;"></text>乙方电话</text>
  89. </view>
  90. <view>
  91. <input type="text" value="{{form.secondPartyPhone}}" bindinput="bindNewInput" data-name="form.secondPartyPhone" placeholder="乙方电话" style="text-align: right;margin-top: 20rpx;" />
  92. </view>
  93. </view>
  94. <view class="section">
  95. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>收付款类型</view>
  96. <picker bindchange="onConfirmCollectionPay" value="{{collectionPayindex}}" range="{{collectionPayOptions}}" range-key="{{'dictLabel'}}">
  97. <view class="picker">
  98. {{collectionPayOptions[collectionPayindex].dictLabel?collectionPayOptions[collectionPayindex].dictLabel:"选择首付款类型"}}
  99. <van-icon name="arrow-down" />
  100. </view>
  101. </picker>
  102. </view>
  103. <view class="section">
  104. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>结款方式</view>
  105. <picker bindchange="onConfirmSettleType" value="{{settleTypeindex}}" range="{{settleTypeOptions}}" range-key="{{'dictLabel'}}">
  106. <view class="picker">
  107. {{settleTypeOptions[settleTypeindex].dictLabel?settleTypeOptions[settleTypeindex].dictLabel:"选择结款方式"}}
  108. <van-icon name="arrow-down" />
  109. </view>
  110. </picker>
  111. </view>
  112. <view>
  113. <view>
  114. <text><text style="color:red;margin-right: 10rpx;">*</text>合同金额</text>
  115. </view>
  116. <view>
  117. <input type="text" value="{{form.totalAmount}}" bindinput="bindNewInput" type="digit" data-name="form.totalAmount" placeholder="合同金额" style="text-align: right;margin-top: 20rpx;" />
  118. </view>
  119. </view>
  120. <view>
  121. <view>
  122. <text><text style="color:red;margin-right: 22rpx;"></text>数量/面积</text>
  123. </view>
  124. <view>
  125. <input type="text" value="{{form.num}}" bindinput="bindNewInput" type="digit" data-name="form.num" placeholder="数量/面积" style="text-align: right;margin-top: 20rpx;" />
  126. </view>
  127. </view>
  128. <view>
  129. <view>
  130. <text><text style="color:red;margin-right: 22rpx;"></text>计量单位</text>
  131. </view>
  132. <view>
  133. <input type="text" value="{{form.unit}}" bindinput="bindNewInput" data-name="form.unit" placeholder="计量单位" style="text-align: right;margin-top: 20rpx;" />
  134. </view>
  135. </view>
  136. <view>
  137. <view>
  138. <text><text style="color:red;margin-right: 10rpx;">*</text>单价(元)</text>
  139. </view>
  140. <view>
  141. <input type="text" value="{{form.price}}" bindinput="bindNewInput" type="digit" data-name="form.price" placeholder="单价(元)" style="text-align: right;margin-top: 20rpx;" />
  142. </view>
  143. </view>
  144. <view>
  145. <view>
  146. <text><text style="color:red;margin-right: 10rpx;">*</text>已结款(元)</text>
  147. </view>
  148. <view>
  149. <input type="text" value="{{form.receivedAmount}}" bindinput="bindNewInput" type="digit" data-name="form.receivedAmount" placeholder="已结款(元)" style="text-align: right;margin-top: 20rpx;" />
  150. </view>
  151. </view>
  152. <view>
  153. <view>
  154. <text><text style="color:red;margin-right: 22rpx;"></text>下次结款(元)</text>
  155. </view>
  156. <view>
  157. <input type="text" value="{{form.settledAmount}}" bindinput="bindNewInput" type="digit" data-name="form.settledAmount" placeholder="下次结款(元)" style="text-align: right;margin-top: 20rpx;" />
  158. </view>
  159. </view>
  160. <view class="section">
  161. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>签订日期</view>
  162. <picker mode="date" value="{{form.buildingTime}}" start="{{ minDate }}" end="{{ maxDate }}" bindchange="onConfirmBuildingTime">
  163. <view class="picker">
  164. {{form.buildingTime}}
  165. </view>
  166. </picker>
  167. </view>
  168. <view class="section">
  169. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>开始日期</view>
  170. <picker mode="date" value="{{form.startTime}}" start="{{ minDate }}" end="{{ maxDate }}" bindchange="onConfirmStartTime">
  171. <view class="picker">
  172. {{form.startTime}}
  173. </view>
  174. </picker>
  175. </view>
  176. <view class="section">
  177. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>结束日期</view>
  178. <picker mode="date" value="{{form.endTime}}" start="{{ minDate }}" end="{{ maxDate }}" bindchange="onConfirmEndTime">
  179. <view class="picker">
  180. {{form.endTime}}
  181. </view>
  182. </picker>
  183. </view>
  184. <view class="section">
  185. <view class="section__title"><text style="color:red;margin-right: 10rpx;">*</text>合同状态</view>
  186. <picker bindchange="onConfirmContractionStatus" value="{{contractionStatusindex}}" range="{{contractionStatusOptions}}" range-key="{{'dictLabel'}}">
  187. <view class="picker">
  188. {{contractionStatusOptions[contractionStatusindex].dictLabel?contractionStatusOptions[contractionStatusindex].dictLabel:"选择合同状态"}}
  189. <van-icon name="arrow-down" />
  190. </view>
  191. </picker>
  192. </view>
  193. <view>
  194. <view>
  195. <text><text style="color:red;margin-right: 22rpx;"></text>备注</text>
  196. </view>
  197. <view>
  198. <input type="text" value="{{form.remark}}" bindinput="bindNewInput" data-name="form.remark" placeholder="备注" style="text-align: right;margin-top: 20rpx;" />
  199. </view>
  200. </view>
  201. </view>
  202. </view>
  203. <view class="main-box table-box" style="margin-top:15px;">
  204. <view style="margin-bottom:15px;">
  205. <image src="../../../image/icon/target_icon.png" style="width: 15px;height: 15px;margin-right: 10px;" referrer="nor-referrer|origin|unsafe-url"></image>
  206. <text class="tit">招标信息</text>
  207. </view>
  208. <view class="table-boxs">
  209. <view class="section">
  210. <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>招标方式</view>
  211. <picker bindchange="onConfirmBiddingWay" value="{{biddingWayindex}}" range="{{biddingWayOptions}}" range-key="{{'dictLabel'}}">
  212. <view class="picker">
  213. {{biddingWayOptions[biddingWayindex].dictLabel?biddingWayOptions[biddingWayindex].dictLabel:"选择招标方式"}}
  214. <van-icon name="arrow-down" />
  215. </view>
  216. </picker>
  217. </view>
  218. <view>
  219. <view>
  220. <text><text style="color:red;margin-right: 22rpx;"></text>项目编号</text>
  221. </view>
  222. <view>
  223. <input type="text" value="{{form.itemId}}" bindinput="bindNewInput" placeholder="项目编号" data-name="form.itemId" style="text-align: right;margin-top: 20rpx;" />
  224. </view>
  225. </view>
  226. <view>
  227. <view>
  228. <text><text style="color:red;margin-right: 22rpx;"></text>项目名称</text>
  229. </view>
  230. <view>
  231. <input type="text" value="{{form.itemName}}" bindinput="bindNewInput" placeholder="项目名称" data-name="form.itemName" style="text-align: right;margin-top: 20rpx;" />
  232. </view>
  233. </view>
  234. <view>
  235. <view>
  236. <text><text style="color:red;margin-right: 22rpx;"></text>经办人</text>
  237. </view>
  238. <view>
  239. <input type="text" value="{{form.handleName}}" bindinput="bindNewInput" placeholder="经办人" data-name="form.handleName" style="text-align: right;margin-top: 20rpx;" />
  240. </view>
  241. </view>
  242. <view>
  243. <view>
  244. <text><text style="color:red;margin-right: 22rpx;"></text>预算金额(元)</text>
  245. </view>
  246. <view>
  247. <input type="text" value="{{form.budget}}" bindinput="bindNewInput" type="digit" placeholder="预算金额(元)" data-name="form.budget" style="text-align: right;margin-top: 20rpx;" />
  248. </view>
  249. </view>
  250. <view class="section">
  251. <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>招标日期</view>
  252. <picker mode="date" value="{{form.biddingDate}}" fields="day" start="{{ minDate }}" end="{{ maxDate }}" bindchange="onConfirmBiddingDate">
  253. <view class="picker">
  254. {{form.biddingDate?form.biddingDate.slice(0,9):'未选择'}}
  255. </view>
  256. </picker>
  257. </view>
  258. <view class="section">
  259. <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>招标类型</view>
  260. <picker bindchange="onConfirmbiddingType" value="{{biddingTypeindex}}" range="{{biddingTypeOptions}}" range-key="{{'dictLabel'}}">
  261. <view class="picker">
  262. {{biddingTypeOptions[biddingTypeindex].dictLabel?biddingTypeOptions[biddingTypeindex].dictLabel:"选择招标方式"}}
  263. <van-icon name="arrow-down" />
  264. </view>
  265. </picker>
  266. </view>
  267. <view>
  268. <view>
  269. <text><text style="color:red;margin-right: 22rpx;"></text>中标单位</text>
  270. </view>
  271. <view>
  272. <input type="text" value="{{form.winBiddingCompany}}" bindinput="bindNewInput" placeholder="中标单位" data-name="form.winBiddingCompany" style="text-align: right;margin-top: 20rpx;" />
  273. </view>
  274. </view>
  275. <view>
  276. <view>
  277. <text><text style="color:red;margin-right: 22rpx;"></text>中标金额(元)</text>
  278. </view>
  279. <view>
  280. <input type="text" value="{{form.winBiddingPrice}}" bindinput="bindNewInput" type="digit" placeholder="中标金额(元)" data-name="form.nawinBiddingPriceme" style="text-align: right;margin-top: 20rpx;" />
  281. </view>
  282. </view>
  283. <view>
  284. <view>
  285. <text><text style="color:red;margin-right: 22rpx;"></text>审核人</text>
  286. </view>
  287. <view>
  288. <input type="text" value="{{form.reviewer}}" bindinput="bindNewInput" placeholder="审核人" data-name="form.reviewer" style="text-align: right;margin-top: 20rpx;" />
  289. </view>
  290. </view>
  291. <view class="section">
  292. <view class="section__title"><text style="color:red;margin-right: 22rpx;"></text>审核时间</view>
  293. <picker mode="date" value="{{form.reviewTime}}" fields="day" start="{{ minDate }}" end="{{ maxDate }}" bindchange="onConfirmReviewTime">
  294. <view class="picker">
  295. {{form.reviewTime?form.reviewTime.slice(0,9):'未选择'}}
  296. </view>
  297. </picker>
  298. </view>
  299. </view>
  300. </view>
  301. <view class="bottom">
  302. <view class="btn2" bindtap="goSubmit" wx:if="{{form.contractionStatus==1}}">保存</view>
  303. </view>