铝交易,微信公众号
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.

244 lines
5.2 KiB

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. <template>
  2. <view class="page">
  3. <navbar :title="$t('pageTitle.cancelOrder')" leftClick @leftClick="$utils.navigateBack" />
  4. <view class="frame">
  5. <!--填写信息-->
  6. <view class="form">
  7. <!--供应商名称-->
  8. <view class="item">
  9. <view>{{ $t('other.supplierName') }}</view>
  10. <view>
  11. <!-- <input disabled v-model="form.a" placeholder="" clearable></input> -->
  12. {{ form.a }}
  13. </view>
  14. </view>
  15. <!--商品规格-->
  16. <view class="item">
  17. <view>{{ $t('components.productSpecification') }}</view>
  18. <view>
  19. {{ form.b }}
  20. </view>
  21. </view>
  22. <!--提货地点-->
  23. <view class="item">
  24. <view>{{ $t('components.pickupLocation') }}</view>
  25. <view>
  26. {{ form.c }}
  27. </view>
  28. </view>
  29. <!--交货时间-->
  30. <view class="item">
  31. <view>{{ $t('other.deliveryTime') }}</view>
  32. <view>
  33. {{ form.d }}
  34. </view>
  35. </view>
  36. <!--暂定数量-->
  37. <view class="tentativeQuantity">
  38. <view class="key">{{ $t('other.tentativeQuantity') }}</view>
  39. <view class="value">
  40. <uv-number-box v-model="form.tentativeQuantity"></uv-number-box>
  41. </view>
  42. </view>
  43. <!--单价-->
  44. <view class="item">
  45. <view>{{ $t('components.unitPrice') }}</view>
  46. <view>
  47. <input v-model="form.price" disabled clearable></input>
  48. </view>
  49. </view>
  50. <view class="tip">
  51. {{ $t('components.withdrawRequestNotice') }}
  52. </view>
  53. </view>
  54. <!--立即下单和联系我们-->
  55. <view class="btns">
  56. <span @click="reviewSubmit" class="ontBtn">
  57. {{ $t('components.submitReview') }}
  58. </span>
  59. <span @click="contactUs" class="twoBtn">
  60. {{ $t('components.contactUs') }}
  61. </span>
  62. </view>
  63. </view>
  64. <!-- 联系客服弹框 -->
  65. <customerServicePopup ref="customerServicePopup" />
  66. </view>
  67. </template>
  68. <script>
  69. import customerServicePopup from "@/components/config/customerServicePopup.vue";
  70. export default {
  71. name: "backOrder",
  72. components: {customerServicePopup},
  73. onLoad(options) {
  74. this.orderId = options.id
  75. },
  76. data() {
  77. return {
  78. orderId: null,
  79. form:{
  80. a: '湖南科技有限公司',
  81. b: '铝锭al>96%',
  82. c: '湖南省长沙市天心区天心街道天心小区1栋1单元101室',
  83. d: '2021-12-31 12:00:00',
  84. price: '¥111',
  85. }
  86. }
  87. },
  88. methods: {
  89. // 联系我们
  90. contactUs(){
  91. this.$refs.customerServicePopup.open();
  92. },
  93. // 提交审核
  94. reviewSubmit() {
  95. }
  96. },
  97. }
  98. </script>
  99. <style scoped lang="scss">
  100. .page {
  101. .frame {
  102. .title {
  103. display: flex;
  104. justify-content: center;
  105. align-items: center;
  106. font-size: 36rpx;
  107. color: #000;
  108. padding: 30rpx;
  109. }
  110. .form {
  111. margin: 20rpx;
  112. border: 1px solid #efefef;
  113. border-radius: 20rpx;
  114. overflow: hidden;
  115. .item {
  116. display: flex;
  117. align-items: center;
  118. background-color: #FFF;
  119. height: 100rpx;
  120. padding: 10rpx 0 0 20rpx;
  121. border-bottom: 1px solid #efefef;
  122. > view:nth-of-type(1) {
  123. width: 30%;
  124. // font-weight: 700;
  125. }
  126. > view:nth-of-type(2) {
  127. width: 70%;
  128. border-radius: 10rpx;
  129. overflow: hidden;
  130. input {
  131. background-color: #FFF;
  132. font-size: 28rpx;
  133. padding: 16rpx 8rpx 16rpx 15rpx;
  134. }
  135. }
  136. }
  137. .tentativeQuantity {
  138. display: flex;
  139. align-items: center;
  140. background-color: #FFF;
  141. height: 80rpx;
  142. // margin: 10rpx 0 0 0;
  143. padding: 10rpx 0 0 20rpx;
  144. .key {
  145. width: 30%;
  146. }
  147. .value {
  148. width: 70%;
  149. border-radius: 10rpx;
  150. overflow: hidden;
  151. }
  152. }
  153. .tip {
  154. display: flex;
  155. justify-content: center;
  156. align-items: center;
  157. font-size: 28rpx;
  158. color: #f95e7d;
  159. background-color: #f5f5f5;
  160. height: 40rpx;
  161. //margin-top: 20rpx;
  162. padding: 10rpx;
  163. }
  164. }
  165. .btns {
  166. width: 100%;
  167. display: flex;
  168. flex-direction: column;
  169. align-items: center;
  170. justify-content: center;
  171. gap: 20rpx;
  172. position: fixed;
  173. bottom: 80rpx;
  174. left: 0;
  175. right: 0;
  176. .ontBtn {
  177. display: flex;
  178. align-items: center;
  179. justify-content: center;
  180. width: 500rpx;
  181. height: 70rpx;
  182. border-radius: 40rpx;
  183. color: #FFF;
  184. font-size: 28rpx;
  185. margin: 20rpx 10rpx 0 0;
  186. background: $uni-color;
  187. //margin-top: 20rpx;
  188. border-radius: 40rpx;
  189. }
  190. .twoBtn {
  191. display: flex;
  192. align-items: center;
  193. justify-content: center;
  194. width: 500rpx;
  195. height: 70rpx;
  196. border-radius: 40rpx;
  197. color: #000000;
  198. font-size: 28rpx;
  199. margin: 20rpx 10rpx 0 0;
  200. background: #f1f1f1;
  201. //margin-top: 20rpx;
  202. border-radius: 40rpx;
  203. }
  204. }
  205. }
  206. }
  207. </style>