add.wxml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <view class="page">
  2. <view class="outer1">
  3. <view class="layer5">
  4. <view class="section3">
  5. <text lines="1" class="word3">水洗码</text>
  6. <view class="group1">
  7. <view class="box1">
  8. <!-- <text lines="1" class="txt1">{{inputval}}</text> -->
  9. <input class="txt1" style="{{is_sub?'':'background: red'}}" type="text" name="wnumber" placeholder="请扫描水洗码" bindinput="bindinput" value="{{inputval}}"></input>
  10. <view class="box2"></view>
  11. </view>
  12. <view class="box3" bindtap="getScancode">
  13. <view class="box4">
  14. <image src="/image/build/scan.png"></image>
  15. </view>
  16. </view>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="layer6">
  21. <view class="outer2-0">
  22. <van-cell title="衣物分类" is-link value="{{title}}" url="" center custom-class="lipinput" value-class="vstyle" url="/pages/sorting/seled/seled?wnumber={{inputval}}" />
  23. </view>
  24. </view>
  25. <view class="layer6">
  26. <view class="outer2-0">
  27. <!-- <van-cell-group>
  28. <van-field label="颜色" type="text" required clearable value="{{ color }}" placeholder-style="text-align: right;" placeholder="请输入颜色" border="{{ false }}" bind:input="inputw" input-class="lipinput" />
  29. </van-cell-group> -->
  30. <van-cell title="颜色" is-link value="{{ispick}}" center value-class="vstyle" custom-class="lipinput" bind:click="toPick" />
  31. <!-- <view class="main1-0">
  32. <text lines="1" class="word4-0">衣物分类</text>
  33. <input type="text" class="lipinput vstyle" name="color" value="{{color}}" bindinput="bindinputcolor" />
  34. </view> -->
  35. </view>
  36. </view>
  37. <view class="layer6">
  38. <view class="outer2-0">
  39. <van-cell title="瑕疵" is-link value="{{rustr}}" center value-class="vasty" custom-class="lipinput" bind:click="toShow" />
  40. </view>
  41. </view>
  42. <view class="layer6">
  43. <view class="outer2-0">
  44. <van-cell title="洗护标准" is-link value="{{str[results]}}" arrow-direction="down" value-class="vasty" center bind:click="toShows" custom-class="lipinput" />
  45. </view>
  46. </view>
  47. <view class="layer6">
  48. <view class="outer2-0">
  49. <van-cell title="是否加工" is-link value="{{isworkstr=='a'?'请选择':iswork[isworkstr]}}" bind:click="isshows" arrow-direction="down" center value-class="vasty" custom-class="lipinput" />
  50. </view>
  51. </view>
  52. <view class="layer7">
  53. <view class="mod1">
  54. <text lines="1" class="txt2">分拣拍照</text>
  55. <view class="group2">
  56. <van-uploader file-list="{{ fileList }}" bind:after-read="afterRead" bind:delete="delete" deletable="true" />
  57. </view>
  58. </view>
  59. </view>
  60. <view class="layer8">
  61. <view class="main2">
  62. <button bindtap="clos" class="section4">
  63. <text lines="1" class="word7">取消</text>
  64. </button>
  65. <button bindtap="addSoting" class="section5">
  66. <text lines="1" class="txt3">提交</text>
  67. </button>
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. <!-- <van-popup show="{{ pick }}" bind:close="toPick" custom-style="height: 50%;padding-bottom:20rpx" position="bottom">
  73. <color-picker bindchangecolor="pickColor" initColor="{{rgb}}" show="{{pick}}" />
  74. </van-popup> -->
  75. <van-popup show="{{ show }}" bind:close="toShow" position="bottom" custom-style="height: 30%;">
  76. <van-checkbox-group value="{{ result }}" bind:change="onChange">
  77. <van-cell-group>
  78. <van-cell wx:for="{{ flaws }}" wx:key="index" title="{{ item.name }}" value-class="value-class" clickable data-index="{{ index }}">
  79. <van-checkbox catch:tap="noop" data-name="{{item.name}}" class="checkboxes-{{ index }}" name="{{ item.id }}" />
  80. </van-cell>
  81. </van-cell-group>
  82. </van-checkbox-group>
  83. </van-popup>
  84. <van-popup show="{{ shows }}" bind:close="toShows" position="bottom" custom-style="height: 30%;">
  85. <van-radio-group value="{{ standard_id }}" bind:change="Change">
  86. <van-cell-group>
  87. <van-cell wx:for="{{ standard }}" wx:key="index" title="{{ item.title }}" clickable data-name="{{item.title}}">
  88. <van-radio slot="right-icon" name="{{item.id}}" />
  89. </van-cell>
  90. </van-cell-group>
  91. </van-radio-group>
  92. </van-popup>
  93. <van-popup show="{{ isshows }}" bind:close="isshows" position="bottom" custom-style="height: 30%;">
  94. <van-radio-group value="{{ is_machining }}" bind:change="isChange">
  95. <van-cell-group>
  96. <van-cell wx:for="{{ iswork }}" wx:key="index" title="{{ item }}" clickable data-name="{{item}}">
  97. <van-radio slot="right-icon" name="{{index}}" />
  98. </van-cell>
  99. </van-cell-group>
  100. </van-radio-group>
  101. </van-popup>
  102. <van-popup show="{{ pick }}" bind:close="toPick" custom-style="height: 35%;padding-bottom:20rpx" position="bottom">
  103. <van-radio-group value="{{ ispick }}" bind:change="pickColor">
  104. <van-cell-group>
  105. <van-cell wx:for="{{ color }}" wx:key="index" title="{{ item.color }}" clickable data-name="{{item.color}}">
  106. <van-radio slot="right-icon" name="{{item.color}}"/>
  107. </van-cell>
  108. </van-cell-group>
  109. </van-radio-group>
  110. </van-popup>