purchaseContractAdd.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  1. <!--销售合同-->
  2. <!--2019年5月30日 20:25:16 by jlx-->
  3. <template>
  4. <div class='container'>
  5. <el-row>
  6. <el-col :span="12">
  7. <h2 class="bg-left">创建销售合同</h2>
  8. </el-col>
  9. <el-col :span="12" class="bg-right">
  10. <el-button
  11. class="bg-bottom"
  12. type="primary"
  13. size="small"
  14. @click="returnsales()"
  15. >返回</el-button
  16. >
  17. </el-col>
  18. </el-row>
  19. <ws-form
  20. ref="deptBudgetList"
  21. :rules="mainReportAdd"
  22. :model="deptBudgetList"
  23. >
  24. <div class="remark">
  25. <h3>基本信息</h3>
  26. <p>注:基本信息和货物信息均为必填项,“*” 标记的条目提交后不可修改。</p>
  27. </div>
  28. <ws-info-table>
  29. <ws-form-item
  30. label="合同编号"
  31. span="1"
  32. prop="contractNo"
  33. >
  34. <ws-input
  35. v-model="deptBudgetList.contractNo"
  36. maxlength="100"
  37. size="small"
  38. />
  39. <span class='unchangeable'>*</span>
  40. </ws-form-item>
  41. <ws-form-item
  42. label="运输方式"
  43. span="1"
  44. prop="shippingType"
  45. >
  46. <ws-input
  47. v-model="deptBudgetList.shippingType"
  48. maxlength="100"
  49. size="small"
  50. />
  51. </ws-form-item>
  52. <ws-form-item
  53. label="买方"
  54. span="1"
  55. prop="buyer"
  56. >
  57. <ws-input
  58. v-model="deptBudgetList.buyer"
  59. maxlength="100"
  60. size="small"
  61. />
  62. </ws-form-item>
  63. <ws-form-item
  64. label="结算方式"
  65. span="1"
  66. prop="settlementMethod"
  67. >
  68. <ws-input
  69. v-model="deptBudgetList.settlementMethod"
  70. maxlength="100"
  71. size="small"
  72. />
  73. </ws-form-item>
  74. <ws-form-item
  75. label="卖方"
  76. span="1"
  77. prop="seller"
  78. >
  79. <ws-input
  80. v-model="deptBudgetList.seller"
  81. maxlength="100"
  82. size="small"
  83. />
  84. </ws-form-item>
  85. <ws-form-item
  86. label="货源地"
  87. span="1"
  88. prop="sourceGoods"
  89. >
  90. <ws-input
  91. v-model="deptBudgetList.sourceGoods"
  92. maxlength="100"
  93. size="small"
  94. />
  95. </ws-form-item>
  96. <ws-form-item
  97. label="买方电话"
  98. span="1"
  99. prop="buyerPhone"
  100. >
  101. <ws-input
  102. v-model="deptBudgetList.buyerPhone"
  103. maxlength="100"
  104. size="small"
  105. />
  106. </ws-form-item>
  107. <ws-form-item
  108. label="交货地"
  109. span="1"
  110. prop="placeDelivery"
  111. >
  112. <ws-input
  113. v-model="deptBudgetList.placeDelivery"
  114. maxlength="100"
  115. size="small"
  116. />
  117. </ws-form-item>
  118. <ws-form-item
  119. label="卖方电话"
  120. span="1"
  121. prop="sellerPhone"
  122. >
  123. <ws-input
  124. v-model="deptBudgetList.sellerPhone"
  125. maxlength="100"
  126. size="small"
  127. />
  128. </ws-form-item>
  129. <ws-form-item
  130. label="包装方式"
  131. span="1"
  132. prop="packingMethod"
  133. >
  134. <ws-select
  135. v-model="deptBudgetList.packingMethod"
  136. placeholder=""
  137. class="typeselect"
  138. @change="selectCrtDuty"
  139. >
  140. <ws-option
  141. v-for="item in packtypeList"
  142. :key="item.constKey"
  143. :label="item.constValue"
  144. :value="item.constValue"
  145. />
  146. </ws-select>
  147. </ws-form-item>
  148. <ws-form-item
  149. label="重量(吨)"
  150. span="1"
  151. prop="weight"
  152. >
  153. <ws-input
  154. v-model="deptBudgetList.weight"
  155. maxlength="100"
  156. size="small"
  157. />
  158. </ws-form-item>
  159. <ws-form-item
  160. label="验收方式"
  161. span="1"
  162. prop="acceptanceMethod"
  163. >
  164. <el-select v-model="pleaseChoose" :placeholder="getPleaseChoose" style="width: 100%;" filterable @change="selectContract">
  165. <el-option v-for="(item,index) in unitList"
  166. :key="item.constValue"
  167. :label="getLanguage !== 'en' ? item.constValue : item.constValueEn"
  168. :value="item.constValue">
  169. <span class="unit-left" style="float: left">
  170. <span v-if="item.flag == 'delete'"> {{ item.constValue }}</span>
  171. <!-- 新增文本框 -->
  172. <div style="width:160px" v-if="item.flag !== 'delete'" @click.stop>
  173. <ws-input v-model="item.constValue"
  174. clearable
  175. maxlength="10"
  176. style="width:100%;"></ws-input>
  177. </div>
  178. </span>
  179. <span style="float: right; color: #8492a6; font-size: 13px">
  180. <!-- 对号 -->
  181. <i class="el-icon-check" style="line-height: 29px;margin-left:10px" v-if="item.flag !== 'delete'" @click.stop="saveClick(item, index)"></i>
  182. <!-- 编辑 -->
  183. <i class="el-icon-edit" style="line-height: 29px;margin-left:10px" v-if="item.flag == 'delete'" @click.stop="editClick(item, index)"></i>
  184. <!-- 删除 -->
  185. <i class="el-icon-delete" style="line-height: 29px;" @click.stop="deleteClick(item, index)"></i>
  186. </span>
  187. </el-option>
  188. <!-- 新增按钮 -->
  189. <el-option value="" label="">
  190. <div style="text-align: center">
  191. <ws-button type="primary" @click.stop="addClick">{{$t('button.add')}}</ws-button>
  192. </div>
  193. </el-option>
  194. </el-select>
  195. </ws-form-item>
  196. <ws-form-item
  197. label="溢短装(%)"
  198. span="1"
  199. prop="overShort"
  200. >
  201. <ws-input
  202. v-model="deptBudgetList.weight"
  203. maxlength="100"
  204. size="small"
  205. />
  206. </ws-form-item>
  207. <ws-form-item
  208. label="交货日期(起)"
  209. span="1"
  210. prop="deliveryDateStart"
  211. >
  212. <ws-date-picker
  213. :picker-options="pickerBeginDateBefore"
  214. v-model="deptBudgetList.deliveryDateStart"
  215. type="date"
  216. default-value="1980-01-01"
  217. placeholder="起始日期"
  218. format="yyyy-MM-dd"
  219. value-format="yyyy-MM-dd"
  220. />
  221. </ws-form-item>
  222. <ws-form-item
  223. label="合同单价(元/吨)"
  224. span="1"
  225. prop="unitContractPrice"
  226. >
  227. <ws-input
  228. v-model="deptBudgetList.unitContractPrice"
  229. maxlength="100"
  230. size="small"
  231. />
  232. </ws-form-item>
  233. <ws-form-item
  234. label="交货日期(止)"
  235. span="1"
  236. prop="deliveryDateEnd"
  237. >
  238. <ws-date-picker
  239. :picker-options="pickerBeginDateBefore"
  240. v-model="deptBudgetList.deliveryDateEnd"
  241. type="date"
  242. default-value="1980-01-01"
  243. placeholder="起始日期"
  244. format="yyyy-MM-dd"
  245. value-format="yyyy-MM-dd"
  246. />
  247. </ws-form-item>
  248. <ws-form-item
  249. label="合同总价(元)"
  250. span="1"
  251. prop="totalContractPrice"
  252. >
  253. <ws-input
  254. v-model="deptBudgetList.totalContractPrice"
  255. maxlength="100"
  256. size="small"
  257. />
  258. </ws-form-item>
  259. <ws-form-item
  260. label="签订日期"
  261. span="1"
  262. prop="signingDate"
  263. >
  264. <ws-date-picker
  265. :picker-options="pickerBeginDateBefore"
  266. v-model="deptBudgetList.signingDate"
  267. type="date"
  268. default-value="1980-01-01"
  269. placeholder="起始日期"
  270. format="yyyy-MM-dd"
  271. value-format="yyyy-MM-dd"
  272. />
  273. </ws-form-item>
  274. </ws-info-table>
  275. </base-card>
  276. <!--面试信息-->
  277. <div class="remark">
  278. <h3>货物信息</h3>
  279. </div>
  280. <ws-info-table>
  281. <ws-form-item
  282. label="货名"
  283. span="1"
  284. prop="goodsName"
  285. >
  286. <ws-select
  287. v-model="deptBudgetList.contractGoodsInfo.goodsName"
  288. placeholder=""
  289. class="typeselect"
  290. @change="selectCrtDuty"
  291. >
  292. <ws-option
  293. v-for="item in goodnameList"
  294. :key="item.constKey"
  295. :label="item.constValue"
  296. :value="item.constValue"
  297. />
  298. </ws-select>
  299. </ws-form-item>
  300. <ws-form-item
  301. label="水分(%)<="
  302. span="1"
  303. prop="waterContent"
  304. >
  305. <ws-input
  306. v-model="deptBudgetList.contractGoodsInfo.waterContent"
  307. maxlength="100"
  308. size="small"
  309. />
  310. </ws-form-item>
  311. <ws-form-item
  312. label="品级"
  313. span="1"
  314. prop="grade"
  315. >
  316. <ws-select
  317. v-model="deptBudgetList.contractGoodsInfo.grade"
  318. placeholder=""
  319. class="typeselect"
  320. @change="selectCrtDuty"
  321. >
  322. <ws-option
  323. v-for="item in gradeList"
  324. :key="item.value"
  325. :label="item.value"
  326. :value="item.value"
  327. />
  328. </ws-select>
  329. </ws-form-item>
  330. <ws-form-item
  331. label="杂质(%)<="
  332. span="1"
  333. prop="interviewDates"
  334. >
  335. <ws-input
  336. v-model="deptBudgetList.contractGoodsInfo.waterContent"
  337. maxlength="100"
  338. size="small"
  339. />
  340. </ws-form-item>
  341. <ws-form-item
  342. label="容重(克/升)<="
  343. span="1"
  344. prop="interviewType"
  345. >
  346. <ws-input
  347. v-model="deptBudgetList.contractGoodsInfo.bulkDensity"
  348. maxlength="100"
  349. size="small"
  350. />
  351. </ws-form-item>
  352. <ws-form-item
  353. label="霉变粒(%)<="
  354. span="1"
  355. prop="mildewGrain"
  356. class="result"
  357. >
  358. <ws-input
  359. v-model="deptBudgetList.contractGoodsInfo.mildewGrain"
  360. maxlength="100"
  361. size="small"
  362. />
  363. </ws-form-item>
  364. <ws-form-item
  365. label="热损伤(%)<="
  366. span="1"
  367. prop="jiaorenli"
  368. >
  369. <ws-input
  370. v-model="deptBudgetList.contractGoodsInfo.jiaorenli"
  371. maxlength="100"
  372. size="small"
  373. />
  374. </ws-form-item>
  375. <ws-form-item
  376. label="不完善粒(%)<="
  377. span="1"
  378. prop="imperfectGrain"
  379. class="result"
  380. >
  381. <ws-input
  382. v-model="deptBudgetList.contractGoodsInfo.imperfectGrain"
  383. maxlength="100"
  384. size="small"
  385. />
  386. </ws-form-item>
  387. </ws-info-table>
  388. <div class="remark">
  389. <h3>流程信息</h3>
  390. </div>
  391. <ws-info-table>
  392. <ws-form-item
  393. label="合同收入(元)"
  394. span="1"
  395. prop="goodsNameKey"
  396. >
  397. <ws-input
  398. v-model="deptBudgetList.contractProcessInfo.goodsNameKey"
  399. maxlength="100"
  400. size="small"
  401. />
  402. </ws-form-item>
  403. <ws-form-item
  404. label="已开发票(元)"
  405. span="1"
  406. prop="goodsName"
  407. >
  408. <ws-input
  409. v-model="deptBudgetList.contractProcessInfo.goodsName"
  410. maxlength="100"
  411. size="small"
  412. />
  413. </ws-form-item>
  414. <ws-form-item
  415. label="费用支出(元)"
  416. span="1"
  417. prop="waterContent"
  418. >
  419. <ws-input
  420. v-model="deptBudgetList.contractProcessInfo.waterContent"
  421. maxlength="100"
  422. size="small"
  423. />
  424. </ws-form-item>
  425. <ws-form-item
  426. label="未开发票(元)"
  427. span="1"
  428. prop="impurity"
  429. >
  430. <ws-input
  431. v-model="deptBudgetList.contractProcessInfo.impurity"
  432. maxlength="100"
  433. size="small"
  434. />
  435. </ws-form-item>
  436. <ws-form-item
  437. label="未回款(元)"
  438. span="1"
  439. prop="mildewGrain"
  440. >
  441. <ws-input
  442. v-model="deptBudgetList.contractProcessInfo.mildewGrain"
  443. maxlength="100"
  444. size="small"
  445. />
  446. </ws-form-item>
  447. <ws-form-item
  448. label="已完成发运量(吨)"
  449. span="1"
  450. prop="Prettier"
  451. class="imperfectGrain"
  452. >
  453. <ws-input
  454. v-model="deptBudgetList.contractProcessInfo.imperfectGrain"
  455. maxlength="100"
  456. size="small"
  457. />
  458. </ws-form-item>
  459. <ws-form-item
  460. label="双章原件回收情况"
  461. span="1"
  462. prop="grade"
  463. >
  464. <ws-select
  465. v-model="deptBudgetList.contractProcessInfo.grade"
  466. placeholder=""
  467. class="typeselect"
  468. @change="selectCrtDuty"
  469. >
  470. <ws-option
  471. v-for="item in taskTypeList"
  472. :key="item.value"
  473. :label="item.value"
  474. :value="item.value"
  475. />
  476. </ws-select>
  477. </ws-form-item>
  478. </ws-info-table>
  479. <div class="remark">
  480. <h3>备注信息</h3>
  481. </div>
  482. <ws-input v-model="deptBudgetList.remarks" type="textarea" row="3" placeholder="请输入备注信息,不超过200字" maxlength="200" />
  483. <ws-upload ref="upload"
  484. table-name="maintain_work_order"
  485. oss-key="mainPlan"
  486. :comp-id="compId"
  487. :appendix-ids="appendixIdsAdd"
  488. :vesselId="deptBudgetList.addressUrl"
  489. :size-limit='size'
  490. accept='.jpg, .jpeg, .png, .pdf, .doc, .zip, .rar' />
  491. </base-card>
  492. </ws-form>
  493. <div style='text-align:right;padding:10px;'>
  494. <el-button
  495. class="bg-bottom"
  496. type="primary"
  497. size="small"
  498. @click="submit()"
  499. >提交</el-button>
  500. </div>
  501. </div>
  502. </template>
  503. <script>
  504. import { EventBus, dayjs } from 'base-core-lib'
  505. import {
  506. packList,
  507. addList,
  508. xiala,
  509. addxiala,
  510. editxiala,
  511. delxiala,
  512. } from '@/model/contarct/index'
  513. import WsUpload from '@/components/WsUpload'
  514. export default {
  515. name: 'viewSpareMoney',
  516. watch: {
  517. vesselId(val) {
  518. this.getVesselData()
  519. },
  520. isShow(val) {
  521. this.showType = val
  522. },
  523. },
  524. components: {
  525. WsUpload,
  526. },
  527. data() {
  528. return {
  529. //弹出框
  530. dialogViewSpareMoney: false,
  531. dialogApproveFormVisible: false,
  532. // 船舶类型
  533. monetaryKey: null,
  534. // 表格显示数据
  535. tableDate: [],
  536. // 是否显示
  537. showType: true,
  538. // 年
  539. year: '',
  540. size: 10,
  541. pleaseChoose: '',
  542. // 提交类型
  543. submitType: true,
  544. tableData: [{ date: 1111, name: 'qqqq', address: 'errrtt' }],
  545. ruleDeptBudget: [],
  546. deptBudgetList: {
  547. contractGoodsInfo: {
  548. goodsName: '',
  549. },
  550. contractProcessInfo: {},
  551. },
  552. mainReportAdd: {},
  553. trainingMethods: {},
  554. pickerBeginDateBefore: {
  555. disabledDate: (time) => {
  556. return time.getTime() > Date.now()
  557. },
  558. },
  559. packtypeList: [],
  560. goodnameList: [],
  561. unitList: [],
  562. gradeList: [],
  563. taskTypeList: [
  564. { value: '未完成(默认)' },
  565. { value: '已完成' },
  566. { value: '待回款' },
  567. { value: '全部合同' },
  568. ],
  569. }
  570. },
  571. created() {
  572. //cg.viewBudget
  573. //cg.viewSpareMoney
  574. // this.getVesselData();
  575. this.loaddata()
  576. this.showType = this.isShow
  577. },
  578. methods: {
  579. // 关闭 dialog时 处理文件url 初始化upload组件
  580. handleClose() {
  581. this.dialogViewSpareMoney = false
  582. },
  583. loaddata() {
  584. // 包装方式
  585. packList({ constId: 'CON1' })
  586. .toPromise()
  587. .then((response) => {
  588. this.packtypeList = response
  589. })
  590. // 验收方式
  591. this.getUnitList()
  592. // 货名
  593. packList({ constId: 'CON2' })
  594. .toPromise()
  595. .then((response) => {
  596. this.goodnameList = response
  597. })
  598. // 品级
  599. packList({ constId: 'CON3' })
  600. .toPromise()
  601. .then((response) => {
  602. this.gradeList = response
  603. })
  604. },
  605. submit() {
  606. this.$refs.deptBudgetList.validate((valid) => {
  607. if (valid) {
  608. console.log(this.deptBudgetList)
  609. } else {
  610. EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  611. return false
  612. }
  613. })
  614. },
  615. getUnitList() {
  616. xiala({
  617. compId: sessionStorage.getItem('ws-pf_compId'),
  618. constCode: 'TYPEYAN',
  619. })
  620. .toPromise()
  621. .then((response) => {
  622. this.unitList = response
  623. let currItem
  624. this.unitList.forEach((item, index, arr) => {
  625. item.flag = 'delete'
  626. if (this.vModel == item.constKey) {
  627. currItem = item
  628. }
  629. })
  630. //
  631. if (currItem) {
  632. this.selectContract(currItem.constValue)
  633. }
  634. })
  635. },
  636. selectContract(val) {
  637. let key = this.unitList.find((item) => item.constValue === val).constKey
  638. this.pleaseChoose = val
  639. },
  640. handleExamine() {},
  641. approve() {},
  642. returnsales() {
  643. this.$router.push({ path: 'purchaseContract' })
  644. },
  645. selectCrtDuty() {},
  646. addClick() {
  647. this.unitList.push({
  648. flag: 'add',
  649. constValue: '',
  650. constKey: '',
  651. })
  652. },
  653. saveClick(item, index) {
  654. console.log(item)
  655. if (Object.is(item.id, 1)) {
  656. return
  657. }
  658. if (Object.is(this.unitList[index].flag, 'delete')) {
  659. this.$set(this.unitList, index, { flag: 'check' })
  660. } else {
  661. this.$set(this.unitList, index, { flag: 'delete' })
  662. }
  663. if (!item.constValue) {
  664. this.unitList.splice(index, 1)
  665. return
  666. }
  667. if (item.flag == 'add') {
  668. item.constKey = Math.random() * 20
  669. this.trainingMethods.compId = sessionStorage.getItem('ws-pf_compId')
  670. this.trainingMethods.constKey = item.constKey
  671. this.trainingMethods.constCode = 'TYPEYAN'
  672. this.trainingMethods.constValue = item.constValue
  673. this.trainingMethods.id = item.id
  674. addxiala(this.trainingMethods)
  675. .toPromise()
  676. .then((response) => {
  677. this.getUnitList()
  678. })
  679. } else {
  680. this.trainingMethods.constValue = item.constValue
  681. this.trainingMethods.id = item.id
  682. editxiala(this.trainingMethods)
  683. .toPromise()
  684. .then((response) => {
  685. this.getUnitList()
  686. })
  687. }
  688. },
  689. // 编辑
  690. editClick(item, index) {
  691. const map = JSON.parse(JSON.stringify(item))
  692. if (Object.is(item.id, 1)) {
  693. return
  694. }
  695. if (Object.is(this.unitList[index].flag, 'delete')) {
  696. map.flag = 'check'
  697. this.$set(this.unitList, index, map)
  698. } else {
  699. map.flag = 'delete'
  700. this.$set(this.unitList, index, map)
  701. }
  702. },
  703. // 删除
  704. deleteClick(item, index) {
  705. if (Object.is(item.constKey, 1)) {
  706. return
  707. }
  708. if (!item.constValue) {
  709. this.unitList.splice(index, 1)
  710. return
  711. }
  712. delxiala({ id: this.unitList[index].id })
  713. .toPromise()
  714. .then((response) => {
  715. this.getUnitList()
  716. this.pleaseChoose = ''
  717. })
  718. },
  719. },
  720. }
  721. </script>
  722. <style lang="scss" scoped>
  723. .ws-upload {
  724. margin-top: 20px;
  725. }
  726. .el-form {
  727. padding: 0 20%;
  728. }
  729. .el-form-item {
  730. width: 50%;
  731. }
  732. .unchangeable {
  733. color: #1d6ced;
  734. }
  735. .button-container {
  736. display: flex;
  737. flex-wrap: nowrap;
  738. justify-content: space-between;
  739. align-items: center;
  740. background-color: #fff;
  741. width: 100%;
  742. height: 50px;
  743. padding: 0 10px;
  744. & > div {
  745. margin-left: 10px;
  746. display: flex;
  747. flex-wrap: nowrap;
  748. flex-direction: row;
  749. & > span {
  750. line-height: 50px;
  751. }
  752. }
  753. /deep/.auditFlow-box {
  754. position: unset;
  755. margin-left: 10px;
  756. &/deep/.auditFlow-icon {
  757. width: auto;
  758. padding-right: 30px;
  759. }
  760. &/deep/.auditFlow-main {
  761. position: absolute;
  762. }
  763. }
  764. }
  765. .box-app {
  766. display: inline-block;
  767. float: left;
  768. margin-left: 30px;
  769. line-height: 50px;
  770. }
  771. /deep/.el-dialog {
  772. .el-form-item {
  773. margin-bottom: 0 !important;
  774. .el-input--medium {
  775. textarea {
  776. min-height: 100px !important;
  777. }
  778. }
  779. }
  780. }
  781. .collapse-bottom {
  782. margin-bottom: 20px;
  783. }
  784. .input-main .textarea .el-textarea__inner {
  785. width: 100%;
  786. z-index: 1;
  787. }
  788. .collapse-bottom {
  789. margin-bottom: 20px;
  790. }
  791. .input-main .textarea .el-textarea__inner {
  792. width: 100%;
  793. z-index: 1;
  794. }
  795. .bg-left {
  796. padding-left: 10px;
  797. }
  798. .bg-right {
  799. padding-right: 10px;
  800. text-align: right;
  801. }
  802. .bg-bottom {
  803. margin: 20px 0px;
  804. }
  805. .remark h3 {
  806. display: inline-block;
  807. margin-right: 20px;
  808. }
  809. .remark p {
  810. display: inline-block;
  811. }
  812. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  813. /* height: 82px;*/
  814. /*}*/
  815. // 控制select为只读的时候显示样式
  816. .hide-sel {
  817. .el-input__inner {
  818. border: 0px;
  819. }
  820. .el-icon-arrow-up {
  821. display: none;
  822. }
  823. .el-textarea__inner {
  824. background-color: #fff !important;
  825. border: 0;
  826. }
  827. .el-date-editor {
  828. i {
  829. display: none;
  830. }
  831. }
  832. .is-disabled {
  833. .el-input__inner:hover {
  834. background-color: #fff !important;
  835. border: 0;
  836. }
  837. color: #606266;
  838. .el-input__inner {
  839. background-color: #fff !important;
  840. border: 0;
  841. color: #606266;
  842. }
  843. .el-textarea__inner {
  844. background-color: #fff !important;
  845. border: 0;
  846. color: #606266;
  847. }
  848. }
  849. }
  850. // 控制select为只读的时候显示样式
  851. /deep/.ws-class-table-col {
  852. height: auto;
  853. padding: 0px 2px;
  854. /deep/.el-input__inner {
  855. padding: 0px 2px;
  856. }
  857. }
  858. /deep/.is-disabled {
  859. .el-input__prefix,
  860. .el-input__suffix {
  861. display: none;
  862. }
  863. .el-input__inner {
  864. background-color: #fff;
  865. border-color: #fff !important;
  866. color: #000 !important;
  867. font-size: 14px;
  868. cursor: text;
  869. padding: 0 !important;
  870. }
  871. }
  872. .winseaview-view {
  873. padding: 10px 0 20px;
  874. }
  875. .container {
  876. overflow: scroll;
  877. height: 93vh;
  878. }
  879. </style>