微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

add.wxml 16 KiB

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