tranManagementWarehouseInOutTaskAdd.vue 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455
  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. </div>
  654. </template>
  655. <script>
  656. import {
  657. getwarehousename,
  658. xialaNo,
  659. addoreditoutput,
  660. outexamine,
  661. getGoodsName
  662. } from '@/model/tasksport/index'
  663. import { packList } from '@/model/contarct/index'
  664. import { pullDown, getstaff } from '@/model/warehouse/index'
  665. import { downloadFile } from '@/utils/batchDown'
  666. import Pagination from '@/components/Pagination'
  667. import { mapActions, mapGetters, mapState } from 'vuex'
  668. import WsUpload from '@/components/WsUpload'
  669. // import { dayjs, fmoney, EventBus } from 'base-core-lib'
  670. import { dayjs, EventBus } from 'base-core-lib'
  671. export default {
  672. name: 'viewSpareMoney',
  673. components: {
  674. WsUpload,
  675. Pagination,
  676. },
  677. watch: {
  678. // vesselId(val) {
  679. // this.getList()
  680. // },
  681. isShow(val) {
  682. this.showType = val
  683. },
  684. flag(val){
  685. xialaNo({
  686. compId: this.compId,
  687. flag: val
  688. })
  689. .toPromise()
  690. .then((response) => {
  691. if(this.dataList1.taskTypeKey == 2 || this.dataList1.taskTypeKey == 4){
  692. this.contractNoList1 = response
  693. if(this.dataList1.taskTypeKey == 2){
  694. this.contractNoList = response
  695. }
  696. }
  697. else{
  698. this.contractNoList = response
  699. }
  700. })
  701. }
  702. },
  703. computed: {
  704. ...mapGetters(['deptBudgetList']),
  705. },
  706. data() {
  707. return {
  708. flag:1,
  709. //弹出框
  710. dialogViewSpareMoney: false,
  711. dialogApproveFormVisible: false,
  712. // 船舶类型
  713. monetaryKey: null,
  714. // 表格显示数据
  715. tableDate: [],
  716. // 是否显示
  717. showType: true,
  718. disabled:false,
  719. // 年
  720. year: '',
  721. contractNoList: [],
  722. contractNoList1: [],
  723. deptBudgetTotal: 0,
  724. readonly: true,
  725. currentPage: 1,
  726. pageSize: 10,
  727. searchType: 1,
  728. searchKeyWord: '',
  729. radio: '1',
  730. contractType: 2,
  731. startDate: null,
  732. endDate: null,
  733. goodnameList: [],
  734. checked: true,
  735. form: {},
  736. staffList: [],
  737. options: [],
  738. storageType: [],
  739. storageType1: [],
  740. outContractNo: [],
  741. // 提交类型
  742. submitType: true,
  743. status: [],
  744. warehouseNameList: [],
  745. warehouseNameList1: [],
  746. appendixIdsAdd: '',
  747. uploadSuccess: {},
  748. deletetask:false,
  749. warehouseInOutDetail: {},
  750. onChange: {},
  751. deptBudgetList1: [],
  752. gradeList: [],
  753. rules: {
  754. netWeight: [
  755. {
  756. required: true,
  757. type: 'number',
  758. message: '请输入活动名称',
  759. trigger: 'blur',
  760. },
  761. ],
  762. },
  763. size: 10,
  764. compId: sessionStorage.getItem('ws-pf_compId'),
  765. deptCircularPage: {},
  766. packtypeList: {},
  767. date: {
  768. year: dayjs().format('YYYY'),
  769. month: dayjs().format('MM'),
  770. },
  771. contractList: [],
  772. inOutTaskNo: '',
  773. inOutTaskNo1: '',
  774. dataList: { taskTypeKey: '1' },
  775. dataList1: { taskTypeKey: '1' },
  776. historyList: [],
  777. pickerBeginDateBefore: {
  778. disabledDate: (time) => {
  779. return time.getTime() > Date.now()
  780. },
  781. },
  782. accessoryTFs: false,
  783. }
  784. },
  785. activated() {
  786. this.getList()
  787. },
  788. methods: {
  789. //返回按钮
  790. revert() {
  791. this.$router.go(-1)
  792. },
  793. returnsales() {
  794. this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
  795. },
  796. // 获取当前年月日
  797. getdate() {
  798. var date = new Date()
  799. var year = date.getFullYear() //获取完整的年份(4位)
  800. var mouth = date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
  801. var datetime = date.getDate() //获取当前日(1-31)
  802. if (mouth < 10) {
  803. mouth = '0' + mouth
  804. }
  805. if (datetime < 10) {
  806. datetime = '0' + datetime
  807. }
  808. return year + mouth + datetime
  809. },
  810. // 随机验证码
  811. verifyinit() {
  812. var arr = []
  813. for (var i = 48; i < 123; i++) {
  814. if (i > 57 && i < 65) continue
  815. if (i > 90 && i < 97) continue
  816. arr.push(String.fromCharCode(i))
  817. }
  818. arr.sort(function () {
  819. return Math.random() - 0.5
  820. })
  821. arr.length = 4
  822. return arr.join('')
  823. },
  824. selectTaskNo(e){
  825. if(this.dataList.taskTypeKey==3){
  826. this.$set(this.dataList1,'moveTaskNo',e)
  827. }
  828. },
  829. dataFilter(val) {
  830. // console.log(val,"名")
  831. this.deptBudgetList.staffList = val
  832. if (val) {
  833. //val存在
  834. this.options = this.staffList.filter((item) => {
  835. if (
  836. !!~item.staffName.indexOf(val) ||
  837. !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
  838. ) {
  839. return true
  840. }
  841. })
  842. } else {
  843. //val为空时,还原数组
  844. this.options = this.staffList
  845. }
  846. },
  847. weightchange(e){
  848. if(this.dataList.taskTypeKey==4){
  849. this.$set(this.dataList,'weight',e)
  850. }
  851. },
  852. bulkDensitychange(e){
  853. if(this.dataList.taskTypeKey==4){
  854. this.$set(this.dataList,'bulkDensity',e)
  855. }else if(this.dataList1.taskTypeKey==3){
  856. this.$set(this.dataList1,'bulkDensity',e)
  857. }
  858. },
  859. waterContentchange(e){
  860. if(this.dataList.taskTypeKey==4){
  861. this.$set(this.dataList,'waterContent',e)
  862. }else if(this.dataList1.taskTypeKey==3){
  863. this.$set(this.dataList1,'waterContent',e)
  864. }
  865. },
  866. unitPricechange(e){
  867. if(this.dataList.taskTypeKey==4){
  868. this.$set(this.dataList,'unitPrice',e)
  869. }else if(this.dataList1.taskTypeKey==3){
  870. this.$set(this.dataList1,'unitPrice',e)
  871. }
  872. },
  873. changecontract(e){
  874. if(this.dataList.taskTypeKey!=3){
  875. for (let i = 0; i < this.contractNoList.length; i++) {
  876. if(this.contractNoList[i].contractNo==e){
  877. getGoodsName({ contractId:this.contractNoList[i].id,contractNo:this.contractNoList[i].contractNo}) .toPromise()
  878. .then((response) => {
  879. this.$set(this.dataList,'goodsName',response.goodsName)
  880. this.$set(this.dataList,'goodsNameKey',response.goodsNameKey)
  881. this.$set(this.dataList,'grade',response.grade)
  882. this.$set(this.dataList,'gradeKey',response.gradeKey)
  883. this.$set(this.dataList,'waterContent',response.waterContent)
  884. this.$set(this.dataList,'bulkDensity',response.bulkDensity)
  885. this.$set(this.dataList,'weight',response.weight)
  886. this.$set(this.dataList,'unitPrice',response.unitContractPrice)
  887. })
  888. }
  889. }
  890. }
  891. },
  892. changecontract1(e){
  893. if(this.dataList1.taskTypeKey!=3){
  894. for (let i = 0; i < this.contractNoList.length; i++) {
  895. if(this.contractNoList[i].contractNo==e){
  896. getGoodsName({ contractId:this.contractNoList[i].id,contractNo:this.contractNoList[i].contractNo}) .toPromise()
  897. .then((response) => {
  898. this.$set(this.dataList1,'goodsName',response.goodsName)
  899. this.$set(this.dataList1,'goodsNameKey',response.goodsNameKey)
  900. this.$set(this.dataList1,'grade',response.grade)
  901. this.$set(this.dataList1,'gradeKey',response.gradeKey)
  902. this.$set(this.dataList1,'waterContent',response.waterContent)
  903. this.$set(this.dataList1,'bulkDensity',response.bulkDensity)
  904. this.$set(this.dataList1,'weight',response.weight)
  905. this.$set(this.dataList1,'unitPrice',response.unitContractPrice)
  906. })
  907. }
  908. }
  909. }
  910. },
  911. selectstaff(e) {
  912. for (var i = 0; i < this.staffList.length; i++) {
  913. if (this.staffList[i].staffName == e) {
  914. this.dataList.agentKey = this.staffList[i].staffId
  915. }
  916. }
  917. },
  918. selectstaff1(e) {
  919. for (var i = 0; i < this.staffList.length; i++) {
  920. if (this.staffList[i].staffName == e) {
  921. this.dataList1.agentKey = this.staffList[i].staffId
  922. }
  923. }
  924. },
  925. requestadd(list, status) {
  926. list.compId = sessionStorage.getItem('ws-pf_compId')
  927. list.publisher =
  928. sessionStorage.getItem('ws-pf_roleName') +
  929. sessionStorage.getItem('ws-pf_staffName')
  930. addoreditoutput(list)
  931. .toPromise()
  932. .then((response) => {
  933. this.$message.success('添加成功')
  934. this.$router.push({ path: 'tranManagementWarehouseInOutTask' })
  935. })
  936. },
  937. //提交按钮
  938. submit() {
  939. this.dataList.inOutFlag=1
  940. this.dataList1.inOutFlag=2
  941. if (this.dataList.taskTypeKey == 1) {
  942. this.dataList.inOutTaskNo = this.inOutTaskNo
  943. this.requestadd(this.dataList)
  944. } else if (this.dataList1.taskTypeKey == 2) {
  945. this.dataList1.inOutTaskNo = this.inOutTaskNo1
  946. this.requestadd(this.dataList1)
  947. } else if (
  948. this.dataList.taskTypeKey == 3 ||
  949. this.dataList.taskTypeKey == 4
  950. ) {
  951. this.dataList.inOutTaskNo = this.inOutTaskNo
  952. this.dataList.relevanceId = this.GetRandomNum(100000, 999999)
  953. if(this.dataList.taskTypeKey == 3){
  954. this.dataList.businessDescribe=this.dataList1.businessDescribe
  955. }else{
  956. this.dataList1.businessDescribe=this.dataList.businessDescribe
  957. }
  958. this.requestadd(this.dataList, 'repetition')
  959. this.dataList1.inOutTaskNo = this.inOutTaskNo1
  960. this.dataList1.relevanceId = this.dataList.relevanceId
  961. this.requestadd(this.dataList1, 'repetition')
  962. }
  963. },
  964. selectwarehouseName() {},
  965. tarechange(e) {
  966. if (this.dataList.grossWeight && this.dataList.tare) {
  967. this.dataList.netWeight = Number(
  968. this.dataList.grossWeight - this.dataList.tare
  969. )
  970. }
  971. },
  972. grossWeightchange(e) {
  973. if (this.dataList.grossWeight && this.dataList.tare) {
  974. this.dataList.netWeight = Number(
  975. this.dataList.grossWeight - this.dataList.tare
  976. )
  977. }
  978. },
  979. selectgoodsName(e) {
  980. for (var i = 0; i < this.goodnameList.length; i++) {
  981. if (this.goodnameList[i].constValue == e) {
  982. this.dataList.goodsNameKey = this.goodnameList[i].constKey
  983. }
  984. }
  985. },
  986. selectgoodsName1(e) {
  987. for (var i = 0; i < this.goodnameList.length; i++) {
  988. if (this.goodnameList[i].constValue == e) {
  989. this.dataList1.goodsNameKey = this.goodnameList[i].constKey
  990. }
  991. }
  992. },
  993. selectpackingMethod(e) {
  994. for (var i = 0; i < this.gradeList.length; i++) {
  995. if (this.gradeList[i].constValue == e) {
  996. this.dataList.gradeKey = this.gradeList[i].constKey
  997. if(this.dataList.taskTypeKey==3){
  998. this.$set(this.dataList1,'grade',e)
  999. this.$set(this.dataList1,'gradeKey',this.gradeList[i].constKey)
  1000. }
  1001. }
  1002. }
  1003. },
  1004. selectpackingMethod1(e) {
  1005. for (var i = 0; i < this.gradeList.length; i++) {
  1006. if (this.gradeList[i].constValue == e) {
  1007. this.dataList1.packingMethodKey = this.gradeList[i].constKey
  1008. if(this.dataList1.taskTypeKey==4){
  1009. this.$set(this.dataList,'grade',e)
  1010. this.$set(this.dataList,'gradeKey',this.gradeList[i].constKey)
  1011. }
  1012. }
  1013. }
  1014. },
  1015. selectstorageType(e) {
  1016. switch(e){
  1017. case "采购出库": this.flag = 0;break
  1018. case "销售出库": this.flag = 1;break
  1019. }
  1020. for (var i = 0; i < this.storageType.length; i++) {
  1021. if (this.storageType[i].constValue == e) {
  1022. this.dataList.inOutTypeKey = this.storageType[i].constKey
  1023. }
  1024. }
  1025. },
  1026. selectstorageType1(e) {
  1027. switch(e){
  1028. case "采购入库": this.flag = 0;break
  1029. case "退库": this.flag = 2;break
  1030. }
  1031. for (var i = 0; i < this.storageType1.length; i++) {
  1032. if (this.storageType1[i].constValue == e) {
  1033. this.dataList1.inOutTypeKey = this.storageType1[i].constKey
  1034. }
  1035. }
  1036. },
  1037. handleClose() {
  1038. this.accessoryTFs = false
  1039. },
  1040. handleSizeChange(val) {
  1041. console.log(`每页 ${val} 条`)
  1042. this.pageSize = val
  1043. this.getList()
  1044. },
  1045. businessDescriptionchange(e) {
  1046. console.log(e)
  1047. },
  1048. handleCurrentChange(val) {
  1049. this.currentPage = val
  1050. console.log(`当前页: ${val}`)
  1051. this.getList()
  1052. },
  1053. tasknumber() {
  1054. if (this.dataList.taskTypeKey == 1) {
  1055. this.inOutTaskNo = 'CK' + this.getdate() + this.verifyinit()
  1056. } else if (this.dataList.taskTypeKey == 2) {
  1057. this.inOutTaskNo1 = 'RK' + this.getdate() + this.verifyinit()
  1058. } else if (this.dataList.taskTypeKey == 3) {
  1059. var random=this.getdate() + this.verifyinit()
  1060. this.inOutTaskNo = 'YKC' + random
  1061. this.inOutTaskNo1 = 'YKR' + random
  1062. } else if (this.dataList.taskTypeKey == 4) {
  1063. var random=this.getdate() + this.verifyinit()
  1064. this.inOutTaskNo = 'TCC' + random
  1065. this.inOutTaskNo1 = 'TCR' + random
  1066. }
  1067. },
  1068. tasktypechange(e) {
  1069. if (!this.$route.query.relevanceId) {
  1070. this.tasknumber()
  1071. }
  1072. this.dataList1.taskTypeKey = e
  1073. if(this.dataList.taskTypeKey==1){
  1074. this.dataList.inOutType='销售出库'
  1075. this.dataList.inOutTypeKey='1'
  1076. this.flag = 1
  1077. }
  1078. if(this.dataList1.taskTypeKey==2){
  1079. this.dataList1.inOutType='采购入库'
  1080. this.dataList1.inOutTypeKey='1'
  1081. this.flag = 0
  1082. }
  1083. else if(this.dataList1.taskTypeKey==3){
  1084. this.disabled=true
  1085. this.dataList1.inOutType='移库入库'
  1086. this.dataList1.inOutTypeKey='3'
  1087. this.dataList.inOutType='移库出库'
  1088. this.dataList.inOutTypeKey='3'
  1089. }else if(this.dataList1.taskTypeKey==4){
  1090. this.disabled=true
  1091. this.dataList1.inOutType='退库'
  1092. this.dataList1.inOutTypeKey='6'
  1093. this.dataList.inOutType='销售出库'
  1094. this.flag = 2
  1095. this.dataList.inOutTypeKey='1'
  1096. }
  1097. },
  1098. GetRandomNum(Min, Max) {
  1099. var Range = Max - Min
  1100. var Rand = Math.random()
  1101. return Min + Math.round(Rand * Range)
  1102. },
  1103. getList() {
  1104. this.tasknumber()
  1105. this.$set(this.dataList,'inOutType','销售出库')
  1106. this.$set(this.dataList,'inOutTypeKey','1')
  1107. this.$set(this.dataList,'goodsName','玉米')
  1108. this.$set(this.dataList,'goodsNameKey','1')
  1109. this.$set(this.dataList,'grade','一等品')
  1110. this.$set(this.dataList,'gradeKey','1')
  1111. this.$set(this.dataList1,'goodsName','玉米')
  1112. this.$set(this.dataList1,'goodsNameKey','1')
  1113. this.$set(this.dataList1,'grade','一等品')
  1114. this.$set(this.dataList1,'gradeKey','1')
  1115. // 货名
  1116. pullDown({ constId: 'CON2' })
  1117. .toPromise()
  1118. .then((response) => {
  1119. this.goodnameList = response
  1120. })
  1121. // 品级
  1122. pullDown({ constId: 'CON3' })
  1123. .toPromise()
  1124. .then((response) => {
  1125. this.gradeList = response
  1126. })
  1127. pullDown({ constId: 'CON6' })
  1128. .toPromise()
  1129. .then((response) => {
  1130. this.storageType = response
  1131. })
  1132. pullDown({ constId: 'CON5' })
  1133. .toPromise()
  1134. .then((response) => {
  1135. this.storageType1 = response
  1136. })
  1137. xialaNo({
  1138. compId: this.compId,
  1139. flag: this.flag
  1140. })
  1141. .toPromise()
  1142. .then((response) => {
  1143. this.contractNoList = response
  1144. // this.contractNoList1 = response
  1145. })
  1146. // //临时仓库入库类型
  1147. // pullDown({ constId: 'WARE1' })
  1148. // .toPromise()
  1149. // .then((response) => {
  1150. // this.storageType = respons
  1151. // })
  1152. // //临时仓库出库类型
  1153. // pullDown({ constId: 'WARE2' })
  1154. // .toPromise()
  1155. // .then((response) => {
  1156. // this.deliveryType = response
  1157. // })
  1158. //仓库名
  1159. getwarehousename({
  1160. compId: this.compId,
  1161. warehouseType: 1,
  1162. })
  1163. .toPromise()
  1164. .then((response) => {
  1165. this.warehouseNameList = response
  1166. })
  1167. getwarehousename({
  1168. compId: this.compId,
  1169. warehouseType: 2,
  1170. })
  1171. .toPromise()
  1172. .then((response) => {
  1173. this.warehouseNameList1 = response
  1174. })
  1175. //经办人
  1176. getstaff({ compId: sessionStorage.getItem('ws-pf_compId') })
  1177. .toPromise()
  1178. .then((response) => {
  1179. this.options = response
  1180. this.staffList = response
  1181. // this.agent = response
  1182. })
  1183. },
  1184. selecttaskType(e) {
  1185. for (var i = 0; i < this.taskTypeList.length; i++) {
  1186. if (this.taskTypeList[i].value == e) {
  1187. this.searchType = this.taskTypeList[i].type
  1188. }
  1189. }
  1190. },
  1191. fujian(row) {
  1192. if (
  1193. row.receiveAttachmentPath === null ||
  1194. row.receiveAttachmentPath === ''
  1195. ) {
  1196. EventBus.$emit(
  1197. 'warning',
  1198. this.$t('system.noticeCircular.NoInformation')
  1199. )
  1200. } else {
  1201. this.accessoryTFs = true
  1202. }
  1203. this.appendixIdss = row.receiveAttachmentPath
  1204. },
  1205. handleExamine(row) {
  1206. this.$router.push({
  1207. name: 'salesContractExamine',
  1208. query: { id: row.id },
  1209. })
  1210. },
  1211. // 关闭 dialog时 处理文件url 初始化upload组件
  1212. handleCloe() {
  1213. this.dialogViewSpareMoney = false
  1214. },
  1215. history(row) {
  1216. console.log(row)
  1217. billoperatehis({ id: row.id })
  1218. .toPromise()
  1219. .then((response) => {
  1220. this.historyList = response
  1221. })
  1222. },
  1223. async exportlist() {
  1224. const { data } = await export1(
  1225. {
  1226. compId: sessionStorage.getItem('ws-pf_compId'),
  1227. contractType: this.contractType,
  1228. currentPage: this.currentPage,
  1229. pageSize: this.pageSize,
  1230. searchType: this.searchType,
  1231. searchKeyWord: this.searchKeyWord,
  1232. startDate: this.startDate,
  1233. endDate: this.endDate,
  1234. },
  1235. {},
  1236. { responseType: 'blob' }
  1237. ).toPromise()
  1238. downloadFile({
  1239. res: data,
  1240. fileName: `${
  1241. this.date.year + (this.date.month ? `-${this.date.month}` : '')
  1242. }_采购合同`,
  1243. type: 'xls',
  1244. })
  1245. },
  1246. // deletecontract(){},
  1247. //删除
  1248. approve() {},
  1249. listQuery() {},
  1250. total() {},
  1251. clearfiltQuery() {},
  1252. selectCrtDuty() {},
  1253. },
  1254. }
  1255. </script>
  1256. <style lang="scss" scoped>
  1257. /deep/.basicInformation {
  1258. .el-info-table {
  1259. border: none;
  1260. position: relative;
  1261. }
  1262. .el-form-item {
  1263. width: 33.3333%;
  1264. border: none;
  1265. margin: 0;
  1266. .el-form-item__label {
  1267. text-align: left;
  1268. font-size: 14px;
  1269. font-family: PingFangSC-Regular, PingFang SC;
  1270. font-weight: 400;
  1271. color: #8890b1;
  1272. }
  1273. .el-form-item__content {
  1274. padding-left: 0px;
  1275. padding-right: 10px;
  1276. // background: #fff;
  1277. white-space: nowrap;
  1278. height: 40px;
  1279. display: flex;
  1280. -webkit-box-align: center;
  1281. align-items: center;
  1282. text-align: left;
  1283. overflow: hidden;
  1284. }
  1285. }
  1286. }
  1287. /deep/.el-radio {
  1288. color: #606266;
  1289. font-weight: 500;
  1290. line-height: 1;
  1291. cursor: pointer;
  1292. white-space: nowrap;
  1293. outline: 0;
  1294. margin-right: 30px;
  1295. margin-top: 15px;
  1296. }
  1297. /deep/.el-radio__inner {
  1298. border: 1px solid #dcdfe6;
  1299. border-radius: 100%;
  1300. width: 14px;
  1301. height: 14px;
  1302. background-color: #fff;
  1303. cursor: pointer;
  1304. -webkit-box-sizing: border-box;
  1305. box-sizing: border-box;
  1306. margin-left: 100px;
  1307. }
  1308. /deep/.el-radio__input {
  1309. white-space: nowrap;
  1310. cursor: pointer;
  1311. outline: 0;
  1312. line-height: 1;
  1313. vertical-align: middle;
  1314. margin-top: -1px;
  1315. }
  1316. .title {
  1317. position: relative;
  1318. padding-left: 10px;
  1319. }
  1320. .title::before {
  1321. content: '';
  1322. display: inline-block;
  1323. width: 5px;
  1324. height: 30px;
  1325. background: #5473e8;
  1326. position: absolute;
  1327. left: 0;
  1328. }
  1329. .el-form {
  1330. padding: 0 15%;
  1331. display: flex;
  1332. flex-wrap: wrap;
  1333. margin-left: -50px;
  1334. margin-top: 15px;
  1335. width: 110%;
  1336. }
  1337. .el-button--primary {
  1338. background-color: #5878e8;
  1339. border-color: #5878e8;
  1340. }
  1341. .el-col {
  1342. background: #f6f7fc;
  1343. }
  1344. .bg-right {
  1345. text-align: right;
  1346. padding: 16px 20px;
  1347. }
  1348. .center {
  1349. position: relative;
  1350. top: 50px;
  1351. width: 40%;
  1352. height: 2000px;
  1353. margin: 0 auto;
  1354. margin-right: 180px;
  1355. }
  1356. /deep/.el-form-item__label {
  1357. width: 160px;
  1358. }
  1359. .inspector {
  1360. width: 50%;
  1361. }
  1362. /deep/.el-form-item--small .el-form-item__label,
  1363. .el-form-item--small .el-form-item__content {
  1364. text-align: left;
  1365. }
  1366. /deep/.el-input--small {
  1367. font-size: 13px;
  1368. position: relative;
  1369. display: inline-block;
  1370. }
  1371. .center1 .small-title {
  1372. margin-left: 323px;
  1373. }
  1374. .center1 {
  1375. width: 90%;
  1376. margin: 0 auto;
  1377. margin-left: 10px;
  1378. margin-top: 25px;
  1379. }
  1380. /deep/.el-input--small .el-input__inner {
  1381. height: 32px;
  1382. line-height: 32px;
  1383. }
  1384. /deep/.el-select {
  1385. display: inline-block;
  1386. position: relative;
  1387. width: 100%;
  1388. }
  1389. .annu{
  1390. height: 81px;
  1391. background: #FFFFFF;
  1392. border-radius: 4px;
  1393. }
  1394. .basicInformation
  1395. .el-form-item {
  1396. width: 50.3333%;
  1397. border: none;
  1398. margin: 0;
  1399. }
  1400. .huom{
  1401. width: 100px;
  1402. }
  1403. .el-form{
  1404. font-size: 14px;
  1405. font-family: PingFangSC-Regular, PingFang SC;
  1406. font-weight: 400;
  1407. color: #8890B1;
  1408. line-height: 16px;
  1409. }
  1410. .a{
  1411. margin-left: -32px;
  1412. }
  1413. .el-radio-group {
  1414. margin-left: 251px;
  1415. }
  1416. .ding{
  1417. height: 23px;
  1418. background: #E8ECF6;
  1419. box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
  1420. }
  1421. .winseaview-view {
  1422. padding: 0 0 20px;
  1423. }
  1424. .container {
  1425. overflow: scroll;
  1426. height: 93vh;
  1427. }
  1428. .el-radio-group {
  1429. font-size: 0;
  1430. margin-top: 20px;
  1431. }
  1432. /deep/.el-form {
  1433. padding: 0 15%;
  1434. display: -webkit-box;
  1435. display: -ms-flexbox;
  1436. display: flex;
  1437. -ms-flex-wrap: wrap;
  1438. flex-wrap: wrap;
  1439. margin-left: 130px;
  1440. margin-top: 15px;
  1441. width: 110%;
  1442. }
  1443. </style>