tranManagementWarehouseInOutTaskAudit.vue 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515
  1. // 编辑出入库任务
  2. <template>
  3. <div class="container">
  4. <el-row>
  5. <el-col :span="12">
  6. <h2 class="bg-left title">编辑出入库任务</h2>
  7. </el-col>
  8. <el-col :span="12" class="bg-right">
  9. <el-button
  10. class="bg-bottom"
  11. type="primary"
  12. size="small"
  13. @click="returnsales()"
  14. ><img
  15. width="6"
  16. height="10"
  17. style="vertical-align: bottom; margin-right: 3px"
  18. src="../../../public/img/lujing.png"
  19. alt=""
  20. />返回</el-button
  21. >
  22. </el-col>
  23. </el-row>
  24. <div class="basicInformation">
  25. <div class="annu">
  26. <el-radio-group @change="tasktypechange" v-model="dataList.taskTypeKey">
  27. <!-- <el-radio label="1" class="a">出库</el-radio>
  28. <el-radio label="2" class="a">入库</el-radio>
  29. <el-radio label="3" class="a">移库</el-radio>
  30. <el-radio label="4" class="a">退库并出库</el-radio> -->
  31. </el-radio-group>
  32. <div class="nav">
  33. <span class="ziti">
  34. 任务类型:
  35. <h1 class="ziti1">{{dataList.inOutType}}</h1>
  36. </span>
  37. </div>
  38. </div>
  39. <div class="ding"></div>
  40. <div v-if="dataList.taskTypeKey != 2&&dataList.taskTypeKey != 4" class="center1">
  41. <img
  42. style="position: relative; top: 40px; left: 128px;"
  43. width="19"
  44. height="19"
  45. src="../../../public/img/cangku.png"
  46. alt=""
  47. />
  48. <!--出库=-->
  49. <div class="small-title">
  50. <h3>出库任务({{ dataList.inOutTaskNo }})</h3>
  51. </div>
  52. <el-form ref="dataList" :model="dataList" label-width="140px">
  53. <!-- 仓库名 -->
  54. <el-form-item label="仓库名">
  55. <el-select
  56. disabled
  57. v-model="dataList.warehouseName"
  58. placeholder="请选择仓库名"
  59. class="typeselect"
  60. @change="selectwarehouseName"
  61. >
  62. <el-option
  63. v-for="item in warehouseNameList"
  64. :key="item.constKey"
  65. :label="item.warehouseName"
  66. :value="item.warehouseName"
  67. />
  68. </el-select>
  69. </el-form-item>
  70. <!-- 出库类型 -->
  71. <el-form-item label="出库类型">
  72. <el-select
  73. disabled
  74. v-model="dataList.inOutType"
  75. placeholder="请选择出库类型"
  76. class="typeselect"
  77. @change="selectstorageType"
  78. >
  79. <el-option
  80. v-for="item in storageType"
  81. :key="item.constKey"
  82. v-if="
  83. (dataList.taskTypeKey == 1 &&
  84. item.constValue != '移库出库') ||
  85. (dataList.taskTypeKey == 3 &&
  86. item.constValue == '移库出库') ||
  87. (dataList.taskTypeKey == 4 && item.constValue == '销售出库')
  88. "
  89. :label="item.constValue"
  90. :value="item.constValue"
  91. />
  92. </el-select>
  93. </el-form-item>
  94. <!-- 合同编号 -->
  95. <el-form-item v-if='dataList.taskTypeKey != 3' label="合同编号">
  96. <el-select
  97. disabled
  98. @change='changecontract'
  99. v-model="dataList.contractNo"
  100. placeholder="请输入合同编号"
  101. class="typeselect"
  102. >
  103. <el-option
  104. v-for="item in contractNoList"
  105. :key="item.constKey"
  106. :label="item.contractNo"
  107. :value="item.contractNo"
  108. ></el-option>
  109. </el-select>
  110. </el-form-item>
  111. <el-form-item v-if='dataList.taskTypeKey == 3' label="移库任务编号">
  112. <el-select
  113. disabled
  114. @change="selectTaskNo"
  115. v-model="dataList.moveTaskNo"
  116. placeholder="请输入移库任务编号"
  117. class="typeselect"
  118. >
  119. <el-option
  120. v-for="item in contractNoList"
  121. :key="item.constKey"
  122. :label="item.contractNo"
  123. :value="item.contractNo"
  124. ></el-option>
  125. </el-select>
  126. </el-form-item>
  127. <!-- 货名 -->
  128. <el-form-item label="货名" class="huom">
  129. <el-select
  130. disabled
  131. v-model="dataList.goodsName"
  132. placeholder="货名"
  133. class="huom"
  134. @change="selectgoodsName"
  135. >
  136. <el-option
  137. v-for="item in goodnameList"
  138. :key="item.constKey"
  139. :label="item.constValue"
  140. :value="item.constValue"
  141. ></el-option>
  142. </el-select>
  143. </el-form-item>
  144. <!--重量(吨)-->
  145. <el-form-item label="重量(吨)" span="1" style=" margin-left: 350px; margin-top: -40px" >
  146. <el-input
  147. disabled
  148. v-model="dataList.weight"
  149. placeholder="请输入重量"
  150. maxlength="120"
  151. size="small"
  152. class="huom"
  153. />
  154. </el-form-item>
  155. <!-- 品级 -->
  156. <el-form-item label="品级">
  157. <el-select
  158. v-model="dataList.grade"
  159. placeholder=""
  160. class="typeselect"
  161. @change="selectpackingMethod"
  162. >
  163. <el-option
  164. v-for="item in gradeList"
  165. :key="item.constKey"
  166. :label="item.constValue"
  167. :value="item.constValue"
  168. />
  169. </el-select>
  170. </el-form-item>
  171. <!--容重(克/升)>=-->
  172. <el-form-item label="容重(克/升)>=">
  173. <el-input
  174. @input='bulkDensitychange'
  175. v-model="dataList.bulkDensity"
  176. placeholder="请输入容重"
  177. maxlength="120"
  178. size="small"
  179. class="huom"
  180. />
  181. </el-form-item>
  182. <!--水分(%)<=-->
  183. <el-form-item label="水分(%)<=" span="1" style=" margin-left: 350px; margin-top: -40px" >
  184. <el-input
  185. @input='waterContentchange'
  186. v-model="dataList.waterContent"
  187. placeholder="请输入水分占比"
  188. maxlength="120"
  189. size="small"
  190. class="huom"
  191. />
  192. </el-form-item>
  193. <!--单价(元/吨)-->
  194. <el-form-item label="单价(元/吨)" span="1" style=" margin-left: 650px; margin-top: -40px" >
  195. <el-input
  196. @input='unitPricechange'
  197. v-model="dataList.unitPrice"
  198. placeholder="请输入单价"
  199. maxlength="120"
  200. size="small"
  201. class="huom"
  202. />
  203. </el-form-item>
  204. <!--预计出库日期-->
  205. <el-form-item
  206. label="预计出库日期"
  207. span="1"
  208. prop="predictDate"
  209. class="deliverydate"
  210. >
  211. <el-date-picker
  212. disabled
  213. v-model="dataList.predictDate"
  214. type="date"
  215. placeholder="请选择预计出库日期"
  216. value-format="yyyy-MM-dd"
  217. />
  218. </el-form-item>
  219. <!--经办人-->
  220. <el-form-item label="出库经办人">
  221. <el-select
  222. disabled
  223. v-model="dataList.agent"
  224. placeholder="请选择经办人"
  225. filterable
  226. :filter-method="dataFilter"
  227. @change="selectstaff"
  228. >
  229. <el-option
  230. v-for="item in options"
  231. :key="item.value"
  232. :label="item.staffName"
  233. :value="item.staffName"
  234. />
  235. </el-select>
  236. </el-form-item>
  237. <!--业务描述=-->
  238. <el-form-item v-if='dataList.taskTypeKey != 3' label="业务描述" span="1">
  239. <el-input
  240. v-model="dataList.businessDescribe"
  241. placeholder="请输入业务描述,不超过150字"
  242. maxlength="150"
  243. size="large"
  244. class="yewu"
  245. />
  246. </el-form-item>
  247. <el-form-item label="仓位号(选填)" span="1">
  248. <el-input
  249. v-model="dataList.binNumber"
  250. placeholder="请输入仓位号"
  251. maxlength="150"
  252. size="large"
  253. class="yewu"
  254. />
  255. </el-form-item>
  256. </el-form>
  257. </div>
  258. <div v-show="dataList.taskTypeKey != 1" class="center1">
  259. <img
  260. style="position: relative; top: 40px; left: 128px;"
  261. width="19"
  262. height="19"
  263. src="../../../public/img/cangku.png"
  264. alt=""
  265. />
  266. <div class="small-title">
  267. <h3>入库任务({{ dataList1.inOutTaskNo }}) <span v-if='deletetask' style='color:red;'>已删除</span></h3>
  268. </div>
  269. <el-form v-if='!deletetask' ref="form" :model="form" label-width="140px">
  270. <!-- 仓库名 -->
  271. <el-form-item label="仓库名">
  272. <el-select
  273. disabled
  274. v-model="dataList1.warehouseName"
  275. placeholder="请选择仓库名"
  276. class="typeselect"
  277. >
  278. <el-option
  279. v-for="item in warehouseNameList"
  280. :key="item.constKey"
  281. :label="item.warehouseName"
  282. :value="item.warehouseName"
  283. />
  284. </el-select>
  285. </el-form-item>
  286. <!-- 出库类型 -->
  287. <el-form-item label="入库类型">
  288. <el-select
  289. disabled
  290. v-model="dataList1.inOutType"
  291. placeholder="请选择入库类型"
  292. class="typeselect"
  293. @change="selectstorageType1"
  294. >
  295. <el-option
  296. v-for="item in storageType1"
  297. :key="item.constKey"
  298. v-if="
  299. (dataList1.taskTypeKey == 2 &&
  300. item.constValue != '移库入库') ||
  301. (dataList1.taskTypeKey == 3 &&
  302. item.constValue == '移库入库') ||
  303. (dataList1.taskTypeKey == 4 && item.constValue == '退库')
  304. "
  305. :label="item.constValue"
  306. :value="item.constValue"
  307. />
  308. </el-select>
  309. </el-form-item>
  310. <!-- 合同编号 -->
  311. <el-form-item v-if='dataList1.taskTypeKey != 3' label="合同编号">
  312. <el-select
  313. disabled
  314. @change='changecontract1'
  315. v-model="dataList1.contractNo"
  316. placeholder="请输入合同编号"
  317. class="typeselect"
  318. >
  319. <el-option
  320. v-for="item in contractNoList"
  321. :key="item.constKey"
  322. :label="item.contractNo"
  323. :value="item.contractNo"
  324. ></el-option>
  325. </el-select>
  326. </el-form-item>
  327. <el-form-item v-if='dataList1.taskTypeKey == 3' label="移库任务编号">
  328. <el-select
  329. disabled
  330. v-model="dataList1.moveTaskNo"
  331. placeholder="请输入移库任务编号"
  332. class="typeselect"
  333. >
  334. <el-option
  335. v-for="item in contractNoList"
  336. :key="item.constKey"
  337. :label="item.contractNo"
  338. :value="item.contractNo"
  339. ></el-option>
  340. </el-select>
  341. </el-form-item>
  342. <!-- 货名 -->
  343. <el-form-item label="货名" class="huom">
  344. <el-select
  345. disabled
  346. v-model="dataList1.goodsName"
  347. placeholder="货名"
  348. class="huom"
  349. @change="selectgoodsName1"
  350. >
  351. <el-option
  352. v-for="item in goodnameList"
  353. :key="item.constKey"
  354. :label="item.constValue"
  355. :value="item.constValue"
  356. ></el-option>
  357. </el-select>
  358. </el-form-item>
  359. <!--重量(吨)-->
  360. <el-form-item label="重量(吨)" span="1" style=" margin-left: 350px; margin-top: -40px" >
  361. <el-input
  362. @input='weightchange'
  363. v-model="dataList1.weight"
  364. placeholder="请输入重量"
  365. maxlength="120"
  366. size="small"
  367. class="huom"
  368. />
  369. </el-form-item>
  370. <!-- 品级 -->
  371. <el-form-item label="品级">
  372. <el-select
  373. :disabled='dataList.taskTypeKey == 3'
  374. v-model="dataList1.grade"
  375. placeholder=""
  376. class="typeselect"
  377. @change="selectpackingMethod1"
  378. >
  379. <el-option
  380. v-for="item in gradeList"
  381. :key="item.constKey"
  382. :label="item.constValue"
  383. :value="item.constValue"
  384. />
  385. </el-select>
  386. </el-form-item>
  387. <!--容重(克/升)>=-->
  388. <el-form-item label="容重(克/升)>=">
  389. <el-input
  390. @input='bulkDensitychange'
  391. :disabled='dataList.taskTypeKey == 3'
  392. v-model="dataList1.bulkDensity"
  393. placeholder="请输入容重"
  394. maxlength="120"
  395. size="small"
  396. class="huom"
  397. />
  398. </el-form-item>
  399. <!--水分(%)<=-->
  400. <el-form-item label="水分(%)<=" span="1" style=" margin-left: 350px; margin-top: -40px">
  401. <el-input
  402. @input='waterContentchange'
  403. :disabled='dataList.taskTypeKey == 3'
  404. v-model="dataList1.waterContent"
  405. placeholder="请输入水分占比"
  406. maxlength="120"
  407. size="small"
  408. class="huom"
  409. />
  410. </el-form-item>
  411. <!--单价(元/吨)-->
  412. <el-form-item label="单价(元/吨)" span="1" style=" margin-left: 650px; margin-top: -40px" >
  413. <el-input
  414. @input='unitPricechange'
  415. :disabled='dataList.taskTypeKey == 3'
  416. v-model="dataList1.unitPrice"
  417. placeholder="请输入单价"
  418. maxlength="120"
  419. size="small"
  420. class="huom"
  421. />
  422. </el-form-item>
  423. <!--预计出库日期-->
  424. <el-form-item
  425. label="预计入库日期"
  426. span="1"
  427. prop="predictDate"
  428. class="deliverydate"
  429. >
  430. <el-date-picker
  431. disabled
  432. v-model="dataList1.predictDate"
  433. type="date"
  434. placeholder="请选择预计入库日期"
  435. value-format="yyyy-MM-dd"
  436. />
  437. </el-form-item>
  438. <!--经办人-->
  439. <el-form-item label="入库经办人">
  440. <el-select
  441. disabled
  442. v-model="dataList1.agent"
  443. placeholder="请选择经办人"
  444. filterable
  445. :filter-method="dataFilter"
  446. @change="selectstaff1"
  447. >
  448. <el-option
  449. v-for="item in options"
  450. :key="item.value"
  451. :label="item.staffName"
  452. :value="item.staffName"
  453. />
  454. </el-select>
  455. </el-form-item>
  456. <!--业务描述=-->
  457. <el-form-item v-if='dataList.taskTypeKey != 4' label="业务描述">
  458. <el-input
  459. v-model="dataList1.businessDescribe"
  460. placeholder="请输入业务描述,不超过150字"
  461. maxlength="150"
  462. size="large"
  463. />
  464. </el-form-item>
  465. <el-form-item label="仓位号(选填)" span="1">
  466. <el-input
  467. v-model="dataList1.binNumber"
  468. placeholder="请输入仓位号"
  469. maxlength="150"
  470. size="large"
  471. class="yewu"
  472. />
  473. </el-form-item>
  474. </el-form>
  475. </div>
  476. <div v-if="dataList.taskTypeKey == 4" class="center1">
  477. <!--出库=-->
  478. <div class="small-title">
  479. <img
  480. style="position: relative; top: 40px; left: -22px;"
  481. width="19"
  482. height="19"
  483. src="../../../public/img/cangku.png"
  484. alt=""
  485. />
  486. <h3>出库任务({{ inOutTaskNo }})</h3>
  487. </div>
  488. <el-form ref="dataList" :model="dataList" label-width="140px">
  489. <!-- 仓库名 -->
  490. <el-form-item label="仓库名">
  491. <el-select
  492. v-model="dataList.warehouseName"
  493. placeholder="请选择仓库名"
  494. class="typeselect"
  495. @change="selectwarehouseName"
  496. >
  497. <el-option
  498. v-for="item in warehouseNameList"
  499. :key="item.constKey"
  500. :label="item.warehouseName"
  501. :value="item.warehouseName"
  502. />
  503. </el-select>
  504. </el-form-item>
  505. <!-- 出库类型 -->
  506. <el-form-item label="出库类型">
  507. <el-select
  508. :disabled='dataList.taskTypeKey == 3||dataList.taskTypeKey == 4'
  509. v-model="dataList.inOutType"
  510. placeholder="请选择出库类型"
  511. class="typeselect"
  512. @change="selectstorageType"
  513. >
  514. <el-option
  515. v-for="item in storageType"
  516. :key="item.constKey"
  517. v-if="
  518. (dataList.taskTypeKey == 1 &&
  519. item.constValue != '移库出库') ||
  520. (dataList.taskTypeKey == 3 &&
  521. item.constValue == '移库出库') ||
  522. (dataList.taskTypeKey == 4 && item.constValue == '销售出库')
  523. "
  524. :label="item.constValue"
  525. :value="item.constValue"
  526. />
  527. </el-select>
  528. </el-form-item>
  529. <!-- 合同编号 -->
  530. <el-form-item v-if='dataList.taskTypeKey != 3' label="合同编号">
  531. <el-select
  532. @change='changecontract'
  533. v-model="dataList.contractNo"
  534. placeholder="请输入合同编号"
  535. class="typeselect"
  536. >
  537. <el-option
  538. v-for="item in contractNoList"
  539. :key="item.constKey"
  540. :label="item.contractNo"
  541. :value="item.contractNo"
  542. ></el-option>
  543. </el-select>
  544. </el-form-item>
  545. <el-form-item v-if='dataList.taskTypeKey == 3' label="移库任务编号">
  546. <el-select
  547. @change="selectTaskNo"
  548. v-model="dataList.moveTaskNo"
  549. placeholder="请输入移库任务编号"
  550. class="typeselect"
  551. >
  552. <el-option
  553. v-for="item in contractNoList"
  554. :key="item.constKey"
  555. :label="item.contractNo"
  556. :value="item.contractNo"
  557. ></el-option>
  558. </el-select>
  559. </el-form-item>
  560. <!-- 货名 -->
  561. <el-form-item label="货名" class="huom" >
  562. <el-select
  563. :disabled='dataList.taskTypeKey != 3'
  564. v-model="dataList.goodsName"
  565. placeholder="货名"
  566. class="huom"
  567. @change="selectgoodsName"
  568. >
  569. <el-option
  570. v-for="item in goodnameList"
  571. :key="item.constKey"
  572. :label="item.constValue"
  573. :value="item.constValue"
  574. ></el-option>
  575. </el-select>
  576. </el-form-item>
  577. <!--重量(吨)-->
  578. <el-form-item label="重量(吨)" span="1" style=" margin-left: 350px; margin-top: -40px">
  579. <el-input
  580. :disabled='dataList.taskTypeKey == 4'
  581. v-model="dataList.weight"
  582. placeholder="请输入重量"
  583. maxlength="120"
  584. size="small"
  585. class="huom"
  586. />
  587. </el-form-item>
  588. <!-- 品级 -->
  589. <el-form-item label="品级">
  590. <el-select
  591. :disabled='dataList.taskTypeKey == 3||dataList.taskTypeKey == 4'
  592. v-model="dataList.grade"
  593. placeholder=""
  594. class="typeselect"
  595. @change="selectpackingMethod"
  596. >
  597. <el-option
  598. v-for="item in gradeList"
  599. :key="item.constKey"
  600. :label="item.constValue"
  601. :value="item.constValue"
  602. />
  603. </el-select>
  604. </el-form-item>
  605. <!--容重(克/升)>=-->
  606. <el-form-item label="容重(克/升)>=">
  607. <el-input
  608. :disabled='dataList.taskTypeKey == 3||dataList.taskTypeKey == 4'
  609. v-model="dataList.bulkDensity"
  610. placeholder="请输入容重"
  611. maxlength="120"
  612. size="small"
  613. class="huom"
  614. />
  615. </el-form-item>
  616. <!--水分(%)<=-->
  617. <el-form-item label="水分(%)<=" span="1" style=" margin-left: 350px; margin-top: -40px">
  618. <el-input
  619. :disabled='dataList.taskTypeKey == 3||dataList.taskTypeKey == 4'
  620. v-model="dataList.waterContent"
  621. placeholder="请输入水分占比"
  622. maxlength="120"
  623. size="small"
  624. class="huom"
  625. />
  626. </el-form-item>
  627. <!--单价(元/吨)-->
  628. <el-form-item label="单价(元/吨)" span="1" style=" margin-left: 650px; margin-top: -40px">
  629. <el-input
  630. :disabled='dataList.taskTypeKey == 3||dataList.taskTypeKey == 4'
  631. v-model="dataList.unitPrice"
  632. placeholder="请输入单价"
  633. maxlength="120"
  634. size="small"
  635. class="huom"
  636. />
  637. </el-form-item>
  638. <!--预计出库日期-->
  639. <el-form-item
  640. label="预计出库日期"
  641. span="1"
  642. prop="predictDate"
  643. class="deliverydate"
  644. >
  645. <el-date-picker
  646. v-model="dataList.predictDate"
  647. type="date"
  648. placeholder="请选择预计出库日期"
  649. value-format="yyyy-MM-dd"
  650. />
  651. </el-form-item>
  652. <!--经办人-->
  653. <el-form-item label="出库经办人">
  654. <el-select
  655. v-model="dataList.agent"
  656. placeholder="请选择经办人"
  657. filterable
  658. :filter-method="dataFilter"
  659. @change="selectstaff"
  660. >
  661. <el-option
  662. v-for="item in options"
  663. :key="item.value"
  664. :label="item.staffName"
  665. :value="item.staffName"
  666. />
  667. </el-select>
  668. </el-form-item>
  669. <!--业务描述=-->
  670. <el-form-item label="业务描述">
  671. <el-input
  672. v-model="dataList.businessDescribe"
  673. placeholder="请输入业务描述,不超过150字"
  674. maxlength="150"
  675. size="large"
  676. />
  677. </el-form-item>
  678. </el-form>
  679. </div>
  680. </div>
  681. <!-- 提交 -->
  682. <div style="text-align: right; padding: 10px" class="center">
  683. <el-button class="bg-bottom" type="primary" size="small" @click="reject()"
  684. >驳回</el-button>
  685. <el-button class="bg-bottom" type="primary" size="small" @click="submit()"
  686. >通过</el-button
  687. >
  688. </div>
  689. <WinseaContentModal
  690. v-model="outerVisible"
  691. title="驳回原因"
  692. @on-cancel="handleClose"
  693. >
  694. <el-input
  695. type="textarea"
  696. :rows="2"
  697. maxlength="30"
  698. placeholder="请输入驳回原因,1~30个字"
  699. v-model="disableReason"
  700. >
  701. </el-input>
  702. <div class="dialog-footer">
  703. <el-button @click="outerVisible = false">取 消</el-button>
  704. <el-button type="primary" @click="disableReasons">确定</el-button>
  705. </div>
  706. </WinseaContentModal>
  707. </div>
  708. </template>
  709. <script>
  710. import {
  711. getwarehousename,
  712. xialaNo,
  713. addoreditoutput,
  714. outexamine,
  715. getGoodsName,
  716. warehousetask,
  717. woekflowhandle
  718. } from '@/model/tasksport/index'
  719. import { packList } from '@/model/contarct/index'
  720. import { pullDown, getstaff } from '@/model/warehouse/index'
  721. import { downloadFile } from '@/utils/batchDown'
  722. import Pagination from '@/components/Pagination'
  723. import { mapActions, mapGetters, mapState } from 'vuex'
  724. import WsUpload from '@/components/WsUpload'
  725. // import { dayjs, fmoney, EventBus } from 'base-core-lib'
  726. import { dayjs, EventBus } from 'base-core-lib'
  727. export default {
  728. name: 'viewSpareMoney',
  729. components: {
  730. WsUpload,
  731. Pagination,
  732. },
  733. watch: {
  734. // vesselId(val) {
  735. // this.getList()
  736. // },
  737. isShow(val) {
  738. this.showType = val
  739. },
  740. },
  741. computed: {
  742. ...mapGetters(['deptBudgetList']),
  743. },
  744. data() {
  745. return {
  746. //弹出框
  747. dialogViewSpareMoney: false,
  748. dialogApproveFormVisible: false,
  749. // 船舶类型
  750. monetaryKey: null,
  751. // 表格显示数据
  752. tableDate: [],
  753. // 是否显示
  754. showType: true,
  755. disabled:false,
  756. // 年
  757. year: '',
  758. disableReason:'',
  759. contractNoList: [],
  760. deptBudgetTotal: 0,
  761. readonly: true,
  762. currentPage: 1,
  763. pageSize: 10,
  764. searchType: 1,
  765. searchKeyWord: '',
  766. radio: '1',
  767. contractType: 2,
  768. startDate: null,
  769. endDate: null,
  770. goodnameList: [],
  771. checked: true,
  772. form: {},
  773. outerVisible:false,
  774. staffList: [],
  775. options: [],
  776. storageType: [],
  777. storageType1: [],
  778. outContractNo: [],
  779. // 提交类型
  780. submitType: true,
  781. status: [],
  782. deletetask:false,
  783. warehouseNameList: [],
  784. warehouseNameList1: [],
  785. appendixIdsAdd: '',
  786. uploadSuccess: {},
  787. warehouseInOutDetail: {},
  788. onChange: {},
  789. deptBudgetList1: [],
  790. gradeList: [],
  791. rules: {
  792. netWeight: [
  793. {
  794. required: true,
  795. type: 'number',
  796. message: '请输入活动名称',
  797. trigger: 'blur',
  798. },
  799. ],
  800. },
  801. size: 10,
  802. compId: sessionStorage.getItem('ws-pf_compId'),
  803. deptCircularPage: {},
  804. packtypeList: {},
  805. date: {
  806. year: dayjs().format('YYYY'),
  807. month: dayjs().format('MM'),
  808. },
  809. contractList: [],
  810. inOutTaskNo: '',
  811. inOutTaskNo1: '',
  812. dataList: { taskTypeKey: '1' },
  813. dataList1: { taskTypeKey: '1' },
  814. historyList: [],
  815. pickerBeginDateBefore: {
  816. disabledDate: (time) => {
  817. return time.getTime() > Date.now()
  818. },
  819. },
  820. accessoryTFs: false,
  821. }
  822. },
  823. activated() {
  824. console.log(1111)
  825. this.getList()
  826. },
  827. methods: {
  828. //返回按钮
  829. revert() {
  830. this.$router.go(-1)
  831. },
  832. returnsales() {
  833. this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
  834. },
  835. // 获取当前年月日
  836. getdate() {
  837. var date = new Date()
  838. var year = date.getFullYear() //获取完整的年份(4位)
  839. var mouth = date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
  840. var datetime = date.getDate() //获取当前日(1-31)
  841. if (mouth < 10) {
  842. mouth = '0' + mouth
  843. }
  844. if (datetime < 10) {
  845. datetime = '0' + datetime
  846. }
  847. return year + mouth + datetime
  848. },
  849. reject(){
  850. this.outerVisible=true
  851. },
  852. // 随机验证码
  853. verifyinit() {
  854. var arr = []
  855. for (var i = 48; i < 123; i++) {
  856. if (i > 57 && i < 65) continue
  857. if (i > 90 && i < 97) continue
  858. arr.push(String.fromCharCode(i))
  859. }
  860. arr.sort(function () {
  861. return Math.random() - 0.5
  862. })
  863. arr.length = 4
  864. return arr.join('')
  865. },
  866. selectTaskNo(e){
  867. if(this.dataList.taskTypeKey==3){
  868. this.dataList1.moveTaskNo=e
  869. }
  870. },
  871. dataFilter(val) {
  872. // console.log(val,"名")
  873. this.deptBudgetList.staffList = val
  874. if (val) {
  875. //val存在
  876. this.options = this.staffList.filter((item) => {
  877. if (
  878. !!~item.staffName.indexOf(val) ||
  879. !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
  880. ) {
  881. return true
  882. }
  883. })
  884. } else {
  885. //val为空时,还原数组
  886. this.options = this.staffList
  887. }
  888. },
  889. weightchange(e){
  890. if(this.dataList.taskTypeKey==4){
  891. this.$set(this.dataList,'weight',e)
  892. }
  893. },
  894. bulkDensitychange(e){
  895. if(this.dataList.taskTypeKey==4){
  896. this.$set(this.dataList,'bulkDensity',e)
  897. }else if(this.dataList1.taskTypeKey==3){
  898. this.$set(this.dataList1,'bulkDensity',e)
  899. }
  900. },
  901. waterContentchange(e){
  902. if(this.dataList.taskTypeKey==4){
  903. this.$set(this.dataList,'waterContent',e)
  904. }else if(this.dataList1.taskTypeKey==3){
  905. this.$set(this.dataList1,'waterContent',e)
  906. }
  907. },
  908. unitPricechange(e){
  909. if(this.dataList.taskTypeKey==4){
  910. this.$set(this.dataList,'unitPrice',e)
  911. }else if(this.dataList1.taskTypeKey==3){
  912. this.$set(this.dataList1,'unitPrice',e)
  913. }
  914. },
  915. changecontract(e){
  916. if(this.dataList.taskTypeKey!=3){
  917. for (let i = 0; i < this.contractNoList.length; i++) {
  918. if(this.contractNoList[i].contractNo==e){
  919. getGoodsName({ contractId:this.contractNoList[i].id,contractNo:this.contractNoList[i].contractNo}) .toPromise()
  920. .then((response) => {
  921. this.$set(this.dataList,'goodsName',response.goodsName)
  922. this.$set(this.dataList,'goodsNameKey',response.goodsNameKey)
  923. this.$set(this.dataList,'grade',response.grade)
  924. this.$set(this.dataList,'gradeKey',response.gradeKey)
  925. this.$set(this.dataList,'waterContent',response.waterContent)
  926. this.$set(this.dataList,'bulkDensity',response.bulkDensity)
  927. this.$set(this.dataList,'weight',response.weight)
  928. this.$set(this.dataList,'unitPrice',response.unitContractPrice)
  929. })
  930. }
  931. }
  932. }
  933. },
  934. changecontract1(e){
  935. if(this.dataList1.taskTypeKey!=3){
  936. for (let i = 0; i < this.contractNoList.length; i++) {
  937. if(this.contractNoList[i].contractNo==e){
  938. getGoodsName({ contractId:this.contractNoList[i].id,contractNo:this.contractNoList[i].contractNo}) .toPromise()
  939. .then((response) => {
  940. this.$set(this.dataList1,'goodsName',response.goodsName)
  941. this.$set(this.dataList1,'goodsNameKey',response.goodsNameKey)
  942. this.$set(this.dataList1,'grade',response.grade)
  943. this.$set(this.dataList1,'gradeKey',response.gradeKey)
  944. this.$set(this.dataList1,'waterContent',response.waterContent)
  945. this.$set(this.dataList1,'bulkDensity',response.bulkDensity)
  946. this.$set(this.dataList1,'weight',response.weight)
  947. this.$set(this.dataList1,'unitPrice',response.unitContractPrice)
  948. })
  949. }
  950. }
  951. }
  952. },
  953. selectstaff(e) {
  954. for (var i = 0; i < this.staffList.length; i++) {
  955. if (this.staffList[i].staffName == e) {
  956. this.dataList.agentKey = this.staffList[i].staffId
  957. }
  958. }
  959. },
  960. selectstaff1(e) {
  961. for (var i = 0; i < this.staffList.length; i++) {
  962. if (this.staffList[i].staffName == e) {
  963. this.dataList1.agentKey = this.staffList[i].staffId
  964. }
  965. }
  966. },
  967. requestadd(list, status) {
  968. list.compId = sessionStorage.getItem('ws-pf_compId')
  969. list.publisher =
  970. sessionStorage.getItem('ws-pf_roleName') +
  971. sessionStorage.getItem('ws-pf_staffName')
  972. warehousetask(list)
  973. .toPromise()
  974. .then((response) => {
  975. // woekflowhandle
  976. // this.$message.success('添加成功')
  977. // this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
  978. })
  979. },
  980. //提交按钮
  981. submit() {
  982. this.dataList.inOutFlag=1
  983. this.dataList1.inOutFlag=2
  984. if (this.dataList.taskTypeKey == 1) {
  985. this.dataList.inOutTaskNo = this.inOutTaskNo
  986. this.requestadd(this.dataList)
  987. } else if (this.dataList1.taskTypeKey == 2) {
  988. this.dataList1.inOutTaskNo = this.inOutTaskNo1
  989. this.requestadd(this.dataList1)
  990. } else if (
  991. this.dataList.taskTypeKey == 3 ||
  992. this.dataList.taskTypeKey == 4
  993. ) {
  994. this.dataList.inOutTaskNo = this.inOutTaskNo
  995. this.dataList.relevanceId = this.GetRandomNum(100000, 999999)
  996. this.requestadd(this.dataList, 'repetition')
  997. this.dataList1.inOutTaskNo = this.inOutTaskNo1
  998. this.dataList1.relevanceId = this.dataList.relevanceId
  999. if(!this.deletetask){
  1000. this.requestadd(this.dataList1, 'repetition')
  1001. }
  1002. }
  1003. },
  1004. disableReasons(){
  1005. },
  1006. selectwarehouseName() {},
  1007. tarechange(e) {
  1008. if (this.dataList.grossWeight && this.dataList.tare) {
  1009. this.dataList.netWeight = Number(
  1010. this.dataList.grossWeight - this.dataList.tare
  1011. )
  1012. }
  1013. },
  1014. grossWeightchange(e) {
  1015. if (this.dataList.grossWeight && this.dataList.tare) {
  1016. this.dataList.netWeight = Number(
  1017. this.dataList.grossWeight - this.dataList.tare
  1018. )
  1019. }
  1020. },
  1021. selectgoodsName(e) {
  1022. for (var i = 0; i < this.goodnameList.length; i++) {
  1023. if (this.goodnameList[i].constValue == e) {
  1024. this.dataList.goodsNameKey = this.goodnameList[i].constKey
  1025. }
  1026. }
  1027. },
  1028. selectgoodsName1(e) {
  1029. for (var i = 0; i < this.goodnameList.length; i++) {
  1030. if (this.goodnameList[i].constValue == e) {
  1031. this.dataList1.goodsNameKey = this.goodnameList[i].constKey
  1032. }
  1033. }
  1034. },
  1035. selectpackingMethod(e) {
  1036. for (var i = 0; i < this.gradeList.length; i++) {
  1037. if (this.gradeList[i].constValue == e) {
  1038. this.dataList.gradeKey = this.gradeList[i].constKey
  1039. if(this.dataList.taskTypeKey==3){
  1040. this.$set(this.dataList1,'grade',e)
  1041. this.$set(this.dataList1,'gradeKey',this.gradeList[i].constKey)
  1042. }
  1043. }
  1044. }
  1045. },
  1046. selectpackingMethod1(e) {
  1047. for (var i = 0; i < this.gradeList.length; i++) {
  1048. if (this.gradeList[i].constValue == e) {
  1049. this.dataList1.packingMethodKey = this.gradeList[i].constKey
  1050. if(this.dataList1.taskTypeKey==4){
  1051. this.$set(this.dataList,'grade',e)
  1052. this.$set(this.dataList,'gradeKey',this.gradeList[i].constKey)
  1053. }
  1054. }
  1055. }
  1056. },
  1057. selectstorageType(e) {
  1058. for (var i = 0; i < this.storageType.length; i++) {
  1059. if (this.storageType[i].constValue == e) {
  1060. this.dataList.inOutTypeKey = this.storageType[i].constKey
  1061. }
  1062. }
  1063. },
  1064. selectstorageType1(e) {
  1065. for (var i = 0; i < this.storageType1.length; i++) {
  1066. if (this.storageType1[i].constValue == e) {
  1067. this.dataList1.inOutTypeKey = this.storageType1[i].constKey
  1068. }
  1069. }
  1070. },
  1071. handleClose() {
  1072. this.accessoryTFs = false
  1073. },
  1074. handleSizeChange(val) {
  1075. console.log(`每页 ${val} 条`)
  1076. this.pageSize = val
  1077. this.getList()
  1078. },
  1079. businessDescriptionchange(e) {
  1080. console.log(e)
  1081. },
  1082. handleCurrentChange(val) {
  1083. this.currentPage = val
  1084. console.log(`当前页: ${val}`)
  1085. this.getList()
  1086. },
  1087. tasknumber() {
  1088. if (this.dataList.taskTypeKey == 1) {
  1089. this.inOutTaskNo = 'CK' + this.getdate() + this.verifyinit()
  1090. } else if (this.dataList.taskTypeKey == 2) {
  1091. this.inOutTaskNo1 = 'RK' + this.getdate() + this.verifyinit()
  1092. } else if (this.dataList.taskTypeKey == 3) {
  1093. var random=this.getdate() + this.verifyinit()
  1094. this.inOutTaskNo = 'YKC' + random
  1095. this.inOutTaskNo1 = 'YKR' + random
  1096. } else if (this.dataList.taskTypeKey == 4) {
  1097. var random=this.getdate() + this.verifyinit()
  1098. this.inOutTaskNo = 'TCC' + random
  1099. this.inOutTaskNo1 = 'TCR' + random
  1100. }
  1101. },
  1102. tasktypechange(e) {
  1103. if (!this.$route.query.relevanceId) {
  1104. this.tasknumber()
  1105. }
  1106. this.dataList1.taskTypeKey = e
  1107. if(this.dataList.taskTypeKey==1){
  1108. this.dataList.inOutType='销售出库'
  1109. this.dataList.inOutTypeKey='1'
  1110. }
  1111. if(this.dataList1.taskTypeKey==2){
  1112. this.dataList1.inOutType='采购入库'
  1113. this.dataList1.inOutTypeKey='1'
  1114. }
  1115. else if(this.dataList1.taskTypeKey==3){
  1116. this.disabled=true
  1117. this.dataList1.inOutType='移库入库'
  1118. this.dataList1.inOutTypeKey='3'
  1119. this.dataList.inOutType='移库出库'
  1120. this.dataList.inOutTypeKey='3'
  1121. }else if(this.dataList1.taskTypeKey==4){
  1122. this.disabled=true
  1123. this.dataList1.inOutType='退库'
  1124. this.dataList1.inOutTypeKey='6'
  1125. this.dataList.inOutType='销售出库'
  1126. this.dataList.inOutTypeKey='1'
  1127. }
  1128. },
  1129. GetRandomNum(Min, Max) {
  1130. var Range = Max - Min
  1131. var Rand = Math.random()
  1132. return Min + Math.round(Rand * Range)
  1133. },
  1134. getList() {
  1135. if (this.$route.query.relevanceId) {
  1136. outexamine({ relevanceId: this.$route.query.relevanceId })
  1137. .toPromise()
  1138. .then((response) => {
  1139. if (response.length > 1) {
  1140. this.dataList = response[0]
  1141. this.dataList1 = response[1]
  1142. } else {
  1143. if(response[0].taskTypeKey==3){
  1144. this.deletetask=true
  1145. this.dataList1.inOutTaskNo='YKR'+response[0].inOutTaskNo.substr(response[0].inOutTaskNo.indexOf("C") + 1,response[0].inOutTaskNo.length)
  1146. }
  1147. this.dataList = response[0]
  1148. }
  1149. })
  1150. } else {
  1151. this.tasknumber()
  1152. this.$set(this.dataList,'inOutType','销售出库')
  1153. this.$set(this.dataList,'inOutTypeKey','1')
  1154. this.$set(this.dataList,'goodsName','玉米')
  1155. this.$set(this.dataList,'goodsNameKey','1')
  1156. this.$set(this.dataList,'grade','一等品')
  1157. this.$set(this.dataList,'gradeKey','1')
  1158. this.$set(this.dataList1,'goodsName','玉米')
  1159. this.$set(this.dataList1,'goodsNameKey','1')
  1160. this.$set(this.dataList1,'grade','一等品')
  1161. this.$set(this.dataList1,'gradeKey','1')
  1162. }
  1163. // 货名
  1164. pullDown({ constId: 'CON2' })
  1165. .toPromise()
  1166. .then((response) => {
  1167. this.goodnameList = response
  1168. })
  1169. // 品级
  1170. pullDown({ constId: 'CON3' })
  1171. .toPromise()
  1172. .then((response) => {
  1173. this.gradeList = response
  1174. })
  1175. pullDown({ constId: 'CON6' })
  1176. .toPromise()
  1177. .then((response) => {
  1178. this.storageType = response
  1179. })
  1180. pullDown({ constId: 'CON5' })
  1181. .toPromise()
  1182. .then((response) => {
  1183. this.storageType1 = response
  1184. })
  1185. xialaNo({
  1186. compId: this.compId,
  1187. })
  1188. .toPromise()
  1189. .then((response) => {
  1190. this.contractNoList = response
  1191. })
  1192. // //临时仓库入库类型
  1193. // pullDown({ constId: 'WARE1' })
  1194. // .toPromise()
  1195. // .then((response) => {
  1196. // this.storageType = respons
  1197. // })
  1198. // //临时仓库出库类型
  1199. // pullDown({ constId: 'WARE2' })
  1200. // .toPromise()
  1201. // .then((response) => {
  1202. // this.deliveryType = response
  1203. // })
  1204. //仓库名
  1205. getwarehousename({
  1206. compId: this.compId,
  1207. warehouseType: 1,
  1208. })
  1209. .toPromise()
  1210. .then((response) => {
  1211. this.warehouseNameList = response
  1212. })
  1213. getwarehousename({
  1214. compId: this.compId,
  1215. warehouseType: 2,
  1216. })
  1217. .toPromise()
  1218. .then((response) => {
  1219. this.warehouseNameList1 = response
  1220. })
  1221. //经办人
  1222. getstaff({ compId: sessionStorage.getItem('ws-pf_compId') })
  1223. .toPromise()
  1224. .then((response) => {
  1225. this.options = response
  1226. this.staffList = response
  1227. // this.agent = response
  1228. })
  1229. },
  1230. selecttaskType(e) {
  1231. for (var i = 0; i < this.taskTypeList.length; i++) {
  1232. if (this.taskTypeList[i].value == e) {
  1233. this.searchType = this.taskTypeList[i].type
  1234. }
  1235. }
  1236. },
  1237. fujian(row) {
  1238. if (
  1239. row.receiveAttachmentPath === null ||
  1240. row.receiveAttachmentPath === ''
  1241. ) {
  1242. EventBus.$emit(
  1243. 'warning',
  1244. this.$t('system.noticeCircular.NoInformation')
  1245. )
  1246. } else {
  1247. this.accessoryTFs = true
  1248. }
  1249. this.appendixIdss = row.receiveAttachmentPath
  1250. },
  1251. handleExamine(row) {
  1252. this.$router.push({
  1253. name: 'salesContractExamine',
  1254. query: { id: row.id },
  1255. })
  1256. },
  1257. // 关闭 dialog时 处理文件url 初始化upload组件
  1258. handleCloe() {
  1259. this.dialogViewSpareMoney = false
  1260. },
  1261. history(row) {
  1262. console.log(row)
  1263. billoperatehis({ id: row.id })
  1264. .toPromise()
  1265. .then((response) => {
  1266. this.historyList = response
  1267. })
  1268. },
  1269. async exportlist() {
  1270. const { data } = await export1(
  1271. {
  1272. compId: sessionStorage.getItem('ws-pf_compId'),
  1273. contractType: this.contractType,
  1274. currentPage: this.currentPage,
  1275. pageSize: this.pageSize,
  1276. searchType: this.searchType,
  1277. searchKeyWord: this.searchKeyWord,
  1278. startDate: this.startDate,
  1279. endDate: this.endDate,
  1280. },
  1281. {},
  1282. { responseType: 'blob' }
  1283. ).toPromise()
  1284. downloadFile({
  1285. res: data,
  1286. fileName: `${
  1287. this.date.year + (this.date.month ? `-${this.date.month}` : '')
  1288. }_采购合同`,
  1289. type: 'xls',
  1290. })
  1291. },
  1292. // deletecontract(){},
  1293. //删除
  1294. approve() {},
  1295. listQuery() {},
  1296. total() {},
  1297. clearfiltQuery() {},
  1298. selectCrtDuty() {},
  1299. },
  1300. }
  1301. </script>
  1302. <style lang="scss" scoped>
  1303. /deep/.basicInformation {
  1304. .el-info-table {
  1305. border: none;
  1306. position: relative;
  1307. }
  1308. .el-form-item {
  1309. width: 33.3333%;
  1310. border: none;
  1311. margin: 0;
  1312. .el-form-item__label {
  1313. text-align: left;
  1314. font-size: 14px;
  1315. font-family: PingFangSC-Regular, PingFang SC;
  1316. font-weight: 400;
  1317. color: #8890b1;
  1318. }
  1319. .el-form-item__content {
  1320. padding-left: 0px;
  1321. padding-right: 10px;
  1322. // background: #fff;
  1323. white-space: nowrap;
  1324. height: 40px;
  1325. display: flex;
  1326. -webkit-box-align: center;
  1327. align-items: center;
  1328. text-align: left;
  1329. overflow: hidden;
  1330. }
  1331. }
  1332. }
  1333. /deep/.el-radio {
  1334. color: #606266;
  1335. font-weight: 500;
  1336. line-height: 1;
  1337. cursor: pointer;
  1338. white-space: nowrap;
  1339. outline: 0;
  1340. margin-right: 30px;
  1341. margin-top: 15px;
  1342. }
  1343. /deep/.el-radio__inner {
  1344. border: 1px solid #dcdfe6;
  1345. border-radius: 100%;
  1346. width: 14px;
  1347. height: 14px;
  1348. background-color: #fff;
  1349. cursor: pointer;
  1350. -webkit-box-sizing: border-box;
  1351. box-sizing: border-box;
  1352. margin-left: 100px;
  1353. }
  1354. /deep/.el-radio__input {
  1355. white-space: nowrap;
  1356. cursor: pointer;
  1357. outline: 0;
  1358. line-height: 1;
  1359. vertical-align: middle;
  1360. margin-top: -1px;
  1361. }
  1362. .title {
  1363. position: relative;
  1364. padding-left: 10px;
  1365. }
  1366. .title::before {
  1367. content: '';
  1368. display: inline-block;
  1369. width: 5px;
  1370. height: 30px;
  1371. background: #5473e8;
  1372. position: absolute;
  1373. left: 0;
  1374. }
  1375. .el-form {
  1376. padding: 0 15%;
  1377. display: flex;
  1378. flex-wrap: wrap;
  1379. margin-left: -50px;
  1380. margin-top: 15px;
  1381. width: 110%;
  1382. }
  1383. .el-button--primary {
  1384. background-color: #5878e8;
  1385. border-color: #5878e8;
  1386. }
  1387. .el-col {
  1388. background: #f6f7fc;
  1389. }
  1390. .bg-right {
  1391. text-align: right;
  1392. padding: 16px 20px;
  1393. }
  1394. .center {
  1395. position: relative;
  1396. top: 50px;
  1397. width: 40%;
  1398. height: 2000px;
  1399. margin: 0 auto;
  1400. margin-right: 180px;
  1401. }
  1402. /deep/.el-form-item__label {
  1403. width: 160px;
  1404. }
  1405. .inspector {
  1406. width: 50%;
  1407. }
  1408. /deep/.el-form-item--small .el-form-item__label,
  1409. .el-form-item--small .el-form-item__content {
  1410. text-align: left;
  1411. }
  1412. /deep/.el-input--small {
  1413. font-size: 13px;
  1414. position: relative;
  1415. display: inline-block;
  1416. }
  1417. .center1 .small-title {
  1418. margin-left: 150px;
  1419. }
  1420. .center1 {
  1421. width: 90%;
  1422. margin: 0 auto;
  1423. margin-left: 10px;
  1424. margin-top: 25px;
  1425. }
  1426. /deep/.el-input--small .el-input__inner {
  1427. height: 32px;
  1428. line-height: 32px;
  1429. }
  1430. /deep/.el-select {
  1431. display: inline-block;
  1432. position: relative;
  1433. width: 100%;
  1434. }
  1435. .annu{
  1436. height: 81px;
  1437. background: #FFFFFF;
  1438. border-radius: 4px;
  1439. }
  1440. .basicInformation
  1441. .el-form-item {
  1442. width: 50.3333%;
  1443. border: none;
  1444. margin: 0;
  1445. }
  1446. .huom{
  1447. width: 100px;
  1448. }
  1449. .el-form{
  1450. font-size: 14px;
  1451. font-family: PingFangSC-Regular, PingFang SC;
  1452. font-weight: 400;
  1453. color: #8890B1;
  1454. line-height: 16px;
  1455. }
  1456. .a{
  1457. margin-left: -32px;
  1458. }
  1459. .el-radio-group {
  1460. margin-left: 80px;
  1461. }
  1462. .ding{
  1463. height: 23px;
  1464. background: #E8ECF6;
  1465. box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
  1466. }
  1467. .ziti {
  1468. width: 72px;
  1469. height: 20px;
  1470. font-size: 14px;
  1471. font-family: PingFangSC-Regular, PingFang SC;
  1472. font-weight: 400;
  1473. color: #8890b1;
  1474. line-height: 20px;
  1475. margin-left: 130px;
  1476. /* margin-top: 112px; */
  1477. }
  1478. .ziti1 {
  1479. width: 100px;
  1480. font-size: 16px;
  1481. font-family: PingFangSC-Medium, PingFang SC;
  1482. font-weight: 500;
  1483. color: #262626;
  1484. line-height: 22px;
  1485. margin-left: 197px;
  1486. margin-top: -22px;
  1487. }
  1488. .winseaview-view {
  1489. padding: 0 0 20px;
  1490. }
  1491. .container {
  1492. overflow: scroll;
  1493. height: 93vh;
  1494. }
  1495. .nav {
  1496. width: 200px;
  1497. height: 20px;
  1498. }
  1499. </style>