tranManagementWarehouseInOutTaskAdd.vue 44 KB

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