details.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826
  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.extInfo.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="verifyDeptName" borderBottom>
  36. <view class="assetType_box" @click="timeShow = true">{{ formData.extInfo.verifyDeptName }}</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.categoryName }}</view>
  74. </view>
  75. <view class="listCont" :class="{ save: item.isSave }">
  76. <view class="item w100">
  77. <u-form-item :label="`物品编码`">
  78. {{ item.categoryCode }}
  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="isUnpack">{{ item.isUnpack ? '是' : '否' }}</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>
  127. <view class="selectTime">
  128. <view class="title">包装列表</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, getInboundDetailsByBizNo } from '@/api/warehouseManagement'
  198. import { getByCode } from '@/api/pda/common'
  199. import dayjs from 'dayjs'
  200. import { outputSceneState } 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. outputSceneState,
  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. if (options.id) {
  336. getInboundDetailsById(options.id).then(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. } else {
  347. getInboundDetailsByBizNo(options.bizNo).then(res => {
  348. this.productList = res.outInDetailList.map(item => {
  349. return {
  350. ...item,
  351. packingSpecificationLabel: item.extField.packingSpecification ? item.extField.packingSpecification.split(',') : [],
  352. isSave: true
  353. }
  354. })
  355. this.formData = res
  356. })
  357. }
  358. },
  359. computed: {
  360. listRules() {
  361. return this.productList.reduce((cur, pre, index) => {
  362. return {
  363. ...cur,
  364. [`productList.${index}.batchNo`]: {
  365. type: 'string',
  366. required: true,
  367. trigger: ['blur', 'change']
  368. },
  369. [`productList.${index}.packingQuantity`]: {
  370. type: 'number',
  371. required: true,
  372. trigger: ['blur', 'change']
  373. },
  374. [`productList.${index}.packingUnit`]: {
  375. type: 'string',
  376. required: true,
  377. trigger: ['blur', 'change']
  378. },
  379. [`productList.${index}.warehouseId`]: {
  380. type: 'string',
  381. required: true,
  382. trigger: ['blur', 'change']
  383. }
  384. }
  385. }, {})
  386. }
  387. },
  388. methods: {
  389. getGoodsListsLabel(assetType) {
  390. let arr = assetType ? assetType.split(',') : []
  391. let label = arr.reduce((pre, cur) => {
  392. console.log(cur)
  393. console.log(pre)
  394. return (pre ? pre + '/' : '') + this.goodsLists.find(item => item.id == cur).name
  395. }, '')
  396. return label
  397. },
  398. formatter(dataTime) {
  399. return dayjs(dataTime).format('YYYY-MM-DD HH:mm:ss')
  400. },
  401. // 获取物品列表
  402. getListItems() {
  403. getTreeByGroup({ type: 2 }).then(res => {
  404. this.goodsLists = res
  405. })
  406. }
  407. }
  408. }
  409. </script>
  410. <style lang="scss" scoped>
  411. .mainBox {
  412. /deep/.required-form .u-form-item__body__left__content__label::before {
  413. content: '*';
  414. color: red;
  415. }
  416. }
  417. .required-form-text {
  418. /deep/ .u-form-item__body__right {
  419. overflow: hidden;
  420. .u-form-item__body__right__content {
  421. width: 100%;
  422. display: inline-block !important;
  423. width: 100%;
  424. }
  425. }
  426. }
  427. .picList {
  428. display: flex;
  429. align-items: center;
  430. justify-items: flex-start;
  431. flex-wrap: wrap;
  432. }
  433. /deep/.baseForm {
  434. .u-form-item__body {
  435. padding: 0px !important;
  436. }
  437. .assetType_box {
  438. // padding: 12rpx 18rpx;
  439. // height: 60rpx;
  440. box-sizing: border-box;
  441. width: 100%;
  442. overflow: hidden;
  443. white-space: nowrap;
  444. text-overflow: ellipsis;
  445. }
  446. }
  447. /deep/.picList .u-image {
  448. margin-right: 10rpx;
  449. margin-bottom: 10rpx;
  450. }
  451. /deep/.cLine .u-line:nth-child(1) {
  452. border-bottom: none !important;
  453. }
  454. .detail-box {
  455. position: relative;
  456. display: flex;
  457. justify-content: space-between;
  458. align-items: center;
  459. /deep/uni-button {
  460. margin: 0 !important;
  461. width: 180rpx;
  462. }
  463. .selectEnterType {
  464. margin-left: 10rpx !important;
  465. }
  466. }
  467. .footBox {
  468. position: fixed;
  469. left: 0px;
  470. bottom: 0px;
  471. height: 100rpx;
  472. width: 100%;
  473. display: flex;
  474. align-items: center;
  475. justify-content: space-between;
  476. view {
  477. width: 100%;
  478. height: 100%;
  479. text-align: center;
  480. color: #fff;
  481. display: flex;
  482. align-items: center;
  483. justify-content: center;
  484. }
  485. .reg {
  486. background: $u-success-dark;
  487. }
  488. .add {
  489. background: $uni-color-primary;
  490. }
  491. .uni-icons {
  492. margin-right: 8rpx !important;
  493. }
  494. }
  495. .listBox {
  496. padding: 20rpx 10rpx;
  497. border-bottom: 1px #f2f2f2 solid;
  498. position: relative;
  499. &.code {
  500. .label {
  501. width: 120rpx !important;
  502. }
  503. }
  504. .listTit {
  505. width: 100%;
  506. display: flex;
  507. justify-content: space-between;
  508. align-items: center;
  509. /deep/uni-button {
  510. margin-right: 20rpx;
  511. width: 100rpx;
  512. &.assets {
  513. width: 180rpx;
  514. }
  515. }
  516. .name {
  517. width: 50%;
  518. margin-left: 10px;
  519. overflow: hidden;
  520. white-space: nowrap;
  521. -o-text-overflow: ellipsis;
  522. text-overflow: ellipsis;
  523. font-size: 30rpx;
  524. }
  525. .btn {
  526. display: flex;
  527. justify-content: flex-end;
  528. }
  529. .weight {
  530. width: 30%;
  531. font-size: 30rpx;
  532. margin-left: auto;
  533. margin-right: 60rpx;
  534. position: relative;
  535. display: flex;
  536. input {
  537. margin-right: 10rpx;
  538. border: 1px solid black;
  539. width: 40%;
  540. height: 20rpx;
  541. }
  542. }
  543. .weight::after {
  544. position: absolute;
  545. right: -30rpx;
  546. top: 50%;
  547. content: '';
  548. background: #eee;
  549. width: 1px;
  550. height: 28rpx;
  551. margin-top: -14rpx;
  552. }
  553. }
  554. .z_list {
  555. max-height: 500rpx;
  556. .material {
  557. margin-top: 10rpx;
  558. .left {
  559. width: 40rpx;
  560. }
  561. .zdy_check {
  562. width: 30rpx;
  563. height: 30rpx;
  564. border: 2rpx solid #c8c9cc;
  565. border-radius: 4rpx;
  566. }
  567. .check_active {
  568. background: $theme-color;
  569. border: 2rpx solid $theme-color;
  570. /deep/ .u-icon__icon {
  571. color: #fff !important;
  572. }
  573. }
  574. .content_table {
  575. width: 100%;
  576. border: 2rpx solid $border-color;
  577. .item {
  578. display: flex;
  579. border-bottom: 2rpx solid $border-color;
  580. .lable {
  581. width: 200rpx;
  582. text-align: center;
  583. background-color: #f7f9fa;
  584. font-size: 26rpx;
  585. border-right: 2rpx solid $border-color;
  586. flex-shrink: 0;
  587. }
  588. .ww80 {
  589. width: 80rpx;
  590. }
  591. .content {
  592. width: 500rpx;
  593. min-height: 64rpx;
  594. font-size: 28rpx;
  595. line-height: 28rpx;
  596. font-style: normal;
  597. font-weight: 400;
  598. padding: 18rpx 8rpx;
  599. box-sizing: border-box;
  600. word-wrap: break-word;
  601. flex-grow: 1 !important;
  602. }
  603. .input_box {
  604. padding: 0 !important;
  605. }
  606. .content_num {
  607. display: flex;
  608. align-items: center;
  609. padding: 0 4rpx;
  610. /deep/ .uni-input-input {
  611. width: 200rpx;
  612. border: 2rpx solid #f0f8f2;
  613. background: #f0f8f2;
  614. color: $theme-color;
  615. }
  616. .unit {
  617. padding: 0 4rpx;
  618. font-size: 24rpx;
  619. color: #404446;
  620. }
  621. }
  622. .ww400 {
  623. /deep/ .uni-input-input {
  624. width: 400rpx;
  625. }
  626. }
  627. .pd4 {
  628. padding: 4rpx 8rpx;
  629. }
  630. &:last-child {
  631. border-bottom: none;
  632. }
  633. }
  634. .ww55 {
  635. width: 55%;
  636. }
  637. .ww45 {
  638. width: 45%;
  639. }
  640. .ww50 {
  641. width: 50%;
  642. }
  643. .ww30 {
  644. width: 30%;
  645. }
  646. .ww70 {
  647. width: 70%;
  648. }
  649. .ww80 {
  650. width: 80%;
  651. }
  652. .ww20 {
  653. width: 20%;
  654. }
  655. .check {
  656. width: 30rpx;
  657. height: 30rpx;
  658. }
  659. .tag_box {
  660. padding: 2rpx 10rpx;
  661. margin-right: 12rpx;
  662. background: #e6a23c;
  663. font-size: 22rpx;
  664. color: #fff;
  665. border-radius: 4rpx;
  666. }
  667. }
  668. }
  669. }
  670. .more {
  671. position: absolute;
  672. bottom: 26rpx;
  673. right: 30rpx;
  674. font-size: 28rpx;
  675. color: #666;
  676. }
  677. }
  678. .selectTime {
  679. display: flex;
  680. justify-content: flex-end;
  681. align-items: center;
  682. margin-bottom: 10rpx;
  683. .title {
  684. flex: 1;
  685. font-size: 30rpx;
  686. }
  687. }
  688. .listCont {
  689. display: flex;
  690. align-items: center;
  691. flex-wrap: wrap;
  692. margin-top: 20rpx;
  693. margin-left: 10rpx;
  694. &.save {
  695. .u-input {
  696. border: none;
  697. }
  698. }
  699. .u-input {
  700. border: 1px solid rgb(229, 229, 229);
  701. height: 15rpx !important;
  702. }
  703. .item {
  704. width: 47%;
  705. font-size: 28rpx;
  706. margin-bottom: 10rpx;
  707. margin-right: 3%;
  708. // line-height: 45rpx;
  709. // overflow: hidden;
  710. // white-space: nowrap;
  711. // text-overflow: ellipsis;
  712. // -o-text-overflow: ellipsis;
  713. // color: #000;
  714. // display: flex;
  715. /deep/.u-form-item__body {
  716. padding: 0 !important;
  717. }
  718. /deep/.u-input__content__field-wrapper__field,
  719. /deep/.u-form-item {
  720. font-size: 28rpx !important;
  721. }
  722. text.label {
  723. width: 120rpx;
  724. display: inline-block;
  725. text-align: right;
  726. margin-right: 20rpx;
  727. margin-bottom: 20rpx;
  728. }
  729. /deep/.uni-date__x-input {
  730. height: 40rpx;
  731. font-size: 28rpx;
  732. }
  733. /deep/.uni-date {
  734. width: 48%;
  735. display: inline-block;
  736. .uni-icons {
  737. display: none !important;
  738. }
  739. .uni-date-x {
  740. padding: 0 !important;
  741. }
  742. }
  743. }
  744. .item text {
  745. color: #666;
  746. }
  747. }
  748. .selectTime {
  749. display: flex;
  750. justify-content: flex-end;
  751. margin-bottom: 10rpx;
  752. .timeBox {
  753. display: flex;
  754. width: 500rpx;
  755. .firstBtn {
  756. margin-right: 10rpx;
  757. }
  758. }
  759. }
  760. .listBox:last-child {
  761. border: none !important;
  762. }
  763. .textBox {
  764. border: 1px #f2f2f2 solid;
  765. height: 160px;
  766. display: block;
  767. width: auto !important;
  768. }
  769. .saveBtn {
  770. width: 50%;
  771. margin: 40rpx auto;
  772. }
  773. .top-css {
  774. border-bottom: 1px solid rgb(207, 204, 204);
  775. }
  776. </style>