purchaseContract.vue 41 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364
  1. <!--现货采购合同-->
  2. <!--2019年5月30日 20:25:16 by jlx-->
  3. <template>
  4. <div>
  5. <BaseHeaderLayout :leftSpan="4">
  6. <template slot="left">
  7. <ws-button type="primary" @click="handleAdd()"
  8. v-hasPermission="`contractManagement.buyContract.buyContractInfo.add`">添加</ws-button>
  9. <ws-button @click="exportlist()" v-hasPermission="
  10. `contractManagement.buyContract.buyContractInfo.view`
  11. ">导出</ws-button>
  12. </template>
  13. <template slot="right">
  14. <span style="width: 205px; display: inline-block; color: #8890b1">创建人:</span>
  15. <ws-select v-model="createPersion" placeholder="可按创建人筛选" class="typeselect" @change="getList"
  16. :value="searchType">
  17. <ws-option key="全部内勤" label="全部内勤" value="" style="color: #8890b1" />
  18. <ws-option v-for="item in persionList" :key="item.staffName" :label="item.staffName" :value="item.staffName"
  19. style="color: #8890b1" />
  20. </ws-select>
  21. <span style="width: 150px; display: inline-block; color: #8890b1;margin-left: 5px;">状态:</span>
  22. <ws-select v-model="searchTypeText" placeholder="" class="typeselect" @change="selecttaskType"
  23. :value="searchType">
  24. <ws-option v-for="item in taskTypeList" :key="item.value" :label="item.value" :value="item.value"
  25. style="color: #8890b1" />
  26. </ws-select>
  27. <el-date-picker v-model="value2" type="daterange" align="right" unlink-panels range-separator="至"
  28. start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOptions">
  29. </el-date-picker>
  30. <el-input v-model="searchKeyWord" placeholder="可按照合同编号、买方名称、卖方名称进行查找" clearable maxlength="500" type="input"
  31. class="findValue" @keyup.enter.native="find()"></el-input>
  32. <ws-button class="find" type="primary" @click="find()"><img width="16" height="16" style="
  33. vertical-align: text-top;
  34. position: relative;
  35. top: 0px;
  36. left: -8px;
  37. " src="../../../public/img/sousuo.png" alt="" /></ws-button>
  38. </template>
  39. </BaseHeaderLayout>
  40. <el-table class="wenzi" :data="contractList.records" style="width: 100%; margin-top: 10px"
  41. height="calc(100% - 105px)">
  42. <el-table-column type="index" label="序号">
  43. <template scope="scope">
  44. <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
  45. <span v-else>{{ scope.$index + 1 }}</span>
  46. </template>
  47. </el-table-column>
  48. <el-table-column prop="contractNo" label="合同编号" width="150">
  49. </el-table-column>
  50. <el-table-column prop="creator" label="创建人" width="90">
  51. </el-table-column>
  52. <el-table-column prop="goodsName" label="货名" width="80">
  53. </el-table-column>
  54. <!-- <el-table-column prop="grade" label="品级" width="80">
  55. <template slot-scope="scope">
  56. <span v-if="scope.row.grade == '一等品'" class="top-grade">{{
  57. scope.row.grade
  58. }}</span>
  59. <span v-if="scope.row.grade == '二等品'" class="second-class">{{
  60. scope.row.grade
  61. }}</span>
  62. <span v-if="scope.row.grade == '三等品'" class="third-class">{{
  63. scope.row.grade
  64. }}</span>
  65. <span v-if="scope.row.grade == '等外'" class="substandard">{{
  66. scope.row.grade
  67. }}</span>
  68. </template>
  69. </el-table-column> -->
  70. <el-table-column prop="weight" label="重量(吨)"> </el-table-column>
  71. <el-table-column width='130' prop="unitContractPrice" label="合同单价(元)">
  72. </el-table-column>
  73. <!-- <el-table-column prop="packingMethod" label="包装方式"> </el-table-column> -->
  74. <el-table-column prop="buyer" label="买方"> </el-table-column>
  75. <el-table-column prop="seller" label="卖方"> </el-table-column>
  76. <el-table-column width='120' prop="completedQuantity" label="已完成(吨)">
  77. <template slot-scope="scope">
  78. <span style="color: #5473e8; font-weight: 600">{{
  79. scope.row.completedQuantity
  80. }}</span>
  81. </template>
  82. </el-table-column>
  83. <el-table-column width='150' prop="status" label="状态">
  84. <template slot-scope="scope">
  85. <div v-if="scope.row.status != '执行中' && scope.row.status != '发运结束'">
  86. <!-- <span v-if="scope.row.approveStatus">{{
  87. scope.row.approveStatus
  88. }}</span> -->
  89. <el-select v-if="scope.row.approveStatus" v-model="scope.row.approveStatus" placeholder=""
  90. class="statusselect" @change='selectstatuschange($event, scope.row)' disabled
  91. :value="scope.row.approveStatus">
  92. <el-option label="待决策人审核" value="待决策人审核" style="color: #8890b1" />
  93. </el-select>
  94. <el-select v-else v-model="scope.row.status" placeholder="" class="statusselect"
  95. :disabled="scope.row.status == '已完成' || scope.row.status == '已结算' || scope.row.status == '已驳回'"
  96. @change='selectstatuschange($event, scope.row)' :value="scope.row.status">
  97. <el-option label="待执行" value="待执行" style="color: #8890b1" />
  98. <el-option label="执行中" value="执行中" style="color: #8890b1" />
  99. </el-select>
  100. <!-- <el-popover v-else placement="left" :width="285" trigger="click" visible-arrow="false"
  101. @show="history(scope.row)">
  102. <template>
  103. <span slot="reference">
  104. <span v-if="scope.row.status == '待执行'" class="executory"></span>
  105. <span v-if="scope.row.status == '执行中'" class="inExecution"></span>
  106. <span v-if="scope.row.status == '已完成'" class="done"></span>{{ scope.row.status }}
  107. </span>
  108. </template>
  109. <div>
  110. <p style="margin-top: 0; padding-left: 10px">操作历史</p>
  111. <div v-for="(item, index) in historyList" class="flex">
  112. <div class="vertical-text vertical-text-left">
  113. {{ item.updateDate }}
  114. </div>
  115. <div>
  116. <div class="vertical-circle"></div>
  117. <div v-if="index != historyList.length - 1" class="vertical-line"></div>
  118. </div>
  119. <div class="vertical-text">
  120. {{ item.operateUser }}<br />{{ item.dealMsg }}
  121. </div>
  122. </div>
  123. </div>
  124. </el-popover>
  125. <img v-if="!scope.row.approveStatus" width="17" height="18"
  126. style="vertical-align: text-top; position: relative; top: -1px;" src="../../../public/img/edit.png"
  127. @click="editClick(scope.row)" alt="" /> -->
  128. </div>
  129. <div v-else>
  130. <!-- {{scope.row.status}} -->
  131. <el-select v-model="scope.row.status" placeholder="" class="statusselect"
  132. @change='selectstatuschange($event, scope.row)' :value="scope.row.status">
  133. <el-option v-for="item in statusList" :key="item.value" :label="item.value" :value="item.value"
  134. style="color: #8890b1" />
  135. </el-select>
  136. </div>
  137. </template>
  138. </el-table-column>
  139. <el-table-column width='120' prop="signingDate" label="签订日期"> </el-table-column>
  140. <el-table-column width='120' prop="contractExpenditure" label="粮款支出"> </el-table-column>
  141. <el-table-column width='120' prop="expenses" label="费用支出"> </el-table-column>
  142. <!-- <el-table-column width='130' prop="mildewGrain" label="已付款(元)">
  143. </el-table-column>-->
  144. <el-table-column prop="amountEdPayable" label="已付运费"> </el-table-column>
  145. <!-- <el-table-column prop="statementUrl" label="结算单">
  146. <template slot-scope="scope">
  147. <img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
  148. src="../../../public/img/fujian.png" @click="settlement(scope.row)" alt="" />
  149. <span v-if="scope.row.statementUrl != null">
  150. {{ scope.row.statementUrl? scope.row.statementUrl.split(",").length : "" }}
  151. </span>
  152. </template>
  153. </el-table-column> -->
  154. <el-table-column width='120' prop="goodsNames" label="已开发票 (元)">
  155. <template slot-scope="scope">
  156. <div v-if="!scope.row.editgoodsNames">
  157. <div class="inputChenge">
  158. <!-- readonly -->
  159. <el-input v-model="scope.row.invoiced" v-if="scope.row.identification1 == 'true'"></el-input>
  160. <div v-if="scope.row.identification1 == 'false'" class="inputs">
  161. {{ scope.row.invoiced }}
  162. </div>
  163. </div>
  164. <!-- <img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
  165. src="../../../public/img/fujian.png" @click="invoiceUploade(scope.row)" alt="" />
  166. <span v-if="scope.row.invoiceUrl != null">
  167. {{ scope.row.invoiceUrl ? scope.row.invoiceUrl.split(",").length : "" }}
  168. </span> -->
  169. <img width="17" height="18" style="vertical-align: text-top; position: relative; top: -1px"
  170. src="../../../public/img/edit.png" @click="whether(scope.row)"
  171. v-if="scope.row.identification1 == 'false'" alt="" />
  172. <i class="el-icon-check" style="line-height: 29px; margin-left: 10px"
  173. v-if="scope.row.identification1 == 'true'" @click="varietyClick(scope.row)"></i>
  174. </div>
  175. <div v-if="scope.row.editgoodsNames">
  176. <el-input class="goodsnamesinput" v-model="scope.row.invoiced" placeholder="输入累计开票金额" ></el-input>
  177. <i @click="submitgoodsNames(scope.row)" class="el-icon-check"></i>
  178. </div>
  179. </template>
  180. </el-table-column>
  181. <el-table-column prop="addressUrl" label="附件">
  182. <template slot-scope="scope">
  183. <img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
  184. src="../../../public/img/fujian.png" @click="fujian(scope.row)" alt="" />
  185. <span v-if="scope.row.addressUrlArray != null">
  186. {{
  187. scope.row.addressUrlArray.length == 0
  188. ? ''
  189. : scope.row.addressUrlArray.length
  190. }}
  191. </span>
  192. </template>
  193. </el-table-column>
  194. <el-table-column prop="address" label="操作" width="150">
  195. <template slot-scope="scope">
  196. <!-- <img width="16" height="17" style="
  197. vertical-align: text-top;
  198. position: relative;
  199. top: -1px;
  200. margin: 0 6px;
  201. " src="../../../public/img/daichu.png"
  202. v-hasPermission="
  203. `contractManagement.nonContract.nonContractInfo.view`"
  204. @click="handlecost(scope.row)" alt="" /> -->
  205. <el-link v-hasPermission="
  206. `contractManagement.buyContract.buyContractInfo.view`
  207. " target="_blank" type="primary" :underline="false" @click="handleExamine(scope.row)"
  208. >查看</el-link>
  209. <el-divider direction="vertical"></el-divider>
  210. <el-link v-hasPermission="
  211. `contractManagement.buyContract.buyContractInfo.edit`
  212. " target="_blank" type="primary" :underline="false" @click="handleEdit(scope.row)"
  213. :disabled="(scope.row.approveStatus!=null && scope.row.approveStatus!='发起人撤回')">编辑</el-link>
  214. <el-dropdown>
  215. <span class="btn_css">•••</span>
  216. <el-dropdown-menu slot="dropdown">
  217. <el-dropdown-item v-hasPermission="
  218. `contractManagement.buyContract.buyContractInfo.delete`
  219. "><el-link target="_blank" type="primary" :underline="false" @click="handleDelete(scope.row)"
  220. :disabled="(scope.row.approveStatus!=null && scope.row.approveStatus!='发起人撤回')">删除</el-link>
  221. </el-dropdown-item>
  222. <el-dropdown-item v-hasPermission="
  223. `contractManagement.buyContract.buyContractInfo.edit`
  224. ">
  225. <el-link target="_blank" type="primary" :underline="false" @click="withdraw(scope.row)"
  226. :disabled="scope.row.approveStatus && scope.row.approveStatus=='发起人撤回'||scope.row.status=='已驳回'">撤回</el-link>
  227. </el-dropdown-item>
  228. <el-dropdown-item v-hasPermission="
  229. `contractManagement.buyContract.buyContractInfo.view`
  230. ">
  231. <el-link target="_blank" type="primary" :underline="false" @click="handleaudit(scope.row)"
  232. :disabled="!scope.row.taskId">审核</el-link>
  233. </el-dropdown-item>
  234. <el-dropdown-item v-hasPermission="`contractManagement.buyContract.buyContractInfo.view`">
  235. <el-link target="_blank" type="primary" :underline="false" @click="handlecost(scope.row)">费用详情</el-link>
  236. </el-dropdown-item>
  237. <el-dropdown-item v-hasPermission="`contractManagement.buyContract.buyContractInfo.view`">
  238. <el-link target="_blank" type="primary" :underline="false" @click="handleprofit(scope.row)">利润详情</el-link>
  239. </el-dropdown-item>
  240. <el-dropdown-item v-hasPermission="`contractManagement.buyContract.buyContractInfo.view`">
  241. <el-link :disabled="scope.row.amountEdPayable=='他运'" target="_blank" type="primary" :underline="false" @click="handletransport(scope.row)">运输详情</el-link>
  242. </el-dropdown-item>
  243. </el-dropdown-menu>
  244. </el-dropdown>
  245. <!-- <ws-button v-if="scope.row.approveStatus && scope.row.approveStatus!='发起人撤回'" type="primary" @click="withdraw(scope.row)" >撤回</ws-button> -->
  246. </template>
  247. </el-table-column>
  248. </el-table>
  249. <el-pagination :page-sizes="[10, 30, 50, 100, 500, 1000, 9999]" @size-change="handleSizeChange"
  250. @current-change="handleCurrentChange" :current-page="currentPage" :page-size="deptCircularPage.pageSize"
  251. layout="total, sizes, prev, pager, next, jumper" :total="deptBudgetTotal">
  252. </el-pagination>
  253. <!-- 附件 -->
  254. <WinseaContentModal v-model="accessoryTFs" :title="$t('system.noticeCircular.information')"
  255. @on-cancel="handleClose">
  256. <div v-if="applstatus">
  257. <ws-upload ref="upload" :size-limit="size" @onChange="onChange" :comp-id="compId" :appendix-ids="appendixIdss"
  258. accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .zip, .rar"
  259. v-hasPermission="`contractManagement.buyContract.buyContractInfo.appl`" />
  260. </div>
  261. <ws-upload v-else ref="upload" :comp-id="compId" :appendix-ids="appendixIdss" :editable="false"
  262. accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" />
  263. </WinseaContentModal>
  264. <!-- 结算单 -->
  265. <!-- <WinseaContentModal v-model="countMoney" title="结算单信息"
  266. @on-cancel="handleClose">
  267. <div v-if="jiesuanstatus">
  268. <ws-upload ref="upload" :size-limit="size" @onChange="onChange1" :comp-id="compId" :appendix-ids="appendixIdss"
  269. accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .zip, .rar"
  270. v-hasPermission="`contractManagement.buyContract.buyContractInfo.jiedan`" />
  271. </div>
  272. <ws-upload v-else ref="upload" :comp-id="compId" :appendix-ids="appendixIdss" :editable="false"
  273. accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" />
  274. </WinseaContentModal> -->
  275. <!-- 上传已开发票 -->
  276. <WinseaContentModal v-model="invoiceSwitch" title="发票信息"
  277. @on-cancel="handleClose">
  278. <div v-if="fapiaostatus">
  279. <ws-upload ref="upload" :size-limit="size" @onChange="onChange2" :comp-id="compId" :appendix-ids="appendixIdss"
  280. accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .zip, .rar"
  281. v-hasPermission="`contractManagement.buyContract.buyContractInfo.fapiao`" />
  282. </div>
  283. <ws-upload v-else ref="upload" :comp-id="compId" :appendix-ids="appendixIdss" :editable="false"
  284. accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" />
  285. </WinseaContentModal>
  286. </div>
  287. </template>
  288. <script>
  289. import {
  290. getList,
  291. export1,
  292. editstatus,
  293. billoperatehis,
  294. deletecontract,
  295. editInfo,
  296. getsettlementprice,
  297. getstafffind,
  298. sponsorWithdraw,
  299. editProcessInfo
  300. } from '@/model/contarct/index'
  301. import {
  302. downloadFile
  303. } from '@/utils/batchDown'
  304. import {
  305. gettask,
  306. } from '@/model/outboundManagement/index'
  307. import { allRoles } from '@/utils/util'
  308. import { hasPermission } from '../../utils/getHasPermission'
  309. import Pagination from '@/components/Pagination'
  310. import WsUpload from '@/components/WsUpload'
  311. import {
  312. dayjs,
  313. EventBus
  314. } from 'base-core-lib'
  315. export default {
  316. name: 'viewSpareMoney',
  317. components: {
  318. WsUpload,
  319. Pagination,
  320. },
  321. watch: {
  322. vesselId(val) {
  323. this.getList()
  324. },
  325. isShow(val) {
  326. this.showType = val
  327. },
  328. },
  329. data() {
  330. return {
  331. id: '',
  332. //弹出框
  333. dialogViewSpareMoney: false,
  334. dialogApproveFormVisible: false,
  335. // 船舶类型
  336. monetaryKey: null,
  337. // 表格显示数据
  338. tableDate: [],
  339. size: 10,
  340. statusList: [{
  341. value: '已完成',
  342. }, { value: '发运结束', }],
  343. // 是否显示
  344. showType: true,
  345. // 年
  346. year: '',
  347. deliver_type: 1,
  348. deptBudgetTotal: 0,
  349. currentPage: 1,
  350. pageSize: 20,
  351. appendixIdsAdd: '',
  352. searchType: 1,
  353. searchTypeText: '未完成',
  354. searchKeyWord: '',
  355. contractType: 2,
  356. goodsType: 1,
  357. startDate: null,
  358. endDate: null,
  359. showFlag:false,
  360. addressUrls: [],
  361. accesscard: false,
  362. // 提交类型
  363. submitType: true,
  364. deptCircularPage: {},
  365. date: {
  366. year: dayjs().format('YYYY'),
  367. month: dayjs().format('MM'),
  368. },
  369. contractList: [],
  370. deptBudgetList: {},
  371. historyList: [],
  372. appendixIdss: [],
  373. fileList: [],
  374. compId: localStorage.getItem('ws-pf_compId'),
  375. pickerBeginDateBefore: {
  376. disabledDate: (time) => {
  377. return time.getTime() > Date.now()
  378. },
  379. },
  380. accessoryTFs: false,//附件
  381. countMoney:false,//结算单
  382. invoiceSwitch:false,//发票上传
  383. taskTypeList: [{
  384. value: '未完成',
  385. type: 1,
  386. },
  387. {
  388. value: '已完成',
  389. type: 2,
  390. },
  391. {
  392. value: '审批中',
  393. type: 4,
  394. },
  395. {
  396. value: '全部合同',
  397. type: '',
  398. },
  399. ],
  400. pickerOptions: {
  401. shortcuts: [{
  402. text: '本周',
  403. onClick(picker) {
  404. const end = new Date()
  405. const start = new Date()
  406. var thisDay = start.getDay()
  407. var thisDate = start.getDate()
  408. if (thisDay != 0) {
  409. start.setDate(thisDate - thisDay)
  410. }
  411. picker.$emit('pick', [start, end])
  412. },
  413. },
  414. {
  415. text: '本月',
  416. onClick(picker) {
  417. const end = new Date()
  418. const start = new Date()
  419. start.setDate(1)
  420. picker.$emit('pick', [start, end])
  421. },
  422. },
  423. {
  424. text: '本季度',
  425. onClick(picker) {
  426. var oDate = new Date()
  427. var thisYear = oDate.getFullYear()
  428. var thisMonth = oDate.getMonth() + 1
  429. var n = Math.ceil(thisMonth / 3) // 季度
  430. var Month = n * 3 - 1
  431. var start = new Date(thisYear, Month - 2, 1)
  432. var end = new Date()
  433. picker.$emit('pick', [start, end])
  434. },
  435. },
  436. ],
  437. },
  438. applstatus: false,
  439. jiesuanstatus:false,
  440. fapiaostatus:false,
  441. value1: '',
  442. value2: '',
  443. createPersion: '',//创建人
  444. persionList: [],
  445. }
  446. },
  447. activated() {
  448. console.log(allRoles())
  449. this.applstatus = hasPermission('contractManagement.buyContract.buyContractInfo.appl')
  450. this.jiesuanstatus = hasPermission('contractManagement.buyContract.buyContractInfo.jiedan')
  451. this.fapiaostatus = hasPermission('contractManagement.buyContract.buyContractInfo.fapiao')
  452. console.log(this.applstatus)
  453. //cg.viewBudget
  454. //cg.viewSpareMoney
  455. // this.getVesselData();
  456. this.getList()
  457. this.showType = this.isShow
  458. this.persionXiaLa()
  459. },
  460. methods: {
  461. submitgoodsNames(row){
  462. console.log(row)
  463. if(row.invoiced<0){
  464. this.$notify.warning({
  465. title: '警告',
  466. message: '发票金额输入错误',
  467. })
  468. }
  469. var dataobj={}
  470. dataobj.id=row.id
  471. dataobj.flag=3
  472. dataobj.invoiced=row.invoiced
  473. editInfo(dataobj)
  474. .toPromise()
  475. .then((response) => {
  476. this.$message.success('修改成功')
  477. this.getList()
  478. })
  479. },
  480. whether(row) {
  481. row.identification1 = 'true'
  482. },
  483. //修改开票金额
  484. varietyClick(row) {
  485. var title = ''
  486. var data = {}
  487. title = '确定要修改已开发票金额?'
  488. data = {
  489. goodsName: row.invoiced,
  490. id: row.id
  491. }
  492. this.$confirm(title, {
  493. confirmButtonText: '确定',
  494. cancelButtonText: '取消',
  495. type: 'warning',
  496. })
  497. .then(() => {
  498. editProcessInfo(data)
  499. .toPromise()
  500. .then((response) => {
  501. this.$notify.success({
  502. title: '成功',
  503. message: '修改成功',
  504. })
  505. this.getList()
  506. })
  507. .catch(() => {
  508. return false
  509. })
  510. })
  511. },
  512. persionXiaLa() {
  513. getstafffind({
  514. roles: 'b96299bb5dcf461e916b72b64c6943b0'
  515. })
  516. .toPromise()
  517. .then((response) => {
  518. this.persionList = response
  519. })
  520. },
  521. withdraw(row) {
  522. this.$confirm(`撤回成功后,可再次提交,确定撤回该合同吗?`, {
  523. cancelButtonText: '取消',
  524. confirmButtonText: '确定',
  525. type: 'warning',
  526. }).then(() => {
  527. sponsorWithdraw({
  528. workflowId: row.workflowId,
  529. businessKey: row.id,
  530. }).toPromise()
  531. .then((response) => {
  532. this.$message.success('撤回成功')
  533. this.getList()
  534. })
  535. })
  536. },
  537. // handlecost(row) {
  538. // this.$router.push({
  539. // name: 'buyContractcost',
  540. // query: {
  541. // id: row.id,
  542. // contractNo: row.contractNo,
  543. // status: row.status,
  544. // seller: row.seller
  545. // },
  546. // })
  547. // },
  548. onChange() {
  549. this.$refs.upload
  550. .handleSaveBill()
  551. .then(async (response) => {
  552. this.deptBudgetList.addressUrl = response
  553. this.deptBudgetList.id = this.id
  554. this.deptBudgetList.flag = 1
  555. editInfo(this.deptBudgetList)
  556. .toPromise()
  557. .then((response) => {
  558. this.accessoryTFs = false
  559. this.$message.success('上传成功')
  560. this.getList()
  561. })
  562. })
  563. .catch((res) => {
  564. EventBus.$emit('error', (JSON.parse(res) || {}).message)
  565. this.$refs.upload.clearFiles()
  566. })
  567. },
  568. onChange1() {
  569. this.$refs.upload
  570. .handleSaveBill()
  571. .then(async (response) => {
  572. this.deptBudgetList.statementUrl = response
  573. this.deptBudgetList.id = this.id
  574. this.deptBudgetList.flag = 1
  575. editInfo(this.deptBudgetList)
  576. .toPromise()
  577. .then((response) => {
  578. this.countMoney = false
  579. this.$message.success('上传成功')
  580. this.getList()
  581. })
  582. })
  583. .catch((res) => {
  584. EventBus.$emit('error', (JSON.parse(res) || {}).message)
  585. this.$refs.upload.clearFiles()
  586. })
  587. },
  588. onChange2() {
  589. this.$refs.upload
  590. .handleSaveBill()
  591. .then(async (response) => {
  592. this.deptBudgetList.invoiceUrl = response
  593. this.deptBudgetList.id = this.id
  594. this.deptBudgetList.flag = 1
  595. editInfo(this.deptBudgetList)
  596. .toPromise()
  597. .then((response) => {
  598. this.invoiceSwitch = false
  599. this.$message.success('上传成功')
  600. this.getList()
  601. })
  602. })
  603. .catch((res) => {
  604. EventBus.$emit('error', (JSON.parse(res) || {}).message)
  605. this.$refs.upload.clearFiles()
  606. })
  607. },
  608. dateFormat(fmt, date) {
  609. let ret
  610. const opt = {
  611. 'Y+': date.getFullYear().toString(), // 年
  612. 'm+': (date.getMonth() + 1).toString(), // 月
  613. 'd+': date.getDate().toString(), // 日
  614. 'H+': date.getHours().toString(), // 时
  615. // "M+": date.getMinutes().toString(), // 分
  616. // "S+": date.getSeconds().toString() // 秒
  617. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  618. }
  619. for (let k in opt) {
  620. ret = new RegExp('(' + k + ')').exec(fmt)
  621. if (ret) {
  622. fmt = fmt.replace(
  623. ret[1],
  624. ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
  625. )
  626. }
  627. }
  628. return fmt
  629. },
  630. handleClose() {
  631. this.dialogViewSpareMoney = false
  632. this.countMoney = false
  633. this.invoiceSwitch = false
  634. },
  635. async selectstatuschange(e, row) {
  636. var data = {}
  637. var text = `是否将状态改为${e}`
  638. // if(e!='已完成'){
  639. // this.$confirm(text, {
  640. // confirmButtonText: '确定',
  641. // cancelButtonText: '取消',
  642. // type: 'warning',
  643. // })
  644. // .then(() => {
  645. // editstatus(data)
  646. // .toPromise()
  647. // .then((response) => {
  648. // this.$notify.success({
  649. // title: '成功',
  650. // message: '状态修改成功',
  651. // })
  652. // this.getList()
  653. // })
  654. // .catch((response) => {
  655. // row.status = row.currectstatus
  656. // // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  657. // })
  658. // })
  659. // .catch(() => {
  660. // row.status = row.currectstatus
  661. // return false
  662. // })
  663. // }else{
  664. if (e == '发运结束') {
  665. data = { id: row.id, endFlag: 1 }
  666. } else if (e == '已完成') {
  667. var response=await getsettlementprice({ contractNo: row.contractNo }).toPromise().catch(()=>{
  668. row.status = row.currectstatus
  669. return
  670. })
  671. if(row.status=='执行中'){
  672. return
  673. }
  674. data = { id: row.id, settlementPrice: response}
  675. text = `合同单价${response}元/吨,确定合同已完成?`
  676. } else {
  677. data = { id: row.id }
  678. }
  679. this.$confirm(text, {
  680. confirmButtonText: '确定',
  681. cancelButtonText: '取消',
  682. type: 'warning',
  683. })
  684. .then(() => {
  685. editstatus(data)
  686. .toPromise()
  687. .then((response) => {
  688. this.$notify.success({
  689. title: '成功',
  690. message: '状态修改成功',
  691. })
  692. this.getList()
  693. })
  694. .catch((response) => {
  695. row.status = row.currectstatus
  696. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  697. })
  698. })
  699. .catch(() => {
  700. row.status = row.currectstatus
  701. return false
  702. })
  703. // }
  704. },
  705. handleSizeChange(val) {
  706. console.log(`每页 ${val} 条`)
  707. this.pageSize = val
  708. this.getList()
  709. },
  710. handleCurrentChange(val) {
  711. this.currentPage = val
  712. console.log(`当前页: ${val}`)
  713. this.getList()
  714. },
  715. getList() {
  716. getList({
  717. compId: localStorage.getItem('ws-pf_compId'),
  718. contractType: this.contractType,
  719. goodsType: this.goodsType,
  720. currentPage: this.currentPage,
  721. pageSize: this.pageSize,
  722. searchType: this.searchType,
  723. searchKeyWord: this.searchKeyWord,
  724. startDate: this.startDate,
  725. endDate: this.endDate,
  726. contrPage: this.contrPage,
  727. creator:this.createPersion
  728. })
  729. .toPromise()
  730. .then((response) => {
  731. for (var i = 0; i < response.records.length; i++) {
  732. response.records[i].identification1 = 'false'
  733. if (response.records[i].status) {
  734. response.records[i].currectstatus = response.records[i].status
  735. }
  736. if (response.records[i].completedQuantity) {
  737. response.records[i].completedQuantity = response.records[i].completedQuantity.toFixed(3)
  738. }
  739. if (response.records[i].addressUrl != null) {
  740. if (response.records[i].addressUrl) {
  741. response.records[i].addressUrlArray =
  742. response.records[i].addressUrl.split(',')
  743. }
  744. } else {
  745. response.records[i].addressUrlArray = []
  746. }
  747. if (response.records[i].creator == localStorage.getItem('ws-pf_staffName')) {
  748. response.records[i].showFlag = true
  749. }
  750. }
  751. this.deptCircularPage.currentPage = response.current
  752. this.deptCircularPage.pageSize = response.size
  753. this.deptBudgetTotal = response.total
  754. this.contractList = response
  755. for (var i = 0; i < response.records.length; i++) {
  756. var arr = new Array()
  757. this.addressUrls[i] = new Array()
  758. if (this.contractList.records[i].addressUrl != null) {
  759. arr = this.contractList.records[i].addressUrl.split(',')
  760. this.addressUrls[i] = arr
  761. }
  762. }
  763. })
  764. },
  765. // 上传附件
  766. uploadSuccess(data, files, url) {
  767. console.log(data, files, url)
  768. // this.deptBudgetList.
  769. // this.formData.append('files', files)
  770. // this.feedbackObj.uploadNameAttachment = data.appendixName
  771. // this.feedbackObj.pathUploadAttachment = data.appendixPath
  772. // // this.newAppendixs = files
  773. // this.onChangeFlag = true
  774. },
  775. editClick(row) {
  776. var status = ''
  777. if (row.status == '待执行' || row.status == '已完成') {
  778. status = '执行中'
  779. } else if (row.status == '执行中' || row.status == '发运结束') {
  780. status = '已完成'
  781. }
  782. this.$confirm(`是否将状态改为${status}`, '提示', {
  783. confirmButtonText: '确定',
  784. cancelButtonText: '取消',
  785. type: 'warning',
  786. })
  787. .then(() => {
  788. editstatus({
  789. id: row.id,
  790. })
  791. .toPromise()
  792. .then((response) => {
  793. this.$notify.success({
  794. title: '成功',
  795. message: '状态修改成功',
  796. })
  797. this.getList()
  798. })
  799. .catch((response) => {
  800. // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  801. })
  802. })
  803. .catch(() => {
  804. return false
  805. })
  806. },
  807. selecttaskType(e) {
  808. for (var i = 0; i < this.taskTypeList.length; i++) {
  809. if (this.taskTypeList[i].value == e) {
  810. this.searchType = this.taskTypeList[i].type
  811. this.find()
  812. }
  813. }
  814. },
  815. fujian(row) {
  816. this.id = row.id
  817. this.accessoryTFs = true
  818. this.appendixIdss = row.addressUrl
  819. console.log(this.appendixIdss)
  820. },
  821. settlement(row){
  822. this.id = row.id
  823. this.countMoney = true
  824. this.appendixIdss = row.statementUrl
  825. },
  826. invoiceUploade(row){
  827. this.id = row.id
  828. this.invoiceSwitch = true
  829. this.appendixIdss = row.invoiceUrl
  830. },
  831. handleExamine(row) {
  832. console.log(row)
  833. this.$router.push({
  834. name: 'purchaseContractExamine',
  835. query: {
  836. id: row.id,
  837. status: row.status,
  838. },
  839. })
  840. },
  841. handleAdd() {
  842. this.$router.push({
  843. path: 'purchaseContractAdd',
  844. })
  845. },
  846. handleEdit(row) {
  847. this.$router.push({
  848. name: 'purchaseContractEdit',
  849. query: {
  850. id: row.id,
  851. },
  852. })
  853. },
  854. handleaudit(row) {
  855. this.$router.push({
  856. name: 'purchaseContractAudit',
  857. query: {
  858. id: row.id,
  859. status: row.status,
  860. },
  861. })
  862. },
  863. handlecost(row) {
  864. this.$router.push({
  865. name: 'expensemanagementdetails',
  866. query: {
  867. contractNo: row.contractNo,
  868. },
  869. })
  870. },
  871. handleprofit(row) {
  872. this.$router.push({
  873. name: 'contractprofits',
  874. query: {
  875. contractNo: row.contractNo,
  876. },
  877. })
  878. },
  879. handletransport(row) {
  880. gettask({contractNo:row.contractNo,compId:localStorage.getItem('ws-pf_compId')}).toPromise().then((response) => {
  881. if(!response||response==0){
  882. this.$message({
  883. message: '联系内勤创建运输任务',
  884. type: 'warning',
  885. });
  886. }else{
  887. this.$router.push({
  888. name: 'autoSettlementList',
  889. query: {
  890. contractNo: row.contractNo,
  891. },
  892. })
  893. }
  894. })
  895. },
  896. // 关闭 dialog时 处理文件url 初始化upload组件
  897. history(row) {
  898. console.log(row)
  899. billoperatehis({
  900. id: row.id,
  901. })
  902. .toPromise()
  903. .then((response) => {
  904. this.historyList = response
  905. })
  906. },
  907. find() {
  908. if (this.value2) {
  909. this.startDate = this.dateFormat('YYYY-mm-dd', this.value2[0])
  910. this.endDate = this.dateFormat('YYYY-mm-dd', this.value2[1])
  911. } else {
  912. this.startDate = ''
  913. this.endDate = ''
  914. }
  915. this.currentPage = 1
  916. this.getList()
  917. },
  918. async exportlist() {
  919. const {
  920. data
  921. } = await export1({
  922. compId: localStorage.getItem('ws-pf_compId'),
  923. contractType: this.contractType,
  924. goodsType: this.goodsType,
  925. currentPage: this.currentPage,
  926. pageSize: this.pageSize,
  927. searchType: this.searchType,
  928. searchKeyWord: this.searchKeyWord,
  929. startDate: this.startDate,
  930. endDate: this.endDate,
  931. }, {}, {
  932. responseType: 'blob',
  933. }).toPromise()
  934. downloadFile({
  935. res: data,
  936. fileName: `${this.date.year + (this.date.month ? `-${this.date.month}` : '')
  937. }_采购合同`,
  938. type: 'xls',
  939. })
  940. },
  941. // deletecontract(){},
  942. //删除
  943. handleDelete(row) {
  944. var text = ''
  945. if (row.deliverType == 1) {
  946. text =
  947. '删除该合同将同时永久删除合同对应的临时仓库相关数据,是否确定删除?'
  948. } else {
  949. text = '合同删除后不可恢复,是否继续删除?'
  950. }
  951. this.$confirm(text, '提示', {
  952. confirmButtonText: '确定',
  953. cancelButtonText: '取消',
  954. type: 'warning',
  955. })
  956. .then(() => {
  957. deletecontract({
  958. id: row.id,
  959. })
  960. .toPromise()
  961. .then((response) => {
  962. this.$notify.success({
  963. title: '成功',
  964. message: '删除成功',
  965. })
  966. this.getList()
  967. })
  968. .catch((response) => { })
  969. })
  970. .catch(() => {
  971. return false
  972. })
  973. },
  974. },
  975. }
  976. </script>
  977. <style lang="scss" scoped>
  978. .vertical-text-left {
  979. width: 62px;
  980. text-align: right;
  981. }
  982. .flex {
  983. display: flex;
  984. }
  985. .el-range-editor.el-input__inner {
  986. margin-left: 10px;
  987. }
  988. /deep/.base_header_layout .grid-content.right .find.el-button--primary {
  989. width: 30px;
  990. margin-left: -10px;
  991. border-top-left-radius: 0px;
  992. border-bottom-left-radius: 0px;
  993. }
  994. .el-button--primary {
  995. background-color: #5878e8;
  996. border-color: #5878e8;
  997. }
  998. .el-button--default {
  999. border: 1px solid #5473e8;
  1000. color: #5473e8;
  1001. }
  1002. // .warning {
  1003. // width: 100%;
  1004. // height: 2px;
  1005. // background: red;
  1006. // }
  1007. .executory,
  1008. .inExecution,
  1009. .done {
  1010. width: 6px;
  1011. height: 6px;
  1012. display: inline-block;
  1013. border-radius: 50%;
  1014. position: relative;
  1015. top: -1px;
  1016. }
  1017. .executory {
  1018. background: #ff9f24;
  1019. }
  1020. .inExecution {
  1021. background: #5878e8;
  1022. }
  1023. .done {
  1024. background: #50cad4;
  1025. }
  1026. // .top-grade {
  1027. // background: linear-gradient(90deg, #5678e9, #7993f6);
  1028. // color: #fff;
  1029. // padding: 3px;
  1030. // border-radius: 2px;
  1031. // }
  1032. // .second-class {
  1033. // background: linear-gradient(90deg, #50cdd9, #82e2ea);
  1034. // color: #fff;
  1035. // padding: 3px;
  1036. // border-radius: 2px;
  1037. // }
  1038. // .third-class {
  1039. // background: linear-gradient(90deg, #ffa735, #ffbf70);
  1040. // color: #fff;
  1041. // padding: 3px;
  1042. // border-radius: 2px;
  1043. // }
  1044. // .substandard {
  1045. // background: linear-gradient(90deg, #b2b4bb, #ced0d5);
  1046. // color: #fff;
  1047. // padding: 3px;
  1048. // border-radius: 2px;
  1049. // }
  1050. .wrap {
  1051. width: 400px;
  1052. position: absolute;
  1053. top: 131px;
  1054. left: 794px;
  1055. transform-origin: right center;
  1056. z-index: 2005;
  1057. }
  1058. .vertical-line {
  1059. height: 64px;
  1060. border-left: 2px solid #e9ecf7;
  1061. margin-left: 4px;
  1062. padding: 0 3px;
  1063. // border-image: -webkit-linear-gradient(#00eba7, #08b8e6) 30 30;
  1064. // border-image: -moz-linear-gradient(#00eba7, #08b8e6) 30 30;
  1065. // border-image: linear-gradient(#00eba7, #08b8e6) 30 30;
  1066. }
  1067. .el-pagination {
  1068. padding: 10px 15px;
  1069. margin-bottom: 0;
  1070. text-align: center;
  1071. }
  1072. /deep/.el-pager li.active {
  1073. color: #5878e8;
  1074. cursor: default;
  1075. }
  1076. /deep/.el-pager li:hover {
  1077. color: #5878e8;
  1078. cursor: default;
  1079. }
  1080. .vertical-circle {
  1081. width: 10px;
  1082. height: 10px;
  1083. border: 2px solid #5878e8;
  1084. background-color: #ffffff;
  1085. -webkit-border-radius: 100px;
  1086. }
  1087. .vertical-circle:first-child {
  1088. color: red;
  1089. }
  1090. .vertical-text {
  1091. margin: 0 10px;
  1092. color: #8890b1;
  1093. font-size: 12px;
  1094. margin-top: -4px;
  1095. }
  1096. /deep/.el-table .el-table__header .cell,
  1097. /deep/.el-table .el-table__body .cell {
  1098. text-align: center;
  1099. }
  1100. .typeselect {
  1101. width: 500px;
  1102. }
  1103. .padding-xs {
  1104. padding: 15px;
  1105. text-align: right;
  1106. }
  1107. .clearfix:after {
  1108. content: '';
  1109. display: block;
  1110. clear: both;
  1111. }
  1112. .el-table {
  1113. font-size: 16px;
  1114. }
  1115. .taskType {
  1116. width: 100%;
  1117. background-color: #fff;
  1118. margin-top: 2px;
  1119. margin-bottom: 10px;
  1120. list-style: none;
  1121. // padding-bottom: 20px;
  1122. li {
  1123. float: left;
  1124. border: 1px solid #6ea0f3;
  1125. border-radius: 5px;
  1126. max-width: 190px;
  1127. padding: 0 5px;
  1128. text-align: center;
  1129. margin: 10px 20px;
  1130. cursor: pointer;
  1131. font-size: 14px;
  1132. p {
  1133. margin: 8px 0px;
  1134. span {
  1135. color: #e74c3c;
  1136. }
  1137. }
  1138. }
  1139. li:hover {
  1140. background-color: #e4eeff;
  1141. color: #1d6ced;
  1142. }
  1143. }
  1144. .el-date-editor--date {
  1145. margin: 0 10px;
  1146. }
  1147. .findValue {
  1148. margin: 0 10px;
  1149. }
  1150. .inputChenge {
  1151. width: 100%;
  1152. display: inline-flex;
  1153. margin-left: -28%;
  1154. }
  1155. .inputs {
  1156. margin: 0 auto;
  1157. }
  1158. /deep/.findValue .el-input__inner {
  1159. border-top-right-radius: 0px;
  1160. border-bottom-right-radius: 0px;
  1161. }
  1162. // .button-container {
  1163. // display: flex;
  1164. // flex-wrap: nowrap;
  1165. // justify-content: space-between;
  1166. // align-items: center;
  1167. // background-color: #fff;
  1168. // width: 100%;
  1169. // height: 50px;
  1170. // padding: 0 10px;
  1171. // &>div {
  1172. // margin-left: 10px;
  1173. // display: flex;
  1174. // flex-wrap: nowrap;
  1175. // flex-direction: row;
  1176. // &>span {
  1177. // line-height: 50px;
  1178. // }
  1179. // }
  1180. // /deep/.auditFlow-box {
  1181. // position: unset;
  1182. // margin-left: 10px;
  1183. // &/deep/.auditFlow-icon {
  1184. // width: auto;
  1185. // padding-right: 30px;
  1186. // }
  1187. // &/deep/.auditFlow-main {
  1188. // position: absolute;
  1189. // }
  1190. // }
  1191. // }
  1192. // .box-app {
  1193. // display: inline-block;
  1194. // float: left;
  1195. // margin-left: 30px;
  1196. // line-height: 50px;
  1197. // }
  1198. /deep/.el-dialog {
  1199. .el-form-item {
  1200. margin-bottom: 0 !important;
  1201. .el-input--medium {
  1202. textarea {
  1203. min-height: 100px !important;
  1204. }
  1205. }
  1206. }
  1207. }
  1208. .collapse-bottom {
  1209. margin-bottom: 20px;
  1210. }
  1211. .input-main .textarea .el-textarea__inner {
  1212. width: 100%;
  1213. z-index: 1;
  1214. }
  1215. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  1216. /* height: 82px;*/
  1217. /*}*/
  1218. // 控制select为只读的时候显示样式
  1219. // .hide-sel {
  1220. // .el-input__inner {
  1221. // border: 0px;
  1222. // }
  1223. // .el-icon-arrow-up {
  1224. // display: none;
  1225. // }
  1226. // .el-textarea__inner {
  1227. // background-color: #fff !important;
  1228. // border: 0;
  1229. // }
  1230. // .el-date-editor {
  1231. // i {
  1232. // display: none;
  1233. // }
  1234. // }
  1235. // .is-disabled {
  1236. // .el-input__inner:hover {
  1237. // background-color: #fff !important;
  1238. // border: 0;
  1239. // }
  1240. // color: #606266;
  1241. // .el-input__inner {
  1242. // background-color: #fff !important;
  1243. // border: 0;
  1244. // color: #606266;
  1245. // }
  1246. // .el-textarea__inner {
  1247. // background-color: #fff !important;
  1248. // border: 0;
  1249. // color: #606266;
  1250. // }
  1251. // }
  1252. // }
  1253. // 控制select为只读的时候显示样式
  1254. /deep/.ws-class-table-col {
  1255. height: auto;
  1256. padding: 0px 2px;
  1257. /deep/.el-input__inner {
  1258. padding: 0px 2px;
  1259. }
  1260. }
  1261. /deep/.is-disabled {
  1262. .el-input__prefix,
  1263. .el-input__suffix {
  1264. display: none;
  1265. }
  1266. .el-input__inner {
  1267. background-color: #fff;
  1268. border-color: #fff !important;
  1269. color: #000 !important;
  1270. font-size: 14px;
  1271. cursor: text;
  1272. padding: 0 !important;
  1273. }
  1274. }
  1275. /deep/.typeselect .el-input__inner {
  1276. color: #8890b1;
  1277. }
  1278. /deep/.statusselect .el-input__inner {
  1279. color: #8890b1;
  1280. width: 100%;
  1281. }
  1282. .btn_css {
  1283. color: #409eff;
  1284. cursor: pointer;
  1285. position:relative;
  1286. top:2px;
  1287. }
  1288. </style>