details.vue 20 KB

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