salesContractEdit.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  1. <template>
  2. <div>
  3. <el-row>
  4. <el-col :span="12" >
  5. <h2 class="bg-left">修改合同信息</h2>
  6. </el-col>
  7. <el-col :span="12" class="bg-right">
  8. <el-button class="bg-bottom"
  9. type="primary"
  10. size="small"
  11. @click="returnsales()"
  12. >返回</el-button
  13. >
  14. </el-col>
  15. </el-row>
  16. <div class="wenzi">
  17. <h3>基本信息</h3><p>&nbsp;&nbsp;注:基本信息和货物信息均为必填项,“*” 标记的条目提交后不可修改。</p>
  18. </div>
  19. <div class="center">
  20. <ws-form ref="deptBudgetList"
  21. :rules="ruleDeptBudget"
  22. :model="deptBudgetList">
  23. <!--基本信息-->
  24. <ws-info-table>
  25. <!--合同编号-->
  26. <ws-form-item label="合同编号"
  27. span="1"
  28. prop="seafarerName">
  29. <ws-input
  30. v-model="deptBudgetList.seafarerName"
  31. size="small" />
  32. <i v-if="isEdited && registered == '1'"
  33. class="iconfont iconaddy1 ml10"
  34. style="cursor:pointer;"
  35. @click="dialogFormVisible = true" />
  36. </ws-form-item>
  37. <!--运输方式-->
  38. <ws-form-item label="运输方式"
  39. span="1"
  40. prop="seafarerName">
  41. <ws-input
  42. v-model="deptBudgetList.seafarerName"
  43. maxlength="100"
  44. size="small" />
  45. <i v-if="isEdited && registered == '1'"
  46. class="iconfont iconaddy1 ml10"
  47. style="cursor:pointer;"
  48. @click="dialogFormVisible = true" />
  49. </ws-form-item>
  50. <!--买方-->
  51. <ws-form-item label="卖方"
  52. span="1"
  53. prop="seafarerName">
  54. <ws-input
  55. v-model="deptBudgetList.seafarerName"
  56. maxlength="100"
  57. size="small" />
  58. <i v-if="isEdited && registered == '1'"
  59. class="iconfont iconaddy1 ml10"
  60. style="cursor:pointer;"
  61. @click="dialogFormVisible = true" />
  62. </ws-form-item>
  63. <!--结算方式-->
  64. <ws-form-item label="结算方式"
  65. span="1"
  66. prop="seafarerName">
  67. <ws-input
  68. v-model="deptBudgetList.seafarerName"
  69. maxlength="100"
  70. size="small" />
  71. <i v-if="isEdited && registered == '1'"
  72. class="iconfont iconaddy1 ml10"
  73. style="cursor:pointer;"
  74. @click="dialogFormVisible = true" />
  75. </ws-form-item>
  76. <!--卖方-->
  77. <ws-form-item label="卖方"
  78. span="1"
  79. prop="seafarerName">
  80. <ws-input
  81. v-model="deptBudgetList.seafarerName"
  82. maxlength="100"
  83. size="small" />
  84. <i v-if="isEdited && registered == '1'"
  85. class="iconfont iconaddy1 ml10"
  86. style="cursor:pointer;"
  87. @click="dialogFormVisible = true" />
  88. </ws-form-item>
  89. <!--货源地-->
  90. <ws-form-item label="货源地"
  91. span="1"
  92. prop="seafarerName">
  93. <ws-input
  94. v-model="deptBudgetList.seafarerName"
  95. maxlength="50"
  96. size="small" />
  97. <i v-if="isEdited && registered == '1'"
  98. class="iconfont iconaddy1 ml10"
  99. style="cursor:pointer;"
  100. @click="dialogFormVisible = true" />
  101. </ws-form-item>
  102. <!--买方电话-->
  103. <ws-form-item label="买方电话"
  104. span="1"
  105. :prop="
  106. !deptBudgetList.add && registered != 1 ? 'mobilePhone' : ''
  107. "
  108. :key="
  109. !deptBudgetList.add || registered != 1
  110. ? 'mobilePhone_haveProp'
  111. : 'mobilePhone_noProp'
  112. ">
  113. <ws-input
  114. v-model="deptBudgetList.mobilePhone"
  115. oninput="value=value.replace(/[^\d]/g,'')"
  116. maxlength="50"
  117. size="small" />
  118. </ws-form-item>
  119. <!--交货地-->
  120. <ws-form-item label="交货地"
  121. span="1"
  122. prop="seafarerName">
  123. <ws-input
  124. v-model="deptBudgetList.seafarerName"
  125. maxlength="100"
  126. size="small" />
  127. <i v-if="isEdited && registered == '1'"
  128. class="iconfont iconaddy1 ml10"
  129. style="cursor:pointer;"
  130. @click="dialogFormVisible = true" />
  131. </ws-form-item>
  132. <!--卖方电话-->
  133. <ws-form-item label="卖方电话"
  134. span="1"
  135. :prop="
  136. !deptBudgetList.add && registered != 1 ? 'sellerPhone' : ''
  137. "
  138. :key="
  139. !deptBudgetList.add || registered != 1
  140. ? 'sellerPhone_haveProp'
  141. : 'sellerPhone_noProp'
  142. ">
  143. <ws-input
  144. v-model="deptBudgetList.mobilePhone"
  145. oninput="value=value.replace(/[^\d]/g,'')"
  146. maxlength="50"
  147. size="small" />
  148. </ws-form-item>
  149. <!--包装方式-->
  150. <ws-form-item label="包装方式"
  151. span="1"
  152. :prop="!deptBudgetList.add && registered != 1 ? 'crtDutyId' : ''"
  153. :key="
  154. !deptBudgetList.add || registered != 1
  155. ? 'crtDutyId_haveProp'
  156. : 'crtDutyId_noProp'
  157. ">
  158. <ws-select
  159. v-model="deptBudgetList.crtDutyId"
  160. :placeholder="$t('common.selected')"
  161. @change="selectCrtDuty">
  162. <ws-option v-for="item in dutyList"
  163. :key="item.dutyId"
  164. :label="item.aliasName"
  165. :value="item.dutyId" />
  166. </ws-select>
  167. </ws-form-item>
  168. <!--重量(吨)-->
  169. <ws-form-item label="重量(吨)"
  170. span="1"
  171. prop="seafarerName">
  172. <ws-input
  173. v-model="deptBudgetList.seafarerName"
  174. maxlength="100"
  175. size="small" />
  176. <i v-if="isEdited && registered == '1'"
  177. class="iconfont iconaddy1 ml10"
  178. style="cursor:pointer;"
  179. @click="dialogFormVisible = true" />
  180. </ws-form-item>
  181. <!--验收方式-->
  182. <ws-form-item label="验收方式"
  183. span="1"
  184. :prop="!deptBudgetList.add && registered != 1 ? 'Acceptance' : ''"
  185. :key="
  186. !deptBudgetList.add || registered != 1
  187. ? 'Acceptance_method'
  188. : 'Acceptance_noProp'
  189. ">
  190. <ws-select
  191. v-model="deptBudgetList.crtDutyId"
  192. :placeholder="$t('common.selected')"
  193. @change="selectCrtDuty">
  194. <ws-option v-for="item in dutyList"
  195. :key="item.dutyId"
  196. :label="item.aliasName"
  197. :value="item.dutyId" />
  198. </ws-select>
  199. </ws-form-item>
  200. <!--溢短装(%)-->
  201. <ws-form-item label="溢短装(%)"
  202. span="1"
  203. prop="seafarerName">
  204. <ws-input
  205. v-model="deptBudgetList.seafarerName"
  206. maxlength="100"
  207. size="small" />
  208. <i v-if="isEdited && registered == '1'"
  209. class="iconfont iconaddy1 ml10"
  210. style="cursor:pointer;"
  211. @click="dialogFormVisible = true" />
  212. </ws-form-item>
  213. <!--交货日期(起)-->
  214. <ws-form-item label="交货日期(起)"
  215. span="1"
  216. :prop="!deptBudgetList.add && registered != 1 ? 'Delivery' : ''"
  217. :key="
  218. !deptBudgetList.add || registered != 1
  219. ? 'Delivery_date_from'
  220. : 'Delivery_noProp'
  221. ">
  222. <ws-select
  223. v-model="deptBudgetList.crtDutyId"
  224. :placeholder="$t('common.selected')"
  225. @change="selectCrtDuty">
  226. <ws-option v-for="item in dutyList"
  227. :key="item.dutyId"
  228. :label="item.aliasName"
  229. :value="item.dutyId" />
  230. </ws-select>
  231. </ws-form-item>
  232. <!--合同单价(元/吨)-->
  233. <ws-form-item label="合同单价(元/吨)"
  234. span="1"
  235. prop="seafarerName">
  236. <ws-input
  237. v-model="deptBudgetList.seafarerName"
  238. maxlength="100"
  239. size="small" />
  240. <i v-if="isEdited && registered == '1'"
  241. class="iconfont iconaddy1 ml10"
  242. style="cursor:pointer;"
  243. @click="dialogFormVisible = true" />
  244. </ws-form-item>
  245. <!--交货日期(止)-->
  246. <ws-form-item label="交货日期(止)"
  247. span="1"
  248. :prop="!deptBudgetList.add && registered != 1 ? 'cDelivery' : ''"
  249. :key="
  250. !deptBudgetList.add || registered != 1
  251. ? 'Delivery_date_to'
  252. : 'Delivery_noProp'
  253. ">
  254. <ws-select
  255. v-model="deptBudgetList.crtDutyId"
  256. :placeholder="$t('common.selected')"
  257. @change="selectCrtDuty">
  258. <ws-option v-for="item in dutyList"
  259. :key="item.dutyId"
  260. :label="item.aliasName"
  261. :value="item.dutyId" />
  262. </ws-select>
  263. </ws-form-item>
  264. <!--合同总价-->
  265. <ws-form-item label="合同总价"
  266. span="1"
  267. prop="seafarerName">
  268. <ws-input
  269. v-model="deptBudgetList.seafarerName"
  270. maxlength="100"
  271. size="small" />
  272. <i v-if="isEdited && registered == '1'"
  273. class="iconfont iconaddy1 ml10"
  274. style="cursor:pointer;"
  275. @click="dialogFormVisible = true" />
  276. </ws-form-item>
  277. <!--签订日期-->
  278. <ws-form-item label="签订日期"
  279. span="1"
  280. :prop="!deptBudgetList.add && registered != 1 ? 'signing' : ''"
  281. :key="
  282. !deptBudgetList.add || registered != 1
  283. ? 'Date_signing'
  284. : 'signing_noProp'
  285. ">
  286. <ws-select
  287. v-model="deptBudgetList.crtDutyId"
  288. :placeholder="$t('common.selected')"
  289. @change="selectCrtDuty">
  290. <ws-option v-for="item in dutyList"
  291. :key="item.dutyId"
  292. :label="item.aliasName"
  293. :value="item.dutyId" />
  294. </ws-select>
  295. </ws-form-item>
  296. </ws-info-table>
  297. </ws-form>
  298. </div>
  299. <div class="wenzi">
  300. <h3>货物信息</h3>
  301. </div>
  302. <div class="center">
  303. <ws-form ref="deptBudgetList"
  304. :rules="ruleDeptBudget"
  305. :model="deptBudgetList">
  306. <!--货物信息-->
  307. <ws-info-table>
  308. <!--货名-->
  309. <ws-form-item label="货名"
  310. span="1"
  311. prop="seafarerName">
  312. <ws-input
  313. v-model="deptBudgetList.seafarerName"
  314. maxlength="100"
  315. size="small" />
  316. <i v-if="isEdited && registered == '1'"
  317. class="iconfont iconaddy1 ml10"
  318. style="cursor:pointer;"
  319. @click="dialogFormVisible = true" />
  320. </ws-form-item>
  321. <!--水分(%)<=-->
  322. <ws-form-item label="水分(%)<="
  323. span="1"
  324. prop="seafarerName">
  325. <ws-input
  326. v-model="deptBudgetList.seafarerName"
  327. maxlength="100"
  328. size="small" />
  329. <i v-if="isEdited && registered == '1'"
  330. class="iconfont iconaddy1 ml10"
  331. style="cursor:pointer;"
  332. @click="dialogFormVisible = true" />
  333. </ws-form-item>
  334. <!--品级-->
  335. <ws-form-item label="品级"
  336. span="1"
  337. prop="seafarerName">
  338. <ws-input
  339. v-model="deptBudgetList.seafarerName"
  340. maxlength="100"
  341. size="small" />
  342. <i v-if="isEdited && registered == '1'"
  343. class="iconfont iconaddy1 ml10"
  344. style="cursor:pointer;"
  345. @click="dialogFormVisible = true" />
  346. </ws-form-item>
  347. <!--杂质(%)<=-->
  348. <ws-form-item label="杂质(%)<="
  349. span="1"
  350. prop="seafarerName">
  351. <ws-input
  352. v-model="deptBudgetList.seafarerName"
  353. maxlength="100"
  354. size="small" />
  355. <i v-if="isEdited && registered == '1'"
  356. class="iconfont iconaddy1 ml10"
  357. style="cursor:pointer;"
  358. @click="dialogFormVisible = true" />
  359. </ws-form-item>
  360. <!--容量(克/升)>=-->
  361. <ws-form-item label="容量(克/升)>="
  362. span="1"
  363. prop="seafarerName">
  364. <ws-input
  365. v-model="deptBudgetList.seafarerName"
  366. maxlength="100"
  367. size="small" />
  368. <i v-if="isEdited && registered == '1'"
  369. class="iconfont iconaddy1 ml10"
  370. style="cursor:pointer;"
  371. @click="dialogFormVisible = true" />
  372. </ws-form-item>
  373. <!--霉变粒(%)<=-->
  374. <ws-form-item label="霉变粒(%)<="
  375. span="1"
  376. prop="seafarerName">
  377. <ws-input
  378. v-model="deptBudgetList.seafarerName"
  379. maxlength="100"
  380. size="small" />
  381. <i v-if="isEdited && registered == '1'"
  382. class="iconfont iconaddy1 ml10"
  383. style="cursor:pointer;"
  384. @click="dialogFormVisible = true" />
  385. </ws-form-item>
  386. <!--焦糊粒(%)<=-->
  387. <ws-form-item label="焦糊粒(%)<="
  388. span="1"
  389. prop="seafarerName">
  390. <ws-input
  391. v-model="deptBudgetList.seafarerName"
  392. maxlength="100"
  393. size="small" />
  394. <i v-if="isEdited && registered == '1'"
  395. class="iconfont iconaddy1 ml10"
  396. style="cursor:pointer;"
  397. @click="dialogFormVisible = true" />
  398. </ws-form-item>
  399. <!--不完整粒(%)<=-->
  400. <ws-form-item label="不完整粒(%)<="
  401. span="1"
  402. prop="seafarerName">
  403. <ws-input
  404. v-model="deptBudgetList.seafarerName"
  405. maxlength="100"
  406. size="small" />
  407. <i v-if="isEdited && registered == '1'"
  408. class="iconfont iconaddy1 ml10"
  409. style="cursor:pointer;"
  410. @click="dialogFormVisible = true" />
  411. </ws-form-item>
  412. </ws-info-table>
  413. </ws-form>
  414. </div>
  415. <div class="wenzi">
  416. <h3>流程信息</h3>
  417. </div>
  418. <div class="center">
  419. <ws-form ref="deptBudgetList"
  420. :rules="ruleDeptBudget"
  421. :model="deptBudgetList">
  422. <!--流程信息-->
  423. <ws-info-table>
  424. <!--合同收入(元)-->
  425. <ws-form-item label="合同收入(元)"
  426. span="1"
  427. prop="seafarerName">
  428. <ws-input
  429. v-model="deptBudgetList.seafarerName"
  430. maxlength="100"
  431. size="small" />
  432. <i v-if="isEdited && registered == '1'"
  433. class="iconfont iconaddy1 ml10"
  434. style="cursor:pointer;"
  435. @click="dialogFormVisible = true" />
  436. </ws-form-item>
  437. <!--已开发票(元)-->
  438. <ws-form-item label="已开发票(元)"
  439. span="1"
  440. prop="seafarerName">
  441. <ws-input
  442. v-model="deptBudgetList.seafarerName"
  443. maxlength="100"
  444. size="small" />
  445. <i v-if="isEdited && registered == '1'"
  446. class="iconfont iconaddy1 ml10"
  447. style="cursor:pointer;"
  448. @click="dialogFormVisible = true" />
  449. </ws-form-item>
  450. <!--合同外支出(元)-->
  451. <ws-form-item label="合同外支出(元)"
  452. span="1"
  453. prop="seafarerName">
  454. <ws-input
  455. v-model="deptBudgetList.seafarerName"
  456. maxlength="100"
  457. size="small" />
  458. <i v-if="isEdited && registered == '1'"
  459. class="iconfont iconaddy1 ml10"
  460. style="cursor:pointer;"
  461. @click="dialogFormVisible = true" />
  462. </ws-form-item>
  463. <!--未开发票(元)-->
  464. <ws-form-item label="未开发票(元)"
  465. span="1"
  466. prop="seafarerName">
  467. <ws-input
  468. v-model="deptBudgetList.seafarerName"
  469. maxlength="100"
  470. size="small" />
  471. <i v-if="isEdited && registered == '1'"
  472. class="iconfont iconaddy1 ml10"
  473. style="cursor:pointer;"
  474. @click="dialogFormVisible = true" />
  475. </ws-form-item>
  476. <!--未回款(元)-->
  477. <ws-form-item label="未回款(元)"
  478. span="1"
  479. prop="seafarerName">
  480. <ws-input
  481. v-model="deptBudgetList.seafarerName"
  482. maxlength="100"
  483. size="small" />
  484. <i v-if="isEdited && registered == '1'"
  485. class="iconfont iconaddy1 ml10"
  486. style="cursor:pointer;"
  487. @click="dialogFormVisible = true" />
  488. </ws-form-item>
  489. <!--已完成发货量(吨)-->
  490. <ws-form-item label="已完成发货量(吨)"
  491. span="1"
  492. prop="seafarerName">
  493. <ws-input
  494. v-model="deptBudgetList.seafarerName"
  495. maxlength="100"
  496. size="small" />
  497. <i v-if="isEdited && registered == '1'"
  498. class="iconfont iconaddy1 ml10"
  499. style="cursor:pointer;"
  500. @click="dialogFormVisible = true" />
  501. </ws-form-item>
  502. <!--双章原件回收情况-->
  503. <ws-form-item label="双章原件回收情况"
  504. span="1"
  505. :prop="!deptBudgetList.add && registered != 1 ? 'crtDutyId' : ''"
  506. :key="
  507. !deptBudgetList.add || registered != 1
  508. ? 'crtDutyId_haveProp'
  509. : 'crtDutyId_noProp'
  510. ">
  511. <ws-select
  512. v-model="deptBudgetList.crtDutyId"
  513. :placeholder="$t('common.selected')"
  514. @change="selectCrtDuty">
  515. <ws-option v-for="item in dutyList"
  516. :key="item.dutyId"
  517. :label="item.aliasName"
  518. :value="item.dutyId" />
  519. </ws-select>
  520. </ws-form-item>
  521. </ws-info-table>
  522. </ws-form>
  523. </div>
  524. <div class="wenzi">
  525. <h3>备注信息</h3>
  526. </div>
  527. <div class="ce">
  528. <ws-form ref="deptBudgetList"
  529. :rules="ruleDeptBudget"
  530. :model="deptBudgetList">
  531. <!--备注信息-->
  532. <ws-info-table>
  533. <ws-input
  534. v-model="deptBudgetList.seafarerName"
  535. maxlength="100"
  536. type="textarea" height='100' />
  537. </ws-info-table>
  538. </ws-form>
  539. </div>
  540. </div>
  541. </template>
  542. <script>
  543. import { getVesselOne } from '@/model/procurement/basic'
  544. import { dayjs } from 'base-core-lib'
  545. export default {
  546. name: 'viewSpareMoney',
  547. watch: {
  548. vesselId(val) {
  549. this.getVesselData()
  550. },
  551. isShow(val) {
  552. this.showType = val
  553. },
  554. },
  555. data() {
  556. return {
  557. //弹出框
  558. dialogViewSpareMoney: false,
  559. dialogApproveFormVisible: false,
  560. // 船舶类型
  561. monetaryKey: null,
  562. // 表格显示数据
  563. tableDate: [],
  564. // 是否显示
  565. showType: true,
  566. // 年
  567. year: '',
  568. // 提交类型
  569. submitType: true,
  570. tableData: [{ date: 1111, name: 'qqqq', address: 'errrtt' }],
  571. deptBudgetList:{},
  572. ruleDeptBudget:{},
  573. isEdited:false,
  574. registered:{},
  575. selectCrtDuty:{},
  576. dutyList:{},
  577. sexList:{},
  578. pickerBeginDateBefore:{},
  579. selectDuty:{},
  580. selectIntendedShip:{},
  581. interviewTypeList:{},
  582. }
  583. },
  584. created() {
  585. //cg.viewBudget
  586. //cg.viewSpareMoney
  587. // this.getVesselData();
  588. this.showType = this.isShow
  589. },
  590. methods: {
  591. // 关闭 dialog时 处理文件url 初始化upload组件
  592. handleClose() {
  593. this.dialogViewSpareMoney = false
  594. },
  595. returnsales(){
  596. this.$router.push({ path: 'salesContract' })
  597. }
  598. },
  599. }
  600. </script>
  601. <style lang="scss" scoped>
  602. .button-container {
  603. display: flex;
  604. flex-wrap: nowrap;
  605. justify-content: space-between;
  606. align-items: center;
  607. background-color: #fff;
  608. width: 100%;
  609. height: 50px;
  610. padding: 0 10px;
  611. & > div {
  612. margin-left: 10px;
  613. display: flex;
  614. flex-wrap: nowrap;
  615. flex-direction: row;
  616. & > span {
  617. line-height: 50px;
  618. }
  619. }
  620. /deep/.auditFlow-box {
  621. position: unset;
  622. margin-left: 10px;
  623. &/deep/.auditFlow-icon {
  624. width: auto;
  625. padding-right: 30px;
  626. }
  627. &/deep/.auditFlow-main {
  628. position: absolute;
  629. }
  630. }
  631. }
  632. .box-app {
  633. display: inline-block;
  634. float: left;
  635. margin-left: 30px;
  636. line-height: 50px;
  637. }
  638. /deep/.el-dialog {
  639. .el-form-item {
  640. margin-bottom: 0 !important;
  641. .el-input--medium {
  642. textarea {
  643. min-height: 100px !important;
  644. }
  645. }
  646. }
  647. }
  648. .collapse-bottom {
  649. margin-bottom: 20px;
  650. }
  651. .input-main .textarea .el-textarea__inner {
  652. width: 100%;
  653. z-index: 1;
  654. }
  655. .bg-left{
  656. padding-left: 30px;
  657. }
  658. .bg-right{
  659. padding-right: 10px;
  660. text-align: right;
  661. }
  662. .bg-bottom{
  663. margin: 20px 0px;
  664. }
  665. .wenzi{
  666. width: 900px;
  667. margin: 0 auto;
  668. }
  669. .wenzi h3{
  670. display: inline-block;
  671. left: 10px;
  672. }
  673. .wenzi p{
  674. display: inline-block;
  675. }
  676. .center{
  677. width: 900px;
  678. margin: 0 auto;
  679. }
  680. .el-form-item{
  681. width: 50%;
  682. }
  683. .el-form-item__label {
  684. text-align: center;
  685. }
  686. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  687. /* height: 82px;*/
  688. /*}*/
  689. // 控制select为只读的时候显示样式
  690. .hide-sel {
  691. .el-input__inner {
  692. border: 0px;
  693. }
  694. .el-icon-arrow-up {
  695. display: none;
  696. }
  697. .el-textarea__inner {
  698. background-color: #fff !important;
  699. border: 0;
  700. }
  701. .el-date-editor {
  702. i {
  703. display: none;
  704. }
  705. }
  706. .is-disabled {
  707. .el-input__inner:hover {
  708. background-color: #fff !important;
  709. border: 0;
  710. }
  711. color: #606266;
  712. .el-input__inner {
  713. background-color: #fff !important;
  714. border: 0;
  715. color: #606266;
  716. }
  717. .el-textarea__inner {
  718. background-color: #fff !important;
  719. border: 0;
  720. color: #606266;
  721. }
  722. }
  723. }
  724. // 控制select为只读的时候显示样式
  725. /deep/.ws-class-table-col {
  726. height: auto;
  727. padding: 0px 2px;
  728. /deep/.el-input__inner {
  729. padding: 0px 2px;
  730. }
  731. }
  732. /deep/.is-disabled {
  733. .el-input__prefix,
  734. .el-input__suffix {
  735. display: none;
  736. }
  737. .el-input__inner {
  738. background-color: #fff;
  739. border-color: #fff !important;
  740. color: #000 !important;
  741. font-size: 14px;
  742. cursor: text;
  743. padding: 0 !important;
  744. }
  745. }
  746. </style>