settledStore.wxml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <view class="container">
  2. <form bindsubmit="formSubmit" bindreset="formReset">
  3. <tui-list-cell hover="{{false}}">
  4. <view class="tui-line-cell">
  5. <view class="text-lg text-bold">入驻基本信息</view>
  6. </view>
  7. </tui-list-cell>
  8. <tui-list-cell hover="{{false}}">
  9. <view class="tui-line-cell">
  10. <view class="tui-title">设备编号</view>
  11. <input placeholder-class="phcolor" class="tui-input" placeholder="请输入设备编号" name="deviceSn" type="text" value="{{values.deviceSn}}" data-name="values.deviceSn" catchinput="inputedit" bindblur="inputedit" />
  12. </view>
  13. </tui-list-cell>
  14. <tui-list-cell hover="{{false}}">
  15. <view class="tui-line-cell">
  16. <view class="tui-title">设备名称</view>
  17. <input placeholder-class="phcolor" class="tui-input" placeholder="请输入设备名称" name="deviceName" type="text" value="{{values.deviceName}}" data-name="values.deviceName" catchinput="inputedit" bindblur="inputedit" />
  18. </view>
  19. </tui-list-cell>
  20. <tui-list-cell hover="{{false}}">
  21. <view class="tui-line-cell">
  22. <view class="tui-title">设备号</view>
  23. <input placeholder-class="phcolor" class="tui-input" placeholder="请输入设备号" name="deviceLocation" type="text" value="{{values.deviceLocation}}" data-name="values.deviceLocation" catchinput="inputedit" bindblur="inputedit" />
  24. </view>
  25. </tui-list-cell>
  26. <picker bindchange="bindSchemePickerChange" value="{{index}}" range="{{schemeList}}" range-key="schemeName">
  27. <tui-list-cell hover="{{false}}">
  28. <view class="tui-line-cell">
  29. <view class="tui-title">方案</view>
  30. <input placeholder-class="phcolor" class="tui-input" placeholder="请选择方案" name="schemeName" type="text" disabled="true" value="{{values.schemeName}}" />
  31. </view>
  32. </tui-list-cell>
  33. </picker>
  34. <picker bindchange="bindStorePickerChange" value="{{index}}" range="{{storeList}}" range-key="storeName">
  35. <tui-list-cell hover="{{false}}">
  36. <view class="tui-line-cell">
  37. <view class="tui-title">门店</view>
  38. <input placeholder-class="phcolor" class="tui-input" placeholder="请选择门店" name="storeName" type="text" disabled="true" value="{{values.storeName}}" />
  39. </view>
  40. </tui-list-cell>
  41. </picker>
  42. <picker bindchange="bindDeviceTypePickerChange" value="{{index}}" range="{{deviceTypeList}}" range-key="deviceName">
  43. <tui-list-cell hover="{{false}}">
  44. <view class="tui-line-cell">
  45. <view class="tui-title">设备类型</view>
  46. <input placeholder-class="phcolor" class="tui-input" name="deviceTypeName" placeholder="请选择设备类型" type="text" disabled="true" value="{{values.deviceTypeName}}" />
  47. </view>
  48. </tui-list-cell>
  49. </picker>
  50. <picker bindchange="bindDictPickerChange" value="{{index}}" range="{{dictList}}" range-key="text">
  51. <tui-list-cell hover="{{false}}">
  52. <view class="tui-line-cell">
  53. <view class="tui-title">设备品牌</view>
  54. <input placeholder-class="phcolor" class="tui-input" name="deviceBrandName" placeholder="请选择设备品牌" type="text" disabled="true" value="{{values.deviceBrandName}}" />
  55. </view>
  56. </tui-list-cell>
  57. </picker>
  58. <picker wx:if="{{userInfo.mgvmRole!=3}}" bindchange="bindAgentPickerChange" value="{{index}}" range="{{agentList}}" range-key="username">
  59. <tui-list-cell hover="{{false}}">
  60. <view class="tui-line-cell">
  61. <view class="tui-title">代理商</view>
  62. <input placeholder-class="phcolor" class="tui-input" name="agentName" placeholder="请选择代理商" type="text" disabled="true" value="{{values.agentName}}" />
  63. </view>
  64. </tui-list-cell>
  65. </picker>
  66. <tui-list-cell hover="{{false}}">
  67. <view class="tui-line-cell">
  68. <view class="tui-title">支付方式</view>
  69. <checkbox-group style="line-height:40rpx" bindchange="checkboxChange">
  70. <view wx:for="{{payTypeList}}" style=" display: inline-block;height:50rpx;margin:0rpx 20rpx;" wx:key="key" wx:for-item="item">
  71. <checkbox value="{{item.value}}" checked="{{item.value}}"></checkbox>
  72. <label>{{item.name}} </label>
  73. </view>
  74. </checkbox-group>
  75. </view>
  76. </tui-list-cell>
  77. <view style="width:100%">
  78. <tui-tabs tabs="{{tabs}}" currentTab="{{currentTab}}" wx:if="{{isTabs}}" bind:change="selectDevice" itemWidth="{{tabsWidth}}"></tui-tabs>
  79. </view>
  80. <view wx:if="{{isTabs}}" class="tui-goods-item" wx:for="{{selectGridProductList}}">
  81. <image wx:if="{{!item.productImg==''}}" bindtap="toSelect" src="{{item.productImg}}" class="tui-goods-img" data-index="{{index}}"></image>
  82. <view wx:else class="tui-goods-grid" bindtap="toSelect" data-index="{{index}}"><text>{{index+1}}号柜</text></view>
  83. <view class="tui-goods-center">
  84. <tui-list-cell hover="{{false}}" padding="0rpx 20rpx">
  85. <view class="tui-line-cell">
  86. <view class="tui-title" style="width:90%">{{item.productName?item.productName:'请选择商品'}}</view>
  87. </view>
  88. </tui-list-cell>
  89. <tui-list-cell hover="{{false}}" padding="0rpx 20rpx">
  90. <view class="tui-line-cell">
  91. <view class="tui-title">格子数量</view>
  92. <input placeholder-class="phcolor" class="tui-input" type="number" placeholder="请输入格子数量" data-name="gridCount" maxlength="50" type="digit" value="{{item.gridCount}}" bindinput="number" data-index="{{index}}" data-item="{{item}}" />
  93. </view>
  94. </tui-list-cell>
  95. <tui-list-cell hover="{{false}}" padding="0rpx 20rpx">
  96. <view class="tui-line-cell">
  97. <view class="tui-title">库存数量:</view>
  98. <input placeholder-class="phcolor" class="tui-input" placeholder="请填写库存数量" type="number" value="{{item.stockCount}}" bindinput="number" data-name="stockCount" data-index="{{index}}" data-item="{{item}}" />
  99. </view>
  100. </tui-list-cell>
  101. <tui-list-cell hover="{{false}}" padding="0rpx 20rpx">
  102. <view class="tui-line-cell">
  103. <view class="tui-title">货道:</view>
  104. <view style="margin-left:20rpx;color:red">{{item.productGrid?item.productGrid:index+1}}</view>
  105. </view>
  106. </tui-list-cell>
  107. </view>
  108. </view>
  109. <view style="height:160rpx"></view>
  110. <view class="tui-btn-box" style="z-index:999999;bottom: 0;position: fixed;width:100%;background-color: #ffffff;">
  111. <button class="btn-primary margin-bottom-xs" style="opacity:1" hover-class="btn-hover" formType="submit" type="primary">提交</button>
  112. <!-- <button class="btn-primary btn-gray" style="width:45%" hover-class="btn-gray-hover" formType="reset">重置</button> -->
  113. </view>
  114. </form>
  115. </view>