details.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805
  1. <template>
  2. <view class="mainBox">
  3. <uni-nav-bar fixed="true" statusBar="true" left-icon="back" title="入库详情" @clickLeft="back">
  4. <!-- @clickRight="handleScan"
  5. right-icon="scan"
  6. > -->
  7. <!--右菜单-->
  8. <template slot="float">
  9. <!-- <view class="nav-icon-caozuo rightNav" @click="getsure">
  10. <u-button type="success" size="small" class="u-reset-button" text="确定"></u-button>
  11. </view> -->
  12. </template>
  13. </uni-nav-bar>
  14. <u-form labelPosition="left" :model="formData" :rules="rules" ref="formRef" labelWidth="260" labelAlign="right" class="baseForm">
  15. <u-form-item label="入库单号" borderBottom prop="assetType">
  16. <view class="assetType_box">{{ formData.bizNo }}</view>
  17. </u-form-item>
  18. <u-form-item label="物品类型" borderBottom prop="assetType">
  19. <view class="assetType_box">
  20. {{ getGoodsListsLabel(formData.extInfo.assetType) }}
  21. </view>
  22. </u-form-item>
  23. <u-form-item label="入库场景" prop="bizType" borderBottom>
  24. <view class="assetType_box">{{ sceneState.filter(item => item.value == formData.bizType)[0].text }}</view>
  25. </u-form-item>
  26. <u-form-item label="来源单据" prop="documentSource" borderBottom>
  27. <view class="assetType_box">{{ formData.sourceBizNo }}</view>
  28. </u-form-item>
  29. <u-form-item label="入库时间" prop="createUserName" borderBottom>
  30. <view class="assetType_box" @click="timeShow = true">{{ formData.storageTime }}</view>
  31. </u-form-item>
  32. <u-form-item label="入库登记人" prop="createUserName" borderBottom>
  33. <view class="assetType_box" @click="timeShow = true">{{ formData.createUserName }}</view>
  34. </u-form-item>
  35. <u-form-item label="送货人" prop="deliveryName" borderBottom>
  36. <view class="assetType_box" @click="timeShow = true">{{ formData.fromUser }}</view>
  37. </u-form-item>
  38. <u-form-item label="送货人联系方式" prop="deliveryPhone" borderBottom>
  39. <view class="assetType_box" @click="timeShow = true">{{ formData.extInfo.deliveryPhone }}</view>
  40. </u-form-item>
  41. <u-form-item label="状态" prop="stautus" borderBottom>
  42. <view class="assetType_box" @click="timeShow = true">{{ statusLabelList[formData.verifyStatus] }}</view>
  43. </u-form-item>
  44. <u-form-item label="备注" prop="remark" borderBottom>
  45. <view class="assetType_box" @click="timeShow = true">{{ formData.remark }}</view>
  46. </u-form-item>
  47. </u-form>
  48. <uni-collapse ref="collapse" v-model="collapseOpen">
  49. <uni-collapse-item :typeOpen="1" title="" name="collapse1" :open="true" :key="detailOpen" :show-animation="true">
  50. <template v-slot:title>
  51. <view class="detail-box">
  52. <view data-v-41027c34="" class="uni-collapse-item__title-wrap">
  53. <view data-v-41027c34="" class="uni-collapse-item__title-box uni-collapse-item__title-box-base">
  54. <text data-v-41027c34="" class="tag tag-base"><text></text></text>
  55. <text data-v-41027c34="" class="uni-collapse-item__title-text"><text>入库明细</text></text>
  56. </view>
  57. </view>
  58. <!-- <u-button type="primary" size="small" text="扫码添加" @click.native.stop="selectType"></u-button> -->
  59. <!-- <u-button type="success" size="small" class="selectEnterType" text="手动添加" @click.native.stop="selectType"></u-button> -->
  60. </view>
  61. </template>
  62. <u-form
  63. labelPosition="left"
  64. :model="{ productList: productList }"
  65. ref="lisrFormRef"
  66. labelWidth="150"
  67. :rules="listRules"
  68. errorType="none"
  69. labelAlign="right"
  70. :labelStyle="{
  71. fontSize: '28rpx'
  72. }">
  73. <view class="listContent">
  74. <view class="listBox" v-for="(item, index) in productList" :key="index">
  75. <view class="listTit">
  76. <view class="name">{{ item.categoryCode }}</view>
  77. </view>
  78. <view class="listCont" :class="{ save: item.isSave }">
  79. <view class="item w100">
  80. <u-form-item :label="`物品名称`">
  81. {{ item.categoryName }}
  82. </u-form-item>
  83. </view>
  84. <view class="item w100">
  85. <u-form-item label="包装规格" prop="packingSpecificationLabel">
  86. <u-tag style="margin-right: 5rpx" v-for="ite in item.packingSpecificationLabel" :text="ite"></u-tag>
  87. </u-form-item>
  88. </view>
  89. <view class="item">
  90. <u-form-item label="批次号" :prop="`productList.${index}.batchNo`">
  91. {{ item.batchNo }}
  92. </u-form-item>
  93. </view>
  94. <view class="item">
  95. <u-form-item label="数量" :prop="`productList.${index}.packingQuantity`">
  96. {{ item.packingQuantity }}
  97. </u-form-item>
  98. </view>
  99. <view class="item">
  100. <u-form-item label="包装单位" :prop="`productList.${index}.packingUnit`">
  101. {{ item.packingUnit }}
  102. </u-form-item>
  103. </view>
  104. <view class="item">
  105. <u-form-item label="仓库" :prop="`productList.${index}.warehouseId`">
  106. {{ item.warehouseName }}
  107. </u-form-item>
  108. </view>
  109. <view class="item w100">
  110. <u-form-item label="供应商" :prop="`productList.${index}.supplierName`">
  111. {{ item.supplierName }}
  112. </u-form-item>
  113. </view>
  114. <view class="item">
  115. <u-form-item label="计量数量" prop="measureQuantity">{{ item.measureQuantity }}</u-form-item>
  116. </view>
  117. <view class="item">
  118. <u-form-item label="计量单位" prop="measureUnit">{{ item.measureUnit }}</u-form-item>
  119. </view>
  120. <view class="item">
  121. <u-form-item label="重量" prop="weight">{{ item.weight }}</u-form-item>
  122. </view>
  123. <view class="item">
  124. <u-form-item label="重量单位" prop="weightUnit">{{ item.weightUnit }}</u-form-item>
  125. </view>
  126. <view class="item">
  127. <u-form-item label="是否拆包" prop="isUnpack">{{ item.isUnpack ? '是' : '否' }}</u-form-item>
  128. </view>
  129. </view>
  130. <u-list @scrolltolower="scrolltolower" class="z_list" style="height: 100% !important">
  131. <view class="material rx-ss" v-for="(ite, idx) in item.outInDetailRecordRequestList" :key="idx">
  132. <view class="content_table">
  133. <view class="item">
  134. <view class="lable rx-cc">序号</view>
  135. <view class="content">{{ idx + 1 }}</view>
  136. </view>
  137. <view class="item">
  138. <view class="lable rx-cc">包装编码</view>
  139. <view class="content">{{ ite.packageNo }}</view>
  140. </view>
  141. <view class="item">
  142. <view class="lable rx-cc">包装数量({{ ite.packingUnit }})</view>
  143. <view class="content">{{ ite.packingQuantity }}</view>
  144. </view>
  145. <view class="item">
  146. <view class="lable rx-cc">计量数量({{ ite.measureUnit }})</view>
  147. <view class="content">{{ ite.measureQuantity }}</view>
  148. </view>
  149. <view class="item">
  150. <view class="lable rx-cc">物料代号</view>
  151. <view class="content">{{ ite.materielDesignation }}</view>
  152. </view>
  153. <view class="item">
  154. <view class="lable rx-cc">客户代号</view>
  155. <view class="content">{{ ite.clientCode }}</view>
  156. </view>
  157. <view class="item">
  158. <view class="lable rx-cc">刻码</view>
  159. <view class="content">{{ ite.engrave }}</view>
  160. </view>
  161. <view class="item">
  162. <view class="lable rx-cc">重量({{ ite.weightUnit }})</view>
  163. <view class="content">
  164. {{ ite.weight }}
  165. </view>
  166. </view>
  167. <view class="item">
  168. <view class="lable rx-cc">质检状态</view>
  169. <view class="content">
  170. {{ qualityResults[ite.status] }}
  171. </view>
  172. </view>
  173. <view class="item">
  174. <view class="lable rx-cc">采购日期</view>
  175. <view class="content">
  176. {{ ite.purchaseDate }}
  177. </view>
  178. </view>
  179. <view class="item">
  180. <view class="lable rx-cc">生产日期</view>
  181. <view class="content">
  182. {{ ite.productionDate }}
  183. </view>
  184. </view>
  185. </view>
  186. </view>
  187. </u-list>
  188. </view>
  189. </view>
  190. </u-form>
  191. </uni-collapse-item>
  192. </uni-collapse>
  193. </view>
  194. </template>
  195. <script>
  196. // import ScanCode from '@/components/ScanCode.vue'
  197. import { getInboundDetailsById, getTreeByGroup } from '@/api/warehouseManagement'
  198. import { getByCode } from '@/api/pda/common'
  199. import dayjs from 'dayjs'
  200. import { sceneState } from '../common'
  201. import { post, postJ, get, getJ } from '@/utils/api.js'
  202. import WarehouseChoose from '@/components/WarehouseChoose'
  203. import { warehousingType, inputStatus, emergencyState, warehousingMaterialListTable, getDictName, materialType } from '../enum.js'
  204. import baTreePicker from '@/components/ba-tree-picker/ba-tree-picker.vue'
  205. // import addDetails from '@/components/addDetails'
  206. import UploadFileNew from '@/components/UploadFileNew'
  207. // import { getRuleNo } from '@/utils/utils.js'
  208. // import dictMixins from '@/mixins/dictMixins.js'
  209. export default {
  210. components: {
  211. WarehouseChoose,
  212. baTreePicker,
  213. UploadFileNew
  214. },
  215. // mixins: [dictMixins],
  216. data() {
  217. return {
  218. statusLabelList: ['未提交', '审核中', '审核通过', '已驳回'],
  219. goodsLists: [], // 物品类型
  220. assetTypeName: '', // 物品类型名称
  221. timeShow: false,
  222. packingSpecificationOption: [], // 包装规格
  223. currentPackingSpecificationOption: [], // 当前包装规格
  224. currentSupplierListOption: [], // 当前供货商
  225. warehouseListOption: [], // 仓库列表
  226. currentTypeTime: Number(new Date()), // 当前时间类型的时间
  227. storageTime: '', // 入库时间
  228. currentProductIndex: null, // 当前产品索引
  229. currentPackingIndex: null, // 当前包装索引
  230. packingUnitsShow: false,
  231. typeTimeShow: false,
  232. suppliersShow: false,
  233. warehouseShow: false,
  234. timeTypeShow: false,
  235. statusShow: false,
  236. dictCodeList: [], // 字典列表
  237. curDateType: 'purchaseDate',
  238. qualityResultsOption: [
  239. [
  240. {
  241. label: '合格',
  242. value: 1
  243. },
  244. {
  245. label: '不合格',
  246. value: 2
  247. }
  248. ]
  249. ], // 质检状态 0未检 1已检
  250. qualityResults: {
  251. 1: '合格',
  252. 2: '不合格'
  253. }, // 质检结果 1合格 2不合格
  254. curDateTypeLabel: {
  255. purchaseDate: '采购日期',
  256. productionDate: '生产日期'
  257. },
  258. timeTypeOption: [
  259. [
  260. {
  261. name: '采购日期',
  262. prop: 'purchaseDate'
  263. },
  264. {
  265. name: '生产日期',
  266. prop: 'productionDate'
  267. }
  268. ]
  269. ], // 时间类型
  270. collapseOpen: 'collapse1',
  271. emergencyState,
  272. warehousingType,
  273. materialType,
  274. sceneState,
  275. inputStatus,
  276. getDictName,
  277. detailOpen: false,
  278. codeOpen: false,
  279. deptList: [], //部门
  280. supplierList: [], //供应商
  281. formData: {
  282. type: 1, // 入库
  283. bizType: '1', // 入库场景
  284. storageTime: '', // 入库时间
  285. extInfo: {}, // 扩展信息
  286. sourceBizNo: '', // 来源单据编号
  287. fromUser: '', // 送货人
  288. remark: '' // 备注
  289. },
  290. statusList: [
  291. {
  292. id: 1,
  293. name: '紧急'
  294. },
  295. {
  296. id: 2,
  297. name: '中等'
  298. },
  299. {
  300. id: 1,
  301. name: '普通'
  302. }
  303. ], //紧急状态
  304. pickerIndex: 0,
  305. productList: [],
  306. userList: [],
  307. rules: {
  308. assetType: {
  309. type: 'number',
  310. required: true,
  311. message: '请选择入库产品类型',
  312. trigger: ['blur', 'change']
  313. },
  314. bizType: {
  315. type: 'number',
  316. required: true,
  317. message: '请选择入库场景',
  318. trigger: ['blur', 'change']
  319. }
  320. // contentImage: {
  321. // type: 'array',
  322. // required: true,
  323. // message: '请上传附件',
  324. // trigger: ['blur', 'change']
  325. // }
  326. },
  327. settingIndex: 0
  328. }
  329. },
  330. onShow() {
  331. this.collapseOpen = 'collapse1'
  332. },
  333. onLoad(options) {
  334. this.getListItems() // 物品类型
  335. getInboundDetailsById(options.id).then(res => {
  336. console.log(res)
  337. this.productList = res.outInDetailList.map(item => {
  338. return {
  339. ...item,
  340. packingSpecificationLabel: item.extField.packingSpecification ? item.extField.packingSpecification.split(',') : [],
  341. isSave: true
  342. }
  343. })
  344. this.formData = res
  345. })
  346. },
  347. computed: {
  348. listRules() {
  349. return this.productList.reduce((cur, pre, index) => {
  350. return {
  351. ...cur,
  352. [`productList.${index}.batchNo`]: {
  353. type: 'string',
  354. required: true,
  355. trigger: ['blur', 'change']
  356. },
  357. [`productList.${index}.packingQuantity`]: {
  358. type: 'number',
  359. required: true,
  360. trigger: ['blur', 'change']
  361. },
  362. [`productList.${index}.packingUnit`]: {
  363. type: 'string',
  364. required: true,
  365. trigger: ['blur', 'change']
  366. },
  367. [`productList.${index}.warehouseId`]: {
  368. type: 'string',
  369. required: true,
  370. trigger: ['blur', 'change']
  371. }
  372. }
  373. }, {})
  374. }
  375. },
  376. methods: {
  377. getGoodsListsLabel(assetType) {
  378. let arr = assetType ? assetType.split(',') : []
  379. let label = arr.reduce((pre, cur) => {
  380. console.log(cur)
  381. console.log(pre)
  382. return (pre ? pre + '/' : '') + this.goodsLists.find(item => item.id == cur).name
  383. }, '')
  384. return label
  385. },
  386. formatter(dataTime) {
  387. return dayjs(dataTime).format('YYYY-MM-DD HH:mm:ss')
  388. },
  389. // 获取物品列表
  390. getListItems() {
  391. getTreeByGroup({ type: 2 }).then(res => {
  392. this.goodsLists = res
  393. })
  394. }
  395. }
  396. }
  397. </script>
  398. <style lang="scss" scoped>
  399. .mainBox {
  400. /deep/.required-form .u-form-item__body__left__content__label::before {
  401. content: '*';
  402. color: red;
  403. }
  404. }
  405. .required-form-text {
  406. /deep/ .u-form-item__body__right {
  407. overflow: hidden;
  408. .u-form-item__body__right__content {
  409. width: 100%;
  410. display: inline-block !important;
  411. width: 100%;
  412. }
  413. }
  414. }
  415. .picList {
  416. display: flex;
  417. align-items: center;
  418. justify-items: flex-start;
  419. flex-wrap: wrap;
  420. }
  421. /deep/.baseForm {
  422. .u-form-item__body {
  423. padding: 0px !important;
  424. }
  425. .assetType_box {
  426. padding: 12rpx 18rpx;
  427. height: 60rpx;
  428. box-sizing: border-box;
  429. width: 100%;
  430. overflow: hidden;
  431. white-space: nowrap;
  432. text-overflow: ellipsis;
  433. }
  434. }
  435. /deep/.picList .u-image {
  436. margin-right: 10rpx;
  437. margin-bottom: 10rpx;
  438. }
  439. /deep/.cLine .u-line:nth-child(1) {
  440. border-bottom: none !important;
  441. }
  442. .detail-box {
  443. position: relative;
  444. display: flex;
  445. justify-content: space-between;
  446. align-items: center;
  447. /deep/uni-button {
  448. margin: 0 !important;
  449. width: 180rpx;
  450. }
  451. .selectEnterType {
  452. margin-left: 10rpx !important;
  453. }
  454. }
  455. .footBox {
  456. position: fixed;
  457. left: 0px;
  458. bottom: 0px;
  459. height: 100rpx;
  460. width: 100%;
  461. display: flex;
  462. align-items: center;
  463. justify-content: space-between;
  464. view {
  465. width: 100%;
  466. height: 100%;
  467. text-align: center;
  468. color: #fff;
  469. display: flex;
  470. align-items: center;
  471. justify-content: center;
  472. }
  473. .reg {
  474. background: $u-success-dark;
  475. }
  476. .add {
  477. background: $uni-color-primary;
  478. }
  479. .uni-icons {
  480. margin-right: 8rpx !important;
  481. }
  482. }
  483. .listBox {
  484. padding: 20rpx 10rpx;
  485. border-bottom: 1px #f2f2f2 solid;
  486. position: relative;
  487. &.code {
  488. .label {
  489. width: 120rpx !important;
  490. }
  491. }
  492. .listTit {
  493. width: 100%;
  494. display: flex;
  495. justify-content: space-between;
  496. align-items: center;
  497. /deep/uni-button {
  498. margin-right: 20rpx;
  499. width: 100rpx;
  500. &.assets {
  501. width: 180rpx;
  502. }
  503. }
  504. .name {
  505. width: 50%;
  506. margin-left: 10px;
  507. overflow: hidden;
  508. white-space: nowrap;
  509. -o-text-overflow: ellipsis;
  510. text-overflow: ellipsis;
  511. font-size: 30rpx;
  512. }
  513. .btn {
  514. display: flex;
  515. justify-content: flex-end;
  516. }
  517. .weight {
  518. width: 30%;
  519. font-size: 30rpx;
  520. margin-left: auto;
  521. margin-right: 60rpx;
  522. position: relative;
  523. display: flex;
  524. input {
  525. margin-right: 10rpx;
  526. border: 1px solid black;
  527. width: 40%;
  528. height: 20rpx;
  529. }
  530. }
  531. .weight::after {
  532. position: absolute;
  533. right: -30rpx;
  534. top: 50%;
  535. content: '';
  536. background: #eee;
  537. width: 1px;
  538. height: 28rpx;
  539. margin-top: -14rpx;
  540. }
  541. }
  542. .z_list {
  543. max-height: 500rpx;
  544. .material {
  545. margin-top: 10rpx;
  546. .left {
  547. width: 40rpx;
  548. }
  549. .zdy_check {
  550. width: 30rpx;
  551. height: 30rpx;
  552. border: 2rpx solid #c8c9cc;
  553. border-radius: 4rpx;
  554. }
  555. .check_active {
  556. background: $theme-color;
  557. border: 2rpx solid $theme-color;
  558. /deep/ .u-icon__icon {
  559. color: #fff !important;
  560. }
  561. }
  562. .content_table {
  563. width: 100%;
  564. border: 2rpx solid $border-color;
  565. .item {
  566. display: flex;
  567. border-bottom: 2rpx solid $border-color;
  568. .lable {
  569. width: 200rpx;
  570. text-align: center;
  571. background-color: #f7f9fa;
  572. font-size: 26rpx;
  573. border-right: 2rpx solid $border-color;
  574. flex-shrink: 0;
  575. }
  576. .ww80 {
  577. width: 80rpx;
  578. }
  579. .content {
  580. width: 500rpx;
  581. min-height: 64rpx;
  582. font-size: 28rpx;
  583. line-height: 28rpx;
  584. font-style: normal;
  585. font-weight: 400;
  586. padding: 18rpx 8rpx;
  587. box-sizing: border-box;
  588. word-wrap: break-word;
  589. flex-grow: 1 !important;
  590. }
  591. .input_box {
  592. padding: 0 !important;
  593. }
  594. .content_num {
  595. display: flex;
  596. align-items: center;
  597. padding: 0 4rpx;
  598. /deep/ .uni-input-input {
  599. width: 200rpx;
  600. border: 2rpx solid #f0f8f2;
  601. background: #f0f8f2;
  602. color: $theme-color;
  603. }
  604. .unit {
  605. padding: 0 4rpx;
  606. font-size: 24rpx;
  607. color: #404446;
  608. }
  609. }
  610. .ww400 {
  611. /deep/ .uni-input-input {
  612. width: 400rpx;
  613. }
  614. }
  615. .pd4 {
  616. padding: 4rpx 8rpx;
  617. }
  618. &:last-child {
  619. border-bottom: none;
  620. }
  621. }
  622. .ww55 {
  623. width: 55%;
  624. }
  625. .ww45 {
  626. width: 45%;
  627. }
  628. .ww50 {
  629. width: 50%;
  630. }
  631. .ww30 {
  632. width: 30%;
  633. }
  634. .ww70 {
  635. width: 70%;
  636. }
  637. .ww80 {
  638. width: 80%;
  639. }
  640. .ww20 {
  641. width: 20%;
  642. }
  643. .check {
  644. width: 30rpx;
  645. height: 30rpx;
  646. }
  647. .tag_box {
  648. padding: 2rpx 10rpx;
  649. margin-right: 12rpx;
  650. background: #e6a23c;
  651. font-size: 22rpx;
  652. color: #fff;
  653. border-radius: 4rpx;
  654. }
  655. }
  656. }
  657. }
  658. .more {
  659. position: absolute;
  660. bottom: 26rpx;
  661. right: 30rpx;
  662. font-size: 28rpx;
  663. color: #666;
  664. }
  665. }
  666. .listCont {
  667. display: flex;
  668. align-items: center;
  669. flex-wrap: wrap;
  670. margin-top: 20rpx;
  671. margin-left: 10rpx;
  672. &.save {
  673. .u-input {
  674. border: none;
  675. }
  676. }
  677. .u-input {
  678. border: 1px solid rgb(229, 229, 229);
  679. height: 15rpx !important;
  680. }
  681. .item {
  682. width: 47%;
  683. font-size: 28rpx;
  684. margin-bottom: 10rpx;
  685. margin-right: 3%;
  686. // line-height: 45rpx;
  687. // overflow: hidden;
  688. // white-space: nowrap;
  689. // text-overflow: ellipsis;
  690. // -o-text-overflow: ellipsis;
  691. // color: #000;
  692. // display: flex;
  693. /deep/.u-form-item__body {
  694. padding: 0 !important;
  695. }
  696. /deep/.u-input__content__field-wrapper__field,
  697. /deep/.u-form-item {
  698. font-size: 28rpx !important;
  699. }
  700. text.label {
  701. width: 120rpx;
  702. display: inline-block;
  703. text-align: right;
  704. margin-right: 20rpx;
  705. margin-bottom: 20rpx;
  706. }
  707. /deep/.uni-date__x-input {
  708. height: 40rpx;
  709. font-size: 28rpx;
  710. }
  711. /deep/.uni-date {
  712. width: 48%;
  713. display: inline-block;
  714. .uni-icons {
  715. display: none !important;
  716. }
  717. .uni-date-x {
  718. padding: 0 !important;
  719. }
  720. }
  721. }
  722. .item text {
  723. color: #666;
  724. }
  725. }
  726. .selectTime {
  727. display: flex;
  728. justify-content: flex-end;
  729. margin-bottom: 10rpx;
  730. .timeBox {
  731. display: flex;
  732. width: 500rpx;
  733. .firstBtn {
  734. margin-right: 10rpx;
  735. }
  736. }
  737. }
  738. .listBox:last-child {
  739. border: none !important;
  740. }
  741. .textBox {
  742. border: 1px #f2f2f2 solid;
  743. height: 160px;
  744. display: block;
  745. width: auto !important;
  746. }
  747. .saveBtn {
  748. width: 50%;
  749. margin: 40rpx auto;
  750. }
  751. .top-css {
  752. border-bottom: 1px solid rgb(207, 204, 204);
  753. }
  754. </style>