details.vue 21 KB

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