purchaseOrderList.vue 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464
  1. //采购订单
  2. <template>
  3. <div>
  4. <BaseHeaderLayout :leftSpan="15">
  5. <template slot="left"> </template>
  6. <template slot="right">
  7. <span style="width: 70px; display: inline-block;color: #8890B1;">状态:</span>
  8. <ws-select
  9. v-model="searchTypeText"
  10. placeholder=""
  11. class="typeselect"
  12. @change="selecttaskType"
  13. :value="searchType"
  14. >
  15. <ws-option
  16. v-for="item in taskTypeList"
  17. :key="item.value"
  18. :label="item.value"
  19. :value="item.value"
  20. style="color: #8890B1;"
  21. />
  22. </ws-select>
  23. <ws-input
  24. v-model="searchKeyWord"
  25. placeholder="可按合同编号或客户查找"
  26. clearable
  27. maxlength="500"
  28. type="input"
  29. ></ws-input>
  30. <ws-button class="find" type="primary" @click="find()"
  31. ><img
  32. width="16"
  33. height="16"
  34. style="
  35. vertical-align: text-top;
  36. position: relative;
  37. top: 0px;
  38. left: -5px;
  39. "
  40. src="../../../public/img/sousuo.png"
  41. alt=""
  42. /></ws-button>
  43. <!-- </div> -->
  44. </template>
  45. </BaseHeaderLayout>
  46. <el-table
  47. :data="warehouseList.records"
  48. size="small"
  49. element-loading-text="正在查询中。。。"
  50. border
  51. fit
  52. highlight-current-row
  53. height="700"
  54. >
  55. <el-table-column type="index" label="序号" width="50"></el-table-column>
  56. <el-table-column class="table_td" prop="contractNo" label="合同编号" width="100"></el-table-column>
  57. <el-table-column class="table_td" prop="procurementPlan" label="采购计划" width="125"></el-table-column>
  58. <el-table-column class="table_td" prop="customer" label="客户">
  59. <template slot-scope="scope">
  60. <div class="record" @click="customer(scope.row)">{{scope.row.customer}}</div>
  61. </template>
  62. </el-table-column>
  63. <el-table-column class="table_td" width="100" prop="unitPrice" label="单价(元/吨)">
  64. <template slot-scope="scope">
  65. {{scope.row.unitPrice}}
  66. <i @click="Changepricerecord(scope.row)" class="iconfont icon-lishi"></i>
  67. </template>
  68. </el-table-column>
  69. <el-table-column class="table_td" width="100" prop="basis" label="基差(元/吨)">
  70. <template slot-scope="scope">
  71. <span v-if='!scope.row.basischange&&scope.row.basis'>{{scope.row.basis}}</span>
  72. <input v-if='scope.row.basischange' style='width:60px;' v-model='basis' type="text">
  73. <i @click='changebasis(scope.row)' v-if='scope.row.basischange' class="iconfont icon-dui"></i>
  74. <img v-if='!scope.row.basischange&&scope.row.basis'
  75. width="17"
  76. height="18"
  77. style="vertical-align: text-top; position: relative; top: -1px"
  78. src="../../../public/img/edit.png"
  79. @click="editbasis(scope.row)"
  80. alt=""
  81. />
  82. <span v-if='!scope.row.basis'>-</span>
  83. </template>
  84. </el-table-column>
  85. <el-table-column class="table_td" prop="freezingDeposit" label="冻结定金(元)" width="90"></el-table-column>
  86. <el-table-column class="table_td" prop="defaultDeposit" label="拖欠定金(元)" width="100"></el-table-column>
  87. <el-table-column width="100" class="table_td" prop="unloadingCharge" label="卸车费(元/吨)"></el-table-column>
  88. <el-table-column width="100" class="table_td" prop="invoiceFee" label="发票费(元/吨)"></el-table-column>
  89. <el-table-column class="table_td" prop="transactionsNumber" label="合同重量(吨)" width="100"></el-table-column>
  90. <el-table-column class="table_td" prop="stockInQuantity" label="已入库量(吨)" width="90"></el-table-column>
  91. <el-table-column class="table_td" prop="openPosition" label="可平仓量(吨)" width="90" ></el-table-column>
  92. <el-table-column class="table_td" prop="closedPosition" label="已平仓量(吨)" width="90">
  93. <template slot-scope="scope">
  94. {{scope.row.closedPosition}}
  95. <i @click="closedPosition(scope.row)" class="iconfont icon-lishi"></i>
  96. </template>
  97. </el-table-column>
  98. <el-table-column class="table_td" prop="cumulativeTurnover" label="已成交量(吨)" width="90">
  99. <template slot-scope="scope">
  100. {{scope.row.cumulativeTurnover}}
  101. <i @click="transactionRecord(scope.row)" class="iconfont icon-lishi"></i>
  102. </template>
  103. </el-table-column>
  104. <el-table-column class="table_td" label="发票类型" prop="type"></el-table-column>
  105. <el-table-column class="table_td" label="包装方式" prop='packingType'></el-table-column>
  106. <el-table-column prop="status" label="状态">
  107. <template slot-scope="scope">
  108. <el-popover
  109. placement="left"
  110. :width="285"
  111. trigger="click"
  112. visible-arrow="false"
  113. @show="history(scope.row)"
  114. >
  115. <template>
  116. <span slot="reference">
  117. <span v-if="scope.row.status == '待审核'" class="executory"></span>
  118. <span v-if="scope.row.status == '已成交'" class="inExecution"></span>
  119. <span v-if="scope.row.status == '已完成'" class="done"></span>
  120. {{ scope.row.status }}
  121. </span>
  122. </template>
  123. </el-popover>
  124. </template>
  125. </el-table-column>
  126. <el-table-column class="table_td" label="更新时间" prop="updateDate" width="130"></el-table-column>
  127. <el-table-column class="table_td" label="入库结算" prop="updateDate" width="130"></el-table-column>
  128. <el-table-column class="table_td" label="平仓结算" prop="updateDate" width="130"></el-table-column>
  129. <el-table-column prop="seller" label="操作" width="310">
  130. <template slot-scope="scope">
  131. <div v-if='scope.row.status=="已通过"||scope.row.status=="已成交"' class="record" @click="makeabargain(scope.row)">成交</div>
  132. <!-- 补充定金 -->
  133. <div v-if='scope.row.defaultDeposit>0' class="record" @click="addthedeposit(scope.row)">补充定金</div>
  134. <div v-if='scope.row.freezingDeposit>0' class="record" @click='unfreeze(scope.row)'>解冻定金</div>
  135. <!-- 平仓 -->
  136. <div v-if='scope.row.openPosition>0' class="record" @click="cloaeposition1(scope.row)">平仓</div>
  137. <div v-if='scope.row.status=="已通过"||scope.row.status=="已成交"' class="record" @click="handle(scope.row)">完成</div>
  138. <!-- 审核 -->
  139. <div v-if='scope.row.status=="待审核"' type="text" class="record" @click="aduit(scope.row)">审核</div>
  140. <div v-if='scope.row.status=="待审核"' class="record" @click="deletehandle(scope.row)">删除</div>
  141. </template>
  142. </el-table-column>
  143. </el-table>
  144. <!-- 页数 -->
  145. <el-pagination
  146. @size-change="handleSizeChange"
  147. @current-change="handleCurrentChange"
  148. :current-page="currentPage"
  149. :page-size="pageSize"
  150. layout="total, sizes, prev, pager, next, jumper"
  151. :total="deptBudgetTotal"
  152. ></el-pagination>
  153. <el-dialog
  154. width="30%"
  155. title="成交"
  156. :visible.sync="dialogFormVisible1"
  157. :append-to-body="true"
  158. >
  159. <el-form ref="warehouseList">
  160. <el-form-item
  161. label="成交价(元/吨)"
  162. prop="transactionPrice"
  163. :label-width="formLabelWidth"
  164. >
  165. <el-input
  166. v-model="clinchdeal1.transactionPrice"
  167. autocomplete="off"
  168. placeholder="请输入成交价"
  169. class="deal"
  170. ></el-input>
  171. </el-form-item>
  172. <el-form-item
  173. label="成交量(吨)"
  174. prop="transactionsNumber"
  175. :label-width="formLabelWidth"
  176. >
  177. <el-input
  178. v-model="clinchdeal1.turnover"
  179. autocomplete="off"
  180. placeholder="请输入成交量(吨)"
  181. class="deal"
  182. ></el-input>
  183. </el-form-item>
  184. <el-form-item label="基差(元/吨)" prop="basis" :label-width="formLabelWidth">
  185. <el-input
  186. v-model="clinchdeal1.basis"
  187. autocomplete="off"
  188. placeholder="请输入基差"
  189. class="deal"
  190. ></el-input>
  191. </el-form-item>
  192. <el-form-item label="成交日期" prop="submissionDate" :label-width="formLabelWidth" class="deal">
  193. <ws-date-picker
  194. v-model="clinchdeal1.dealDate"
  195. type="date"
  196. placeholder="请选择成交日期"
  197. value-format="yyyy-MM-dd"
  198. class="deal"
  199. />
  200. </el-form-item>
  201. </el-form>
  202. <div slot="footer" class="dialog-footer">
  203. <el-button @click="dialogFormVisible1 = false">取 消</el-button>
  204. <el-button type="primary" @click=" chengjiao()">确 定</el-button>
  205. </div>
  206. </el-dialog>
  207. <el-dialog
  208. width="20%"
  209. title="补充定金"
  210. :visible.sync="dialogFormVisible3"
  211. :append-to-body="true"
  212. >
  213. <el-form :model="form">
  214. <h5 style=" margin-left:30px;">{{replenishlist.customer}}</h5>
  215. <el-form-item label="拖欠定金" :label-width="formLabelWidth">
  216. {{replenishlist.defaultDeposit}}
  217. </el-form-item>
  218. <el-form-item label="可用定金" :label-width="formLabelWidth">
  219. {{replenishlist.totalDeposit-replenishlist.freezingDeposit}}
  220. </el-form-item>
  221. <el-form-item label="补充金额" :label-width="formLabelWidth">
  222. <el-input
  223. v-model="replenishlist.money"
  224. autocomplete="off"
  225. placeholder="请输入补充金额"
  226. class="deal"
  227. ></el-input>
  228. </el-form-item>
  229. </el-form>
  230. <div slot="footer" class="dialog-footer">
  231. <el-button @click="dialogFormVisible3 = false">取 消</el-button>
  232. <el-button type="primary" @click="replenish">确 定</el-button>
  233. </div>
  234. </el-dialog>
  235. <el-dialog
  236. width="25%"
  237. title="平仓"
  238. :visible.sync="dialogFormVisible2"
  239. :append-to-body="true"
  240. >
  241. <el-form class='closeposition'>
  242. <el-form-item label="成交价格(元/吨)" prop="transactionPrice" >
  243. <ws-select
  244. v-model="closePositionList1.transactionPrice"
  245. placeholder
  246. class="deal"
  247. placeholder="请输入成交价"
  248. >
  249. <ws-option
  250. v-for="item in transactionRecordList"
  251. :key="item.constKey"
  252. :label="item.transactionPrice"
  253. :value="item.transactionPrice"
  254. />
  255. </ws-select>
  256. </el-form-item>
  257. <el-form-item label="可平仓数量(吨)" prop="openPosition" >
  258. <el-input v-model="closePositionList1.openPosition" autocomplete="off" class="deal"></el-input>
  259. </el-form-item>
  260. <el-form-item label="平仓数量(吨)" prop="closingQuantity" >
  261. <el-input
  262. v-model="closePositionList1.closingQuantity"
  263. autocomplete="off"
  264. placeholder="请输入平仓数量"
  265. class="deal"
  266. ></el-input>
  267. </el-form-item>
  268. <el-form-item label="平仓价格(元/吨)" prop="closeRate" >
  269. <el-input
  270. v-model="closePositionList1.closeRate"
  271. autocomplete="off"
  272. placeholder="请输入平仓价格"
  273. class="deal"
  274. ></el-input>
  275. </el-form-item>
  276. <el-form-item label="平仓基差(元/吨)" prop="closingBasis" >
  277. <el-input
  278. v-model="closePositionList1.basis"
  279. autocomplete="off"
  280. placeholder="请输入平仓基差"
  281. class="deal"
  282. ></el-input>
  283. </el-form-item>
  284. <el-form-item label="平仓应付(元)" prop="closingPositionPayable">
  285. <el-input
  286. v-model="closePositionList1.closingPositionPayable"
  287. autocomplete="off"
  288. placeholder="请输入平仓价格"
  289. class="deal"
  290. ></el-input>
  291. </el-form-item>
  292. <el-form-item label="平仓日期" prop="closePositionDate" >
  293. <el-date-picker
  294. v-model="closePositionList1.closePositionDate"
  295. type="date"
  296. placeholder="选择日期"
  297. format="yyyy 年 MM 月 dd 日"
  298. value-format="yyyy-MM-dd"/>
  299. </el-form-item>
  300. </el-form>
  301. <div slot="footer" class="dialog-footer">
  302. <el-button @click="dialogFormVisible2 = false">取 消</el-button>
  303. <el-button type="primary" @click="closepositionconfirm()">确 定</el-button>
  304. </div>
  305. </el-dialog>
  306. <el-dialog
  307. width="30%"
  308. title="审核"
  309. :visible.sync="dialogFormVisible4"
  310. :append-to-body="true"
  311. >
  312. <el-form >
  313. <el-form-item label="交易类型" :label-width="formLabelWidth">
  314. {{aduitlist.type}}
  315. </el-form-item>
  316. <el-form-item label="交易目标" :label-width="formLabelWidth">
  317. {{aduitlist.tradingTarget}}
  318. </el-form-item>
  319. <el-form-item label="卖方" :label-width="formLabelWidth">
  320. {{aduitlist.seller}}
  321. </el-form-item>
  322. <el-form-item label="卖方电话" :label-width="formLabelWidth">
  323. {{aduitlist.sellerPhone}}
  324. </el-form-item>
  325. <el-form-item label="交易数量(吨)" :label-width="formLabelWidth">
  326. {{aduitlist.transactionsNumber}}
  327. </el-form-item>
  328. <el-form-item label="提交时间" :label-width="formLabelWidth">
  329. {{aduitlist.createDate}}
  330. </el-form-item>
  331. <el-form-item label="包装方式" :label-width="formLabelWidth">
  332. <ws-select
  333. v-model="aduitlist.packingType"
  334. placeholder
  335. class="deal"
  336. @change="selectpackingType"
  337. >
  338. <ws-option
  339. v-for="item in packingTypeList"
  340. :key="item.constKey"
  341. :label="item.constValue"
  342. :value="item.constValue"
  343. />
  344. </ws-select>
  345. </el-form-item>
  346. <el-form-item v-if='aduitlist.packingType!="散装"' label="袋装备注" :label-width="formLabelWidth">
  347. <el-input maxlength='30'
  348. v-model="aduitlist.baggingNotes"
  349. autocomplete="off"
  350. placeholder="请输入袋装备注,最多30个字"
  351. class="deal"
  352. ></el-input>
  353. </el-form-item>
  354. <el-form-item label="发票类型" :label-width="formLabelWidth">
  355. <ws-select
  356. v-model="aduitlist.type"
  357. placeholder
  358. class="deal"
  359. @change="selectType"
  360. >
  361. <ws-option
  362. v-for="item in invoiceList"
  363. :key="item.constKey"
  364. :label="item.constValue"
  365. :value="item.constValue"
  366. />
  367. </ws-select>
  368. </el-form-item>
  369. <el-form-item label="单价(元/吨)" :label-width="formLabelWidth">
  370. <el-input
  371. v-model="aduitlist.unitPrice"
  372. autocomplete="off"
  373. placeholder="请输入单价"
  374. class="deal"
  375. ></el-input>
  376. </el-form-item>
  377. <el-form-item label="基差(元/吨)" :label-width="formLabelWidth">
  378. <el-input
  379. v-model="aduitlist.basis"
  380. autocomplete="off"
  381. placeholder="请输入基差"
  382. class="deal"
  383. ></el-input>
  384. </el-form-item>
  385. <el-form-item label="发票费用(元/吨)" :label-width="formLabelWidth">
  386. <el-input
  387. v-model="aduitlist.invoiceFee"
  388. autocomplete="off"
  389. placeholder="请输入发票费用"
  390. class="deal"
  391. ></el-input>
  392. </el-form-item>
  393. <el-form-item label="卸车费用(元/吨)" :label-width="formLabelWidth">
  394. <el-input
  395. v-model="aduitlist.unloadingCharge"
  396. autocomplete="off"
  397. placeholder="请输入卸车费用"
  398. class="deal"
  399. ></el-input>
  400. </el-form-item>
  401. <el-form-item label="合同编号" :label-width="formLabelWidth">
  402. <ws-select v-model="aduitlist.contractNo" placeholder="请选择合同编号" class="deal">
  403. <ws-option
  404. v-for="item in contractNolist"
  405. :key="item.constKey"
  406. :label="item.contractNo"
  407. :value="item.contractNo"/>
  408. </ws-select>
  409. </el-form-item>
  410. </el-form>
  411. <div slot="footer" class="dialog-footer">
  412. <el-button @click="dialogFormVisible4 = false">取 消</el-button>
  413. <el-button type="primary" @click="aduitconfirm">通过</el-button>
  414. </div>
  415. </el-dialog>
  416. <el-dialog
  417. width="30%"
  418. title="客户信息"
  419. :visible.sync="dialogFormVisible8"
  420. :append-to-body="true"
  421. >
  422. <el-form class='customer' :model="form">
  423. <h4 v-if='customerlist.customerTypeFlag!=1'>营业执照</h4>
  424. <img v-if='customerlist.customerTypeFlag!=1' width="50%" :src="customerlist.businessLicenseAddressUrl" alt />
  425. <el-form-item v-if='customerlist.customerTypeFlag!=1' label="公司名称" :label-width="formLabelWidth">
  426. <!-- <el-input v-model="form.region" autocomplete="off" class="deal"></el-input> -->
  427. </el-form-item>
  428. <el-form-item v-if='customerlist.customerTypeFlag!=1' label="纳税人识别号" :label-width="formLabelWidth">
  429. <!-- <el-input v-model="form.region" autocomplete="off" class="deal" ></el-input> -->
  430. </el-form-item>
  431. <div class='flex'>
  432. <div style='flex:1;text-align:center;'>
  433. <h4>身份证正面</h4>
  434. <img width="100%" :src="customerlist.cardAddressUrl1" alt />
  435. </div>
  436. <div style='flex:1;text-align:center;'>
  437. <h4>身份证反面</h4>
  438. <img width="100%" :src="customerlist.cardAddressUrl2" alt />
  439. </div>
  440. </div>
  441. <el-form-item label="姓名" :label-width="formLabelWidth">
  442. {{customerlist.customerName}}
  443. </el-form-item>
  444. <el-form-item label="身份证号" :label-width="formLabelWidth">
  445. {{customerlist.customerNumberCard}}
  446. </el-form-item>
  447. <div class='flex'>
  448. <div style='flex:1;text-align:center;'>
  449. <h4>银行卡正面</h4>
  450. <img width="100%" :src="customerlist.payeeAddressUrl1" alt />
  451. </div>
  452. <div style='flex:1;text-align:center;'>
  453. <h4>银行卡反面</h4>
  454. <img width="100%" :src="customerlist.payeeAddressUrl2" alt />
  455. </div>
  456. </div>
  457. <el-form-item label="银行卡号" :label-width="formLabelWidth">
  458. {{customerlist.bankCard}}
  459. </el-form-item>
  460. <el-form-item label="开户行" :label-width="formLabelWidth">
  461. {{customerlist.bankDeposit}}
  462. </el-form-item>
  463. <el-form-item label="开户支行" :label-width="formLabelWidth">
  464. {{customerlist.bankDepositBranch}}
  465. </el-form-item>
  466. <el-form-item label="手机号" :label-width="formLabelWidth">
  467. {{customerlist.customerPhone}}
  468. </el-form-item>
  469. <el-form-item label="公司地址" :label-width="formLabelWidth">
  470. {{customerlist.compAddress}}
  471. </el-form-item>
  472. </el-form>
  473. <div slot="footer" class="dialog-footer">
  474. <el-button @click="dialogFormVisible8 = false">取 消</el-button>
  475. </div>
  476. </el-dialog>
  477. <el-dialog
  478. width="40%"
  479. title="成交记录"
  480. :visible.sync="dialogFormVisible6"
  481. :append-to-body="true"
  482. >
  483. <el-table :data="transactionRecordList" >
  484. <el-table-column prop="transactionPrice" label="成交价">
  485. </el-table-column>
  486. <el-table-column prop="basis" label="基差" >
  487. </el-table-column>
  488. <el-table-column prop="turnover" label="成交量">
  489. </el-table-column>
  490. <el-table-column prop="dealDate" label="成交日期">
  491. </el-table-column>
  492. </el-table>
  493. </el-dialog>
  494. <!-- 平仓记录 -->
  495. <el-dialog
  496. width="40%"
  497. title="平仓记录"
  498. :visible.sync="dialogFormVisible7"
  499. :append-to-body="true"
  500. >
  501. <el-table :data="closePositionList">
  502. <el-table-column prop="transactionPrice" label="成交价">
  503. </el-table-column>
  504. <el-table-column prop="transactionPrice" label="平仓价">
  505. </el-table-column>
  506. <el-table-column prop="basis" label="基差" >
  507. </el-table-column>
  508. <el-table-column prop="turnover" label="成交量">
  509. </el-table-column>
  510. <el-table-column prop="dealDate" label="成交日期">
  511. </el-table-column>
  512. </el-table>
  513. </el-dialog>
  514. <el-dialog
  515. width="10%"
  516. title="改价记录"
  517. :visible.sync="dialogFormVisible5"
  518. :append-to-body="true"
  519. >
  520. <div v-for='item in pricechange'>
  521. <div >{{item.priceType}}{{item.price}}</div>
  522. <div >{{item.updateDate}}</div>
  523. </div>
  524. </el-dialog>
  525. </div>
  526. <!-- </div> -->
  527. </template>
  528. <script>
  529. import {
  530. woekflowhandle,
  531. } from '@/model/tasksport/index'
  532. import { packList } from '@/model/contarct/index'
  533. import { detailsList, chengList ,closePositionList,aduitpurchase,aduitcontractno,editStatus,deletepurchase} from '@/model/purchasingManagement/index'
  534. import { downloadFile } from '@/utils/batchDown'
  535. import Pagination from '@/components/Pagination'
  536. import WsUpload from '@/components/WsUpload'
  537. import { dayjs, fmoney, EventBus } from 'base-core-lib'
  538. export default {
  539. name: 'viewSpareMoney',
  540. components: {
  541. WsUpload,
  542. Pagination
  543. },
  544. watch: {
  545. vesselId(val) {
  546. this.getList()
  547. },
  548. isShow(val) {
  549. this.showType = val
  550. }
  551. },
  552. data() {
  553. return {
  554. dialogFormVisible1: false,
  555. dialogFormVisible2: false,
  556. dialogFormVisible3: false,
  557. dialogFormVisible4: false,
  558. dialogFormVisible5: false,
  559. dialogFormVisible6: false,
  560. dialogFormVisible7: false,
  561. dialogFormVisible8: false,
  562. dialogVisible: false,
  563. dialogImageUrl:"",
  564. form: {
  565. transactionPrice: '',
  566. transactionsNumber: '',
  567. basis: '',
  568. submissionDate: ''
  569. // delivery: false,
  570. // type: [],
  571. // resource: '',
  572. // desc: ''
  573. },
  574. formLabelWidth: '120px',
  575. basischange:false,
  576. barWidth: 0,
  577. barHeight: 0,
  578. retioX: 1,
  579. ratioY: 1,
  580. isTaped: false,
  581. isHover: false,
  582. isShow: !this.autohide,
  583. clinchdeal:{},
  584. clinchdeal1:{},
  585. //弹出框
  586. dialogViewSpareMoney: false,
  587. dialogApproveFormVisible: false,
  588. // 船舶类型
  589. monetaryKey: null,
  590. // 表格显示数据
  591. tableDate: [],
  592. // 是否显示
  593. showType: true,
  594. // 年
  595. year: '',
  596. pickerOptions: {},
  597. value2: '',
  598. deptBudgetTotal: 0,
  599. currentPage: 1,
  600. tranTypeKey: 1,
  601. pageSize: 10,
  602. searchType: '',
  603. searchTypeText: '未完成',
  604. searchKeyWord: '',
  605. contractType: 2,
  606. enter: {
  607. closePositionList:[],
  608. },
  609. transactionRecordList:[],
  610. taskTypeList:[
  611. {value:'待审核',type:1},
  612. {value:'执行中',type:2},
  613. {value:'已完成',type:3},
  614. {value:'全部订单',type:''},
  615. ],
  616. // 提交类型
  617. submitType: true,
  618. size: 10,
  619. spanArr: [],
  620. contractNo: '',
  621. customerlist:{},
  622. packingTypeList:[],
  623. inOutTaskNo: '',
  624. compId: sessionStorage.getItem('ws-pf_compId'),
  625. deptCircularPage: {},
  626. warehouseList: [],
  627. deptBudgetList: {},
  628. pcFlag:1,
  629. invoiceList:[],
  630. contractNolist:[],
  631. pricechange:[],
  632. aduitlist:{
  633. unloadingCharge:0
  634. },
  635. basis:0,
  636. replenishlist:{},
  637. closePositionList1:{},
  638. transactionRecordList:{},
  639. closePositionList:[],
  640. historyList: [],
  641. pickerBeginDateBefore: {
  642. disabledDate: time => {
  643. return time.getTime() > Date.now()
  644. }
  645. },
  646. accessoryTFs: false
  647. }
  648. },
  649. activated() {
  650. // this.loaddata()
  651. this.getList()
  652. this.showType = this.isShow
  653. },
  654. methods: {
  655. handle(item){
  656. this.$confirm(`状态修改为已完成后不可再进行交易操作,是否确定修改?`, {
  657. confirmButtonText: '确定',
  658. cancelButtonText: '取消',
  659. type: 'warning',
  660. })
  661. .then(() => {
  662. editStatus({id:item.id,flag:2}).toPromise()
  663. .then(response => {
  664. this.$message.success('修改成功')
  665. this.getList()
  666. }).catch(req => {
  667. this.$message.success('修改失败')
  668. })
  669. })
  670. },
  671. makeabargain(item){
  672. this.dialogFormVisible1 = true
  673. this.clinchdeal.id=item.id
  674. this.clinchdeal.commonId=item.commonId
  675. },
  676. deletehandle(item){
  677. this.$confirm(`采购订单删除后不可恢复,是否确定删除?`, {
  678. confirmButtonText: '确定',
  679. cancelButtonText: '取消',
  680. type: 'warning',
  681. })
  682. .then(() => {
  683. deletepurchase({id:item.id}).toPromise().then(response => {
  684. this.$message.success('删除订单成功')
  685. this.getList()
  686. }).catch(req => {
  687. this.$message.success('删除订单失败')
  688. })
  689. })
  690. },
  691. closepositionconfirm(){
  692. this.closePositionList1.compId=sessionStorage.getItem('ws-pf_compId')
  693. closePositionList(this.closePositionList1).toPromise()
  694. .then(response => {
  695. this.$message.success('平仓成功')
  696. this.getList()
  697. }).catch(req => {
  698. this.$message.warning('平仓失败')
  699. })
  700. },
  701. cloaeposition1(item){
  702. this.dialogFormVisible2 = true
  703. this.$set(this.closePositionList1,'id',item.id)
  704. this.transactionRecordList=item.transactionRecordList
  705. this.$set(this.closePositionList1,'openPosition',item.openPosition)
  706. this.$set(this.closePositionList1,'transactionsNumber',item.transactionsNumber)
  707. this.$set(this.closePositionList1,'contractNo',item.contractNo)
  708. this.$set(this.closePositionList1,'planId',item.planId)
  709. this.$set(this.closePositionList1,'closeRate',item.closeRate)
  710. this.$set(this.closePositionList1,'seller',item.seller)
  711. this.$set(this.closePositionList1,'commonId',item.commonId)
  712. },
  713. changebasis(item){
  714. editStatus({basis:this.basis,id:item.id,flag:3}).toPromise()
  715. .then(response => {
  716. this.$message.success('修改基差成功')
  717. this.getList()
  718. }).catch(req => {
  719. this.$message.success('修改基差失败')
  720. })
  721. },
  722. unfreeze(item){
  723. this.$confirm(`确定解冻订单(${item.procurementPlan})的定金?`, {
  724. confirmButtonText: '确定',
  725. cancelButtonText: '取消',
  726. type: 'warning',
  727. })
  728. .then(() => {
  729. editStatus({id:item.id,flag:1}).toPromise()
  730. .then(response => {
  731. this.$message.success('解冻定金成功')
  732. this.getList()
  733. }).catch(req => {
  734. this.$message.success('解冻定金失败')
  735. })
  736. })
  737. },
  738. editbasis(item){
  739. this.basis=item.basis
  740. item.basischange=true
  741. },
  742. replenish(){
  743. this.dialogFormVisible3 = false
  744. if(!this.replenishlist.money){
  745. this.$message({
  746. message: '补充金额不能为空!',
  747. type: 'warning'
  748. })
  749. return
  750. }
  751. if(String(this.replenishlist.money).indexOf('.') != -1 &&
  752. String(this.replenishlist.money).length -
  753. (String(this.replenishlist.money).indexOf('.') + 1) >
  754. 2){
  755. this.$message({
  756. message: '补充金额输入错误!',
  757. type: 'warning'
  758. })
  759. return
  760. }
  761. if(this.replenishlist.money>this.replenishlist.defaultDeposit){
  762. this.$message({
  763. message: '补充金额不能超过拖欠定金!',
  764. type: 'warning'
  765. })
  766. return
  767. }
  768. if(this.replenishlist.money>(this.replenishlist.totalDeposit-this.replenishlist.freezingDeposit)){
  769. this.$message({
  770. message: '补充金额不能超过可用定金!',
  771. type: 'warning'
  772. })
  773. return
  774. }
  775. editStatus({money:this.replenishlist.money,id:this.replenishlist.id,flag:0}).toPromise()
  776. .then(response => {
  777. this.$message.success('补充成功')
  778. this.getList()
  779. }).catch(req => {
  780. this.$message.success('补充失败')
  781. })
  782. },
  783. addthedeposit(item){
  784. this.dialogFormVisible3 = true
  785. this.$set(this.replenishlist,'id',item.id)
  786. this.$set(this.replenishlist,'customer',item.customer)
  787. this.$set(this.replenishlist,'defaultDeposit',item.defaultDeposit)
  788. this.$set(this.replenishlist,'totalDeposit',item.customerInfo.totalDeposit)
  789. this.$set(this.replenishlist,'freezingDeposit',item.freezingDeposit)
  790. },
  791. aduit(item){
  792. this.dialogFormVisible4 = true
  793. this.aduitlist.id=item.id
  794. this.aduitlist.type='采购'
  795. this.$set(this.aduitlist,'seller',item.seller)
  796. this.$set(this.aduitlist,'sellerPhone',item.sellerPhone)
  797. this.$set(this.aduitlist,'tradingTarget',item.tradingTarget)
  798. this.$set(this.aduitlist,'transactionsNumber',item.transactionsNumber)
  799. this.$set(this.aduitlist,'createDate',item.createDate)
  800. this.$set(this.aduitlist,'packingType',item.packingType)
  801. this.$set(this.aduitlist,'packingTypeKey',item.packingTypeKey)
  802. this.$set(this.aduitlist,'taskId',item.taskId)
  803. this.$set(this.aduitlist,'type',item.type)
  804. this.$set(this.aduitlist,'typeKey',item.typeKey)
  805. },
  806. aduitconfirm(){
  807. if (!this.aduitlist.unitPrice) {
  808. this.$message({
  809. message: '单价不能为空!',
  810. type: 'warning'
  811. })
  812. return
  813. }
  814. if (!this.aduitlist.basis) {
  815. this.$message({
  816. message: '基差不能为空!',
  817. type: 'warning'
  818. })
  819. return
  820. }
  821. if (!this.aduitlist.contractNo) {
  822. this.$message({
  823. message: '合同编号不能为空!',
  824. type: 'warning'
  825. })
  826. return
  827. }
  828. if (this.aduitlist.packingTypeKey!=1&&this.aduitlist.baggingNotes.length>30) {
  829. this.$message({
  830. message: '袋装备注最长不能超过30字!',
  831. type: 'warning'
  832. })
  833. return
  834. }
  835. if (
  836. this.aduitlist.unitPrice&&String(this.aduitlist.unitPrice).indexOf('.') != -1 &&
  837. String(this.aduitlist.unitPrice).length -
  838. (String(this.aduitlist.unitPrice).indexOf('.') + 1) >
  839. 2||this.aduitlist.unitPrice>100000||this.aduitlist.unitPrice<1){
  840. this.$message({
  841. message: '单价输入错误',
  842. type: 'warning'
  843. })
  844. return
  845. }
  846. if (
  847. this.aduitlist.basis&&String(this.aduitlist.basis).indexOf('.') != -1 &&
  848. String(aduitlist.basis).length -
  849. (String(this.aduitlist.basis).indexOf('.') + 1) >
  850. 2||this.aduitlist.basis>10000||this.aduitlist.basis<1){
  851. this.$message({
  852. message: '基差输入错误',
  853. type: 'warning'
  854. })
  855. return
  856. }
  857. if (
  858. this.aduitlist.unloadingCharge&&String(this.aduitlist.unloadingCharge).indexOf('.') != -1 &&
  859. String(aduitlist.unloadingCharge).length -
  860. (String(this.aduitlist.unloadingCharge).indexOf('.') + 1) >
  861. 2||this.aduitlist.unloadingCharge>1000||this.aduitlist.unloadingCharge<0){
  862. this.$message({
  863. message: '卸车费用输入错误',
  864. type: 'warning'
  865. })
  866. return
  867. }
  868. this.aduitlist.unloadingCharge=-this.aduitlist.unloadingCharge
  869. this.aduitlist.basis=-this.aduitlist.basis
  870. this.dialogFormVisible4 = false
  871. this.$confirm(`审核通过后,将通知客户订单生效,是否确定通过审核?`, {
  872. confirmButtonText: '确定',
  873. cancelButtonText: '取消',
  874. type: 'warning',
  875. })
  876. .then(() => {
  877. aduitpurchase(this.aduitlist)
  878. .toPromise()
  879. .then(response => {
  880. this.$message.success('审核成功')
  881. this.getList()
  882. })
  883. })
  884. },
  885. Changepricerecord(item){
  886. this.dialogFormVisible5 = true
  887. this.pricechange=item.priceChangeRecordList
  888. },
  889. closedPosition(item){
  890. this.dialogFormVisible7 = true
  891. this.closePositionList=item.closePositionList
  892. },
  893. transactionRecord(item){
  894. this.dialogFormVisible6 = true
  895. this.transactionRecordList=item.transactionRecordList
  896. },
  897. customer(item){
  898. this.dialogFormVisible8 = true
  899. if(item.customerInfo){
  900. this.customerlist=item.customerInfo
  901. this.customerlist.cardAddressUrl1=this.customerlist.cardAddressUrl.split(',')[0]
  902. this.customerlist.cardAddressUrl2=this.customerlist.cardAddressUrl.split(',')[1]
  903. this.customerlist.payeeAddressUrl1=this.customerlist.payeeAddressUrl.split(',')[0]
  904. this.customerlist.payeeAddressUrl2=this.customerlist.payeeAddressUrl.split(',')[1]
  905. }
  906. },
  907. //成交
  908. chengjiao() {
  909. if (!this.clinchdeal1.transactionPrice) {
  910. this.$message({
  911. message: '成交价不能为空',
  912. type: 'warning'
  913. })
  914. return
  915. }
  916. this.$confirm(`确定提交成交信息`, {
  917. cancelButtonText: '取消',
  918. confirmButtonText: '确定',
  919. type: 'warning'
  920. })
  921. .then(() => {
  922. chengList({transactionRecord:this.clinchdeal1,id:this.clinchdeal.id,commonId:this.clinchdeal.commonId,compId:sessionStorage.getItem('ws-pf_compId')})
  923. .toPromise()
  924. .then((response) => {
  925. this.$message.success('成交成功')
  926. this.dialogFormVisible1 = false
  927. // this.$router.go(-1)
  928. })
  929. .catch(() => {
  930. return false
  931. })
  932. })
  933. },
  934. selectpackingType(e) {
  935. for (var i = 0; i < this.packingTypeList.length; i++) {
  936. if (this.packingTypeList[i].constValue == e) {
  937. this.dataList.packingTypeKey = this.packingTypeList[i].constKey
  938. }
  939. }
  940. },
  941. selectType(e) {
  942. for (var i = 0; i < this.invoiceList.length; i++) {
  943. if (this.invoiceList[i].constValue == e) {
  944. this.dataList.typeKey = this.invoiceList[i].constKey
  945. }
  946. }
  947. },
  948. getList() {
  949. detailsList({
  950. compId: sessionStorage.getItem('ws-pf_compId'),
  951. currentPage: this.currentPage,
  952. pageSize: this.pageSize,
  953. pcFlag: this.pcFlag,
  954. searchType: this.searchType,
  955. searchKeyWord: this.searchKeyWord,
  956. })
  957. .toPromise()
  958. .then(response => {
  959. for(var i=0;i<response.records.length;i++){
  960. response.records[i].basischange=false
  961. response.records[i].openPosition=response.records[i].cumulativeTurnover-response.records[i].closedPosition-response.records[i].stockInQuantity
  962. }
  963. this.warehouseList = response
  964. this.deptCircularPage.currentPage = response.current
  965. this.deptCircularPage.pageSize = response.size
  966. this.deptBudgetTotal = response.total
  967. })
  968. //包装方式
  969. packList({ constId: 'PRO2' })
  970. .toPromise()
  971. .then(response => {
  972. this.packingTypeList = response
  973. })
  974. // 发票
  975. packList({ constId: 'PRO5' })
  976. .toPromise()
  977. .then(response => {
  978. this.invoiceList = response
  979. })
  980. // 合同编号
  981. aduitcontractno({compId: sessionStorage.getItem('ws-pf_compId'),flag:0})
  982. .toPromise()
  983. .then(response => {
  984. this.contractNolist = response
  985. })
  986. },
  987. handleRemove(file) {
  988. console.log(file)
  989. },
  990. handlePictureCardPreview(file) {
  991. this.dialogImageUrl = file.url
  992. this.dialogVisible = true
  993. },
  994. handleDownload(file) {
  995. console.log(file)
  996. },
  997. getSpanArr(data) {
  998. let that = this
  999. //页面展示的数据,不一定是全部的数据,所以每次都清空之前存储的 保证遍历的数据是最新的数据。以免造成数据渲染混乱
  1000. that.spanArr = []
  1001. that.pos = 0
  1002. // //遍历数据
  1003. data.forEach((item, index) => {
  1004. //判断是否是第一项
  1005. if (index === 0) {
  1006. this.spanArr.push(1)
  1007. this.pos = 0
  1008. } else {
  1009. //不是第一项时,就根据标识去存储
  1010. if (data[index].warehouseNumViewList.length > 1) {
  1011. 查找到符合条件的数据时每次要把之前存储的数据 + 1
  1012. this.spanArr[this.pos] = data[index].warehouseNumViewList.length
  1013. this.spanArr.push(0)
  1014. } else {
  1015. // 没有符合的数据时,要记住当前的index
  1016. this.spanArr.push(1)
  1017. this.pos = index
  1018. }
  1019. }
  1020. })
  1021. },
  1022. //查看
  1023. handleLook(row) {
  1024. this.$router.push({
  1025. path: 'warehouseManagementPutOutLook',
  1026. query: {
  1027. relevanceId: row.relevanceId
  1028. }
  1029. })
  1030. },
  1031. //返回
  1032. revert() {
  1033. this.$router.push({ path: 'warehouseManagementList' })
  1034. },
  1035. dateFormat(fmt, date) {
  1036. let ret
  1037. const opt = {
  1038. 'Y+': date.getFullYear().toString(), // 年
  1039. 'm+': (date.getMonth() + 1).toString(), // 月
  1040. 'd+': date.getDate().toString(), // 日
  1041. 'H+': date.getHours().toString() // 时
  1042. // "M+": date.getMinutes().toString(), // 分
  1043. // "S+": date.getSeconds().toString() // 秒
  1044. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  1045. }
  1046. for (let k in opt) {
  1047. ret = new RegExp('(' + k + ')').exec(fmt)
  1048. if (ret) {
  1049. fmt = fmt.replace(
  1050. ret[1],
  1051. ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
  1052. )
  1053. }
  1054. }
  1055. return fmt
  1056. },
  1057. handleClose() {
  1058. this.accessoryTFs = false
  1059. },
  1060. handleSizeChange(val) {
  1061. console.log(`每页 ${val} 条`)
  1062. this.pageSize = val
  1063. this.getList()
  1064. },
  1065. handleCurrentChange(val) {
  1066. this.currentPage = val
  1067. console.log(`当前页: ${val}`)
  1068. this.getList()
  1069. },
  1070. editClick(row) {
  1071. var status = ''
  1072. if (row.status == '待审核' || row.status == '已完成') {
  1073. status = '执行中'
  1074. } else if (row.status == '执行中') {
  1075. status = '已完成'
  1076. }
  1077. //cancelButtonClass: "btn-custom-cancel"
  1078. this.$confirm(`是否将状态改为${status}`, {
  1079. confirmButtonText: '确定',
  1080. cancelButtonText: '取消',
  1081. type: 'warning'
  1082. })
  1083. .then(() => {
  1084. alsostate({ id: row.id })
  1085. .toPromise()
  1086. .then(response => {
  1087. this.$notify.success({
  1088. title: '成功',
  1089. message: '状态修改成功'
  1090. })
  1091. this.getList()
  1092. })
  1093. .catch(response => {
  1094. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  1095. })
  1096. })
  1097. .catch(() => {
  1098. return false
  1099. })
  1100. },
  1101. selecttaskType(e) {
  1102. for (var i = 0; i < this.taskTypeList.length; i++) {
  1103. if (this.taskTypeList[i].value == e) {
  1104. this.searchType = this.taskTypeList[i].type
  1105. }
  1106. }
  1107. },
  1108. // fujian(row) {
  1109. // if (
  1110. // row.receiveAttachmentPath === null ||
  1111. // row.receiveAttachmentPath === ''
  1112. // ) {
  1113. // EventBus.$emit(
  1114. // 'warning',
  1115. // this.$t('system.noticeCircular.NoInformation')
  1116. // )
  1117. // } else {
  1118. // this.accessoryTFs = true
  1119. // }
  1120. // this.appendixIdss = row.receiveAttachmentPath
  1121. // },
  1122. handleExamine(row) {
  1123. this.$router.push({
  1124. name: 'salesContractExamine',
  1125. query: { id: row.id }
  1126. })
  1127. },
  1128. // 关闭 dialog时 处理文件url 初始化upload组件
  1129. handleCloe() {
  1130. this.dialogViewSpareMoney = false
  1131. },
  1132. history(row) {
  1133. billoperatehis({ id: row.id })
  1134. .toPromise()
  1135. .then(response => {
  1136. this.historyList = response
  1137. })
  1138. },
  1139. //查找
  1140. find() {
  1141. this.currentPage = 1
  1142. this.getList()
  1143. },
  1144. async exportlist() {
  1145. const { data } = await export1(
  1146. {
  1147. compId: sessionStorage.getItem('ws-pf_compId'),
  1148. contractType: this.contractType,
  1149. currentPage: this.currentPage,
  1150. pageSize: this.pageSize,
  1151. searchType: this.searchType,
  1152. searchKeyWord: this.searchKeyWord,
  1153. startDate: this.startDate,
  1154. endDate: this.endDate
  1155. },
  1156. {},
  1157. { responseType: 'blob' }
  1158. ).toPromise()
  1159. downloadFile({
  1160. res: data,
  1161. fileName: `${this.date.year +
  1162. (this.date.month ? `-${this.date.month}` : '')}_采购合同`,
  1163. type: 'xls'
  1164. })
  1165. },
  1166. total() {}
  1167. }
  1168. }
  1169. </script>
  1170. <style lang="scss" scoped>
  1171. .connert {
  1172. width: 90%;
  1173. margin: 0 auto;
  1174. }
  1175. .vertical-text-left {
  1176. width: 62px;
  1177. text-align: right;
  1178. }
  1179. //分页
  1180. .el-pagination {
  1181. padding: 10px 15px;
  1182. margin-bottom: 0;
  1183. text-align: center;
  1184. }
  1185. /deep/.el-pager li.active {
  1186. color: #5878e8;
  1187. cursor: default;
  1188. }
  1189. /deep/.el-pager li:hover {
  1190. color: #5878e8;
  1191. cursor: default;
  1192. }
  1193. .el-button--primary {
  1194. background-color: #5878e8;
  1195. border-color: #5878e8;
  1196. }
  1197. .el-button--default {
  1198. color: #8890b1;
  1199. border-color: #e8eaf1;
  1200. }
  1201. /deep/.base_header_layout .grid-content.right .find.el-button--primary {
  1202. width: 30px;
  1203. margin-left: 0;
  1204. border-top-left-radius: 0px;
  1205. border-bottom-left-radius: 0px;
  1206. }
  1207. /deep/.findValue .el-input__inner {
  1208. border-top-right-radius: 0px;
  1209. border-bottom-right-radius: 0px;
  1210. width: 385px;
  1211. margin-left: 53.5%;
  1212. }
  1213. .completed.el-button--default {
  1214. border-color: #5878e8;
  1215. background-color: #f6f7fc;
  1216. color: #5878e8;
  1217. }
  1218. .putstorage.el-button--default,
  1219. .deliverystorage.el-button--default {
  1220. border-color: #8890b1;
  1221. background-color: #fff;
  1222. color: #8890b1;
  1223. }
  1224. /deep/.el-table td,
  1225. /deep/.el-table th.is-leaf {
  1226. border-right: 1px solid #e9ecf7;
  1227. text-align: center;
  1228. }
  1229. /deep/.el-table tr td:first-child,
  1230. /deep/.el-table tr th.is-leaf:first-child {
  1231. border-left: 1px solid #e9ecf7;
  1232. }
  1233. .record,
  1234. .adjustment {
  1235. display: inline-block;
  1236. color: #5878e8;
  1237. padding: 0 4px !important;
  1238. position: relative;
  1239. font-size: 14px;
  1240. }
  1241. .record:after {
  1242. position: absolute;
  1243. content: '';
  1244. display: block;
  1245. top: 5px;
  1246. right: -2px;
  1247. width: 1px;
  1248. height: 12px;
  1249. // background: #e9ecf7;
  1250. }
  1251. .base_header_layout .grid-content {
  1252. margin-top: 80px;
  1253. }
  1254. .el-input--small .el-input__inner {
  1255. margin-left: 20px;
  1256. }
  1257. .el-range-editor--small.el-input__inner {
  1258. height: 32px;
  1259. margin-left: -20%;
  1260. }
  1261. //执行样式
  1262. .executory,
  1263. .inExecution,
  1264. .done {
  1265. width: 6px;
  1266. height: 6px;
  1267. display: inline-block;
  1268. border-radius: 50%;
  1269. position: relative;
  1270. top: -1px;
  1271. font-size: 14px;
  1272. }
  1273. .executory {
  1274. background: #ff9f24;
  1275. }
  1276. .inExecution {
  1277. background: #5878e8;
  1278. }
  1279. .done {
  1280. background: #50cad4;
  1281. }
  1282. .container {
  1283. overflow: scroll;
  1284. height: 93vh;
  1285. }
  1286. .button-container {
  1287. display: flex;
  1288. flex-wrap: nowrap;
  1289. justify-content: space-between;
  1290. align-items: center;
  1291. background-color: #fff;
  1292. width: 100%;
  1293. height: 50px;
  1294. padding: 0 10px;
  1295. & > div {
  1296. margin-left: 10px;
  1297. display: flex;
  1298. flex-wrap: nowrap;
  1299. flex-direction: row;
  1300. & > span {
  1301. line-height: 50px;
  1302. }
  1303. }
  1304. /deep/.auditFlow-box {
  1305. position: unset;
  1306. margin-left: 10px;
  1307. &/deep/.auditFlow-icon {
  1308. width: auto;
  1309. padding-right: 30px;
  1310. }
  1311. &/deep/.auditFlow-main {
  1312. position: absolute;
  1313. }
  1314. }
  1315. }
  1316. .bg-left {
  1317. padding-left: 30px;
  1318. }
  1319. .title {
  1320. position: relative;
  1321. }
  1322. .title::before {
  1323. content: '';
  1324. display: inline-block;
  1325. width: 5px;
  1326. height: 30px;
  1327. background: #5473e8;
  1328. position: absolute;
  1329. left: 0;
  1330. }
  1331. .el-button--primary {
  1332. background-color: #5878e8;
  1333. border-color: #5878e8;
  1334. // margin-left: 85%;
  1335. margin-top: 20px;
  1336. }
  1337. //导航条样式
  1338. .el-col-12 {
  1339. width: 50%;
  1340. height: 60px;
  1341. background: #f6f7fc;
  1342. border-radius: 4px 4px 1px 1px;
  1343. }
  1344. .el-input--small .el-input__inner {
  1345. height: 32px;
  1346. line-height: 32px;
  1347. width: 385px;
  1348. margin-top: 10px;
  1349. }
  1350. .bg-bottom {
  1351. margin-left: 85%;
  1352. }
  1353. .but {
  1354. margin-left: 30%;
  1355. /* margin-top: -32px; */
  1356. overflow: auto;
  1357. /* float: left; */
  1358. /* margin-left: 1px; */
  1359. margin-left: -10px;
  1360. }
  1361. /deep/.el-table .el-table__header .cell,
  1362. .el-table .el-table__body .cell {
  1363. text-align: center;
  1364. }
  1365. .el-scrollbar__wrap {
  1366. overflow-y: hidden;
  1367. }
  1368. .deal {
  1369. width: 100%;
  1370. }
  1371. .photo {
  1372. padding: 0% 34%;
  1373. }
  1374. .photo1 {
  1375. padding: 0 10%;
  1376. }
  1377. .photo2 {
  1378. padding: 0 55%;
  1379. }
  1380. /deep/.el-form-item--small .el-form-item__label,
  1381. .el-form-item--small .el-form-item__content {
  1382. text-align: center;
  1383. }
  1384. hr {
  1385. width: 91%;
  1386. }
  1387. /deep/.deaal{
  1388. width: 66%;
  1389. margin-left: 9%;
  1390. }
  1391. /deep/.closeposition .el-form-item__label{
  1392. width:160px;
  1393. }
  1394. .customer .el-form-item{
  1395. border-bottom:1px solid #ccc;
  1396. }
  1397. /deep/.base_header_layout .grid-content {
  1398. border-radius: 4px;
  1399. height: 36px;
  1400. line-height: 30px;
  1401. display: -webkit-box;
  1402. display: -ms-flexbox;
  1403. display: flex;
  1404. -webkit-box-align: center;
  1405. -ms-flex-align: center;
  1406. align-items: center;
  1407. text-align: justify;
  1408. margin: 0 auto;
  1409. }
  1410. /deep/.base_header_layout .grid-content.right .find.el-button--primary {
  1411. width: 30px;
  1412. margin-left: 0;
  1413. border-top-left-radius: 0px;
  1414. border-bottom-left-radius: 0px;
  1415. margin-top: -3px;
  1416. // margin-left: -10px;
  1417. }
  1418. /deep/.typeselect .el-input__inner {
  1419. color: #8890b1;
  1420. }
  1421. .chenglu {
  1422. font-size: 14px;
  1423. font-family: PingFangSC-Medium, PingFang SC;
  1424. font-weight: 500;
  1425. color: #8890B1;
  1426. line-height: 20px;
  1427. }
  1428. // .vertical-text {
  1429. // margin: 0 10px;
  1430. // color: #8890b1;
  1431. // font-size: 12px;
  1432. // margin-top: -4px;
  1433. // }
  1434. // .vertical-circle {
  1435. // width: 10px;
  1436. // height: 10px;
  1437. // border: 2px solid #5878e8;
  1438. // background-color: #ffffff;
  1439. // -webkit-border-radius: 100px;
  1440. // }
  1441. // .vertical-circle:first-child {
  1442. // color: red;
  1443. // }
  1444. </style>