purchaseContractEdit.vue 22 KB

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