warehouseManagementRecord.vue 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992
  1. <template>
  2. <div class="container">
  3. <el-row>
  4. <el-col :span="18">
  5. <h2 class="bg-left title">流转记录</h2>
  6. </el-col>
  7. <el-col :span="6" class="bg-right">
  8. <el-button
  9. class="bg-bottom adjustment"
  10. type="primary"
  11. size="small"
  12. @click="iossrecord()"
  13. v-show="this.warehouseType != 2"
  14. >盘损记录</el-button
  15. >
  16. <el-button
  17. class="bg-bottom"
  18. type="primary"
  19. size="small"
  20. @click="returnWarehouse()"
  21. >返回</el-button
  22. >
  23. </el-col>
  24. </el-row>
  25. <div class="center">
  26. <h2 style="padding-left: 20px">
  27. <img
  28. style="position: relative; top: 2px"
  29. width="19"
  30. height="19"
  31. src="../../../public/img/cangku.png"
  32. alt=""
  33. />
  34. <span style="color: #323233">{{ deptBudgetList.warehouseName }}</span>
  35. <span class="ware" v-show="warehouseType==1">{{binNumber}}仓位(容量{{capacity}}吨)</span>
  36. <span v-show="warehouseType==2">(临)</span>
  37. </h2>
  38. <p
  39. style="
  40. margin-left: 42px;
  41. background: #f6f7fc;
  42. color: #afb5cb;
  43. width: 245px;
  44. "
  45. >
  46. 备注:{{remark }}
  47. </p>
  48. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  49. <div
  50. class="record"
  51. :class="{ active: status == 1 }"
  52. @click="record('', 1)"
  53. >
  54. <img
  55. v-if="status != 1"
  56. width="14"
  57. height="14"
  58. src="../../../public/img/radio.png"
  59. alt=""
  60. />
  61. <img
  62. v-if="status == 1"
  63. width="18"
  64. height="18"
  65. src="../../../public/img/radio-check.png"
  66. alt=""
  67. />全部记录
  68. </div>
  69. <div
  70. class="record"
  71. :class="{ active: status == 2 }"
  72. @click="record(2, 2)"
  73. >
  74. <img
  75. v-if="status != 2"
  76. width="14"
  77. height="14"
  78. src="../../../public/img/radio.png"
  79. alt=""
  80. />
  81. <img
  82. v-if="status == 2"
  83. width="18"
  84. height="18"
  85. src="../../../public/img/radio-check.png"
  86. alt=""
  87. />出库记录
  88. </div>
  89. <div
  90. class="record"
  91. :class="{ active: status == 3 }"
  92. @click="record(3, 3)"
  93. >
  94. <img
  95. v-if="status != 3"
  96. width="14"
  97. height="14"
  98. src="../../../public/img/radio.png"
  99. alt=""
  100. />
  101. <img
  102. v-if="status == 3"
  103. width="18"
  104. height="18"
  105. src="../../../public/img/radio-check.png"
  106. alt=""
  107. />入库记录
  108. </div>
  109. <el-table :data="warehouseList.records" height="560" v-show="this.warehouseType== '1'">
  110. <el-table-column type="expand">
  111. <template #default="props">
  112. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  113. <ws-info-table>
  114. <ws-form-item label="水分(%)<=" span="1" prop="waterContent">
  115. {{ props.row.waterContent }}
  116. </ws-form-item>
  117. <ws-form-item label="容重(g/l)>=" span="1" prop="bulkDensity">
  118. {{ props.row.bulkDensity }}
  119. </ws-form-item>
  120. <ws-form-item label="热损伤(%)<=" span="1" prop="jiaorenli">
  121. {{ props.row.jiaorenli }}
  122. </ws-form-item>
  123. <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
  124. {{ props.row.impurity }}
  125. </ws-form-item>
  126. <ws-form-item label="霉变粒(%)<=" span="1" prop="mildewGrain">
  127. {{ props.row.mildewGrain }}
  128. </ws-form-item>
  129. <ws-form-item
  130. label="不完善粒(%)<="
  131. span="1"
  132. prop="imperfectGrain"
  133. >
  134. {{ props.row.imperfectGrain }}
  135. </ws-form-item>
  136. <ws-form-item label="质检员" span="1" prop="qualityInspector">
  137. {{ props.row.qualityInspector }}
  138. </ws-form-item>
  139. <ws-form-item label="扣重比" span="1" prop="buckleWeightRatio">
  140. {{ props.row.buckleWeightRatio }}
  141. </ws-form-item>
  142. <ws-form-item label="干粮水分(%)" span="1" prop="solidGrainWater">
  143. {{ props.row.solidGrainWater }}
  144. </ws-form-item>
  145. </ws-info-table>
  146. </ws-form>
  147. </template>
  148. </el-table-column>
  149. <el-table-column type="index" label="序号">
  150. <template scope="scope">
  151. <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
  152. <span v-else>{{ scope.$index + 1 }}</span>
  153. </template>
  154. </el-table-column>
  155. <el-table-column prop="goodsName" label="货名"> </el-table-column>
  156. <el-table-column
  157. prop="grossWeight"
  158. label="毛重(吨)"
  159. ></el-table-column>
  160. <el-table-column prop="tare" label="皮重(吨)"> </el-table-column>
  161. <el-table-column prop="deductionWeight" label="扣重(吨)"> </el-table-column>
  162. <el-table-column
  163. prop="netWeight"
  164. label="净重(吨)"
  165. ></el-table-column>
  166. <el-table-column prop="pureWeight" label="纯重(吨)"> </el-table-column>
  167. <el-table-column prop="deductionAmount" label="扣款(元/吨)"> </el-table-column>
  168. <el-table-column prop="grade" label="品级">
  169. <template slot-scope="scope">
  170. <span v-if="scope.row.grade == '一等品'" class="top-grade">{{
  171. scope.row.grade
  172. }}</span>
  173. <span v-if="scope.row.grade == '二等品'" class="second-class">{{
  174. scope.row.grade
  175. }}</span>
  176. <span v-if="scope.row.grade == '三等品'" class="third-class">{{
  177. scope.row.grade
  178. }}</span>
  179. <span v-if="scope.row.grade == '等外'" class="substandard">{{
  180. scope.row.grade
  181. }}</span>
  182. </template>
  183. </el-table-column>
  184. <el-table-column prop="inOutDate" label="出入库日期">
  185. <template slot-scope="scope">
  186. <span style="color: #8890b1">{{ scope.row.inOutDate }}</span>
  187. </template>
  188. </el-table-column>
  189. <el-table-column prop="inOutType" label="类型"> </el-table-column>
  190. <el-table-column prop="contractNo" label="合同编号">
  191. <template slot-scope="scope">
  192. <span style="color: #8890b1">{{ scope.row.contractNo }}</span>
  193. </template>
  194. </el-table-column>
  195. <el-table-column prop="carNo" label="车牌号">
  196. <template slot-scope="scope">
  197. <span style="color: #8890b1">{{ scope.row.carNo }}</span>
  198. </template>
  199. </el-table-column>
  200. <el-table-column prop="agent" label="经办人">
  201. </el-table-column>
  202. <el-table-column prop="buyer" label="操作人">
  203. </el-table-column>
  204. <el-table-column prop="addressUrl" label="附件">
  205. <template slot-scope="scope">
  206. <img
  207. width="18"
  208. height="20"
  209. style="vertical-align: text-top; position: relative; top: -1px"
  210. src="../../../public/img/fujian.png"
  211. @click="fujian(scope.row)"
  212. alt=""
  213. />
  214. <!-- <span v-if="scope.row.addressUrlArray.length > 0">{{
  215. scope.row.addressUrlArray.length
  216. }}</span> -->
  217. <!-- <i @click="fujian(scope.row)" class="el-icon-paperclip iconCss"></i> -->
  218. </template>
  219. </el-table-column>
  220. <el-table-column prop="createDate" label="录入时间">
  221. <template slot-scope="scope">
  222. <span style="color: #8890b1">{{ scope.row.createDate }}</span>
  223. </template>
  224. </el-table-column>
  225. </el-table>
  226. <el-table :data="warehouseList.records" height="560" v-show="this.warehouseType== '2'">
  227. <el-table-column type="expand">
  228. <template #default="props">
  229. <ws-form ref="deptBudgetList" :model="deptBudgetList">
  230. <ws-info-table>
  231. <ws-form-item label="水分(%)<=" span="1" prop="waterContent">
  232. {{ props.row.waterContent }}
  233. </ws-form-item>
  234. <ws-form-item label="容重(g/l)>=" span="1" prop="bulkDensity">
  235. {{ props.row.bulkDensity }}
  236. </ws-form-item>
  237. <ws-form-item label="热损伤(%)<=" span="1" prop="jiaorenli">
  238. {{ props.row.jiaorenli }}
  239. </ws-form-item>
  240. <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
  241. {{ props.row.impurity }}
  242. </ws-form-item>
  243. <ws-form-item label="霉变粒(%)<=" span="1" prop="mildewGrain">
  244. {{ props.row.mildewGrain }}
  245. </ws-form-item>
  246. <ws-form-item
  247. label="不完善粒(%)<="
  248. span="1"
  249. prop="imperfectGrain"
  250. >
  251. {{ props.row.imperfectGrain }}
  252. </ws-form-item>
  253. <ws-form-item label="质检员" span="1" prop="qualityInspector">
  254. {{ props.row.qualityInspector }}
  255. </ws-form-item>
  256. </ws-info-table>
  257. </ws-form>
  258. </template>
  259. </el-table-column>
  260. <el-table-column type="index" label="序号">
  261. <template scope="scope">
  262. <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
  263. <span v-else>{{ scope.$index + 1 }}</span>
  264. </template>
  265. </el-table-column>
  266. <el-table-column prop="goodsName" label="货名"> </el-table-column>
  267. <el-table-column
  268. prop="grossWeight"
  269. label="毛重(吨)"
  270. ></el-table-column>
  271. <el-table-column prop="tare" label="皮重(吨)"> </el-table-column>
  272. <el-table-column
  273. prop="netWeight"
  274. label="净重(吨)"
  275. ></el-table-column>
  276. <el-table-column prop="grade" label="品级">
  277. <template slot-scope="scope">
  278. <span v-if="scope.row.grade == '一等品'" class="top-grade">{{
  279. scope.row.grade
  280. }}</span>
  281. <span v-if="scope.row.grade == '二等品'" class="second-class">{{
  282. scope.row.grade
  283. }}</span>
  284. <span v-if="scope.row.grade == '三等品'" class="third-class">{{
  285. scope.row.grade
  286. }}</span>
  287. <span v-if="scope.row.grade == '等外'" class="substandard">{{
  288. scope.row.grade
  289. }}</span>
  290. </template>
  291. </el-table-column>
  292. <el-table-column prop="inOutDate" label="出入库日期">
  293. <template slot-scope="scope">
  294. <span style="color: #8890b1">{{ scope.row.inOutDate }}</span>
  295. </template>
  296. </el-table-column>
  297. <el-table-column prop="inOutType" label="类型"> </el-table-column>
  298. <el-table-column prop="contractNo" label="合同编号">
  299. <template slot-scope="scope">
  300. <span style="color: #8890b1">{{ scope.row.contractNo }}</span>
  301. </template>
  302. </el-table-column>
  303. <el-table-column prop="carNo" label="车牌号">
  304. <template slot-scope="scope">
  305. <span style="color: #8890b1">{{ scope.row.carNo }}</span>
  306. </template>
  307. </el-table-column>
  308. <el-table-column prop="agent" label="经办人">
  309. </el-table-column>
  310. <el-table-column prop="backOffice" label="内勤"> </el-table-column>
  311. <el-table-column prop="addressUrl" label="附件">
  312. <template slot-scope="scope">
  313. <img
  314. width="18"
  315. height="20"
  316. style="vertical-align: text-top; position: relative; top: -1px"
  317. src="../../../public/img/fujian.png"
  318. @click="fujian(scope.row)"
  319. alt=""
  320. />
  321. <!-- <span v-if="scope.row.addressUrlArray.length > 0">{{
  322. scope.row.addressUrlArray.length
  323. }}</span> -->
  324. <!-- <i @click="fujian(scope.row)" class="el-icon-paperclip iconCss"></i> -->
  325. </template>
  326. </el-table-column>
  327. <el-table-column prop="createDate" label="录入时间">
  328. <template slot-scope="scope">
  329. <span style="color: #8890b1">{{ scope.row.createDate }}</span>
  330. </template>
  331. </el-table-column>
  332. </el-table>
  333. <div style="text-align: center; padding: 10px">
  334. <el-pagination
  335. @size-change="handleSizeChange"
  336. @current-change="handleCurrentChange"
  337. :current-page="currentPage"
  338. :page-size="deptCircularPage.pageSize"
  339. layout="total, sizes, prev, pager, next, jumper"
  340. :total="deptBudgetTotal"
  341. >
  342. </el-pagination>
  343. </div>
  344. </ws-form>
  345. </div>
  346. <WinseaContentModal
  347. v-model="accessoryTFs"
  348. :title="$t('system.noticeCircular.information')"
  349. @on-cancel="handleClose"
  350. >
  351. <p>查看附件</p>
  352. <ws-upload
  353. ref="upload"
  354. table-name="maintain_work_order"
  355. oss-key="mainPlan"
  356. :comp-id="compId"
  357. :appendix-ids="appendixIdsAdd"
  358. :vesselId="deptBudgetList.addressUrl"
  359. :size-limit="size"
  360. @uploadSuccess="uploadSuccess"
  361. accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
  362. />
  363. </WinseaContentModal>
  364. </div>
  365. </template>
  366. <script>
  367. import { addselectinfoList,recordss } from '@/model/warehouse/index'
  368. import { downloadFile } from '@/utils/batchDown'
  369. import Pagination from '@/components/Pagination'
  370. import WsUpload from '@/components/WsUpload'
  371. import { dayjs, fmoney, EventBus } from 'base-core-lib'
  372. export default {
  373. name: 'viewSpareMoney',
  374. components: {
  375. WsUpload,
  376. Pagination,
  377. },
  378. watch: {
  379. vesselId(val) {
  380. this.getList()
  381. },
  382. isShow(val) {
  383. this.showType = val
  384. },
  385. },
  386. data() {
  387. return {
  388. //弹出框
  389. dialogViewSpareMoney: false,
  390. dialogApproveFormVisible: false,
  391. // 船舶类型
  392. monetaryKey: null,
  393. // 表格显示数据
  394. tableDate: [],
  395. appendixIdsAdd: '',
  396. // 是否显示
  397. showType: true,
  398. // 年
  399. year: '',
  400. deptBudgetTotal: 0,
  401. currentPage: 1,
  402. pageSize: 10,
  403. radiostatus: 1,
  404. capacity: '',
  405. searchKeyWord: '',
  406. contractType: 2,
  407. startDate: null,
  408. endDate: null,
  409. remark: '',
  410. binNumber: '',
  411. status: 1,
  412. // 提交类型
  413. submitType: true,
  414. selectpackingMethod: {},
  415. size: 10,
  416. warehouseType:'1',
  417. deptBudgetList1: {},
  418. compId: sessionStorage.getItem('ws-pf_compId'),
  419. deptCircularPage: {},
  420. packtypeList: {},
  421. pcFlag: 1,
  422. date: {
  423. year: dayjs().format('YYYY'),
  424. month: dayjs().format('MM'),
  425. },
  426. warehouseList: [],
  427. deptBudgetList: {},
  428. historyList: [],
  429. searchType: '',
  430. allurl: '../../../public/img/radio.png',
  431. pickerBeginDateBefore: {
  432. disabledDate: (time) => {
  433. return time.getTime() > Date.now()
  434. },
  435. },
  436. accessoryTFs: false,
  437. }
  438. },
  439. activated() {
  440. this.deptBudgetList.baseId = this.$route.query.baseId
  441. this.deptBudgetList.positionId = this.$route.query.positionId
  442. this.deptBudgetList.warehouseName = this.$route.query.warehouseName
  443. this.remark = this.$route.query.remark
  444. this.binNumber = this.$route.query.binNumber
  445. this.capacity = this.$route.query.capacity
  446. this.warehouseType = this.$route.query.warehouseType
  447. this.getList()
  448. this.showType = this.isShow
  449. },
  450. methods: {
  451. //返回按钮
  452. returnWarehouse() {
  453. this.$router.push({ path: 'warehouseManagementList' })
  454. },
  455. //
  456. iossrecord() {
  457. this.$router.push({
  458. path: 'warehouseManagementIossRecord',
  459. query: {
  460. baseId: this.deptBudgetList.baseId,
  461. positionId: this.deptBudgetList.positionId,
  462. warehouseName: this.deptBudgetList.warehouseName,
  463. binNumber: this.binNumber,
  464. },
  465. })
  466. },
  467. dateFormat(fmt, date) {
  468. let ret
  469. const opt = {
  470. 'Y+': date.getFullYear().toString(), // 年
  471. 'm+': (date.getMonth() + 1).toString(), // 月
  472. 'd+': date.getDate().toString(), // 日
  473. 'H+': date.getHours().toString(), // 时
  474. // "M+": date.getMinutes().toString(), // 分
  475. // "S+": date.getSeconds().toString() // 秒
  476. // 有其他格式化字符需求可以继续添加,必须转化成字符串
  477. }
  478. for (let k in opt) {
  479. ret = new RegExp('(' + k + ')').exec(fmt)
  480. if (ret) {
  481. fmt = fmt.replace(
  482. ret[1],
  483. ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, '0')
  484. )
  485. }
  486. }
  487. return fmt
  488. },
  489. handleClose() {
  490. this.accessoryTFs = false
  491. },
  492. handleSizeChange(val) {
  493. console.log(`每页 ${val} 条`)
  494. this.pageSize = val
  495. this.getList()
  496. },
  497. handleCurrentChange(val) {
  498. this.currentPage = val
  499. console.log(`当前页: ${val}`)
  500. this.getList()
  501. },
  502. record(status, status1) {
  503. this.status = status1
  504. this.searchType = status
  505. this.getList()
  506. },
  507. // 上传附件
  508. uploadSuccess(data, files, url) {
  509. console.log(data, files, url)
  510. // this.deptBudgetList.
  511. // this.formData.append('files', files)
  512. // this.feedbackObj.uploadNameAttachment = data.appendixName
  513. // this.feedbackObj.pathUploadAttachment = data.appendixPath
  514. // // this.newAppendixs = files
  515. // this.onChangeFlag = true
  516. },
  517. getList() {
  518. if(this.warehouseType==1){
  519. addselectinfoList({
  520. compId: sessionStorage.getItem('ws-pf_compId'),
  521. baseId: this.deptBudgetList.baseId,
  522. positionId: this.deptBudgetList.positionId,
  523. warehouseName: this.deptBudgetList.warehouseName,
  524. searchType: this.searchType,
  525. currentPage: this.currentPage,
  526. pcFlag: this.pcFlag,
  527. pageSize: this.pageSize
  528. })
  529. .toPromise()
  530. .then((response) => {
  531. for (var i = 0; i < response.records.length; i++) {
  532. if (response.records[i].addressUrl != null) {
  533. response.records[i].addressUrlArray = response.records[
  534. i
  535. ].addressUrl.split(',')
  536. } else {
  537. response.records[i].addressUrlArray = []
  538. }
  539. }
  540. this.deptCircularPage.currentPage = response.current
  541. this.deptCircularPage.pageSize = response.size
  542. this.deptBudgetTotal = response.total
  543. this.warehouseList = response
  544. })
  545. }else if(this.warehouseType==2){
  546. recordss({
  547. compId: sessionStorage.getItem('ws-pf_compId'),
  548. baseId: this.deptBudgetList.baseId,
  549. positionId: this.deptBudgetList.positionId,
  550. warehouseName: this.deptBudgetList.warehouseName,
  551. searchType: this.searchType,
  552. currentPage: this.currentPage,
  553. pageSize: this.pageSize,
  554. })
  555. .toPromise()
  556. .then((response) => {
  557. for (var i = 0; i < response.records.length; i++) {
  558. if (response.records[i].addressUrl != null) {
  559. response.records[i].addressUrlArray = response.records[
  560. i
  561. ].addressUrl.split(',')
  562. } else {
  563. response.records[i].addressUrlArray = []
  564. }
  565. }
  566. this.deptCircularPage.currentPage = response.current
  567. this.deptCircularPage.pageSize = response.size
  568. this.deptBudgetTotal = response.total
  569. this.warehouseList = response
  570. })
  571. }
  572. },
  573. selecttaskType(e) {
  574. for (var i = 0; i < this.taskTypeList.length; i++) {
  575. if (this.taskTypeList[i].value == e) {
  576. this.searchType = this.taskTypeList[i].type
  577. }
  578. }
  579. },
  580. fujian(row) {
  581. if (
  582. row.receiveAttachmentPath === null ||
  583. row.receiveAttachmentPath === ''
  584. ) {
  585. EventBus.$emit(
  586. 'warning',
  587. this.$t('system.noticeCircular.NoInformation')
  588. )
  589. } else {
  590. this.accessoryTFs = true
  591. }
  592. this.appendixIdss = row.receiveAttachmentPath
  593. },
  594. handleExamine(row) {
  595. this.$router.push({
  596. name: 'salesContractExamine',
  597. query: { id: row.id },
  598. })
  599. },
  600. // 关闭 dialog时 处理文件url 初始化upload组件
  601. handleCloe() {
  602. this.dialogViewSpareMoney = false
  603. },
  604. history(row) {
  605. console.log(row)
  606. billoperatehis({ id: row.id })
  607. .toPromise()
  608. .then((response) => {
  609. this.historyList = response
  610. })
  611. },
  612. find() {
  613. this.startDate = this.dateFormat('YYYY-mm-dd', this.value2[0])
  614. this.endDate = this.dateFormat('YYYY-mm-dd', this.value2[1])
  615. this.currentPage = 1
  616. this.getList()
  617. },
  618. // async exportlist() {
  619. // const { data } = await export1(
  620. // {
  621. // compId: sessionStorage.getItem('ws-pf_compId'),
  622. // contractType: this.contractType,
  623. // currentPage: this.currentPage,
  624. // pageSize: this.pageSize,
  625. // searchType: this.searchType,
  626. // searchKeyWord: this.searchKeyWord,
  627. // startDate: this.startDate,
  628. // endDate: this.endDate,
  629. // },
  630. // {},
  631. // { responseType: 'blob' }
  632. // ).toPromise()
  633. // downloadFile({
  634. // res: data,
  635. // fileName: `${
  636. // this.date.year + (this.date.month ? `-${this.date.month}` : '')
  637. // }_采购合同`,
  638. // type: 'xls',
  639. // })
  640. // },
  641. // deletecontract(){},
  642. //删除
  643. approve() {},
  644. listQuery() {},
  645. total() {},
  646. clearfiltQuery() {},
  647. selectCrtDuty() {},
  648. },
  649. }
  650. </script>
  651. <style lang="scss" scoped>
  652. /deep/.totalStorage .el-input__inner {
  653. color: #afb5cb;
  654. background: #f5f7fa;
  655. }
  656. .small-title {
  657. position: relative;
  658. padding: 10px;
  659. font-weight: 600;
  660. }
  661. .small-title::before {
  662. position: absolute;
  663. content: '';
  664. display: block;
  665. background: #5473e8;
  666. width: 4px;
  667. height: 14px;
  668. left: 0px;
  669. top: 13px;
  670. }
  671. .position {
  672. position: relative;
  673. }
  674. .add,
  675. .del {
  676. position: absolute;
  677. right: -38px;
  678. top: 9px;
  679. cursor: pointer;
  680. }
  681. .del {
  682. right: -70px;
  683. }
  684. .amap-page-container {
  685. width: 300px;
  686. height: 300px;
  687. }
  688. .ware {
  689. font-size: 12px;
  690. color: rgb(255, 255, 255);
  691. background: rgb(175, 181, 203);
  692. padding: 3px;
  693. position: relative;
  694. top: -1px;
  695. border-radius: 3px;
  696. text-align: center;
  697. }
  698. .title {
  699. position: relative;
  700. }
  701. .title::before {
  702. content: '';
  703. display: inline-block;
  704. width: 5px;
  705. height: 30px;
  706. background: #5473e8;
  707. position: absolute;
  708. left: 0;
  709. }
  710. .ws-info-table {
  711. border-left: 1px solid transparent;
  712. border-top: 1px solid transparent;
  713. }
  714. .el-button--primary {
  715. background-color: #5878e8;
  716. border-color: #5878e8;
  717. }
  718. .adjustment.el-button--primary {
  719. background-color: #51cdd9;
  720. border-color: #51cdd9;
  721. }
  722. .el-col {
  723. background: #f6f7fc;
  724. }
  725. .record {
  726. background: #fff;
  727. color: #8890b1;
  728. border-color: #fff;
  729. display: inline-block;
  730. margin-bottom: 10px;
  731. cursor: pointer;
  732. margin-left: 5px;
  733. margin-right: 5px;
  734. }
  735. .record img {
  736. position: relative;
  737. top: 2px;
  738. }
  739. .record.active img {
  740. position: relative;
  741. top: 4px;
  742. }
  743. .record.active {
  744. color: #262626;
  745. }
  746. .button-container {
  747. display: flex;
  748. flex-wrap: nowrap;
  749. justify-content: space-between;
  750. align-items: center;
  751. background-color: #fff;
  752. width: 100%;
  753. height: 50px;
  754. padding: 0 10px;
  755. & > div {
  756. margin-left: 10px;
  757. display: flex;
  758. flex-wrap: nowrap;
  759. flex-direction: row;
  760. & > span {
  761. line-height: 50px;
  762. }
  763. }
  764. /deep/.auditFlow-box {
  765. position: unset;
  766. margin-left: 10px;
  767. &/deep/.auditFlow-icon {
  768. width: auto;
  769. padding-right: 30px;
  770. }
  771. &/deep/.auditFlow-main {
  772. position: absolute;
  773. }
  774. }
  775. }
  776. .box-app {
  777. display: inline-block;
  778. float: left;
  779. margin-left: 30px;
  780. line-height: 50px;
  781. }
  782. /deep/.el-dialog {
  783. .el-form-item {
  784. margin-bottom: 0 !important;
  785. .el-input--medium {
  786. textarea {
  787. min-height: 100px !important;
  788. }
  789. }
  790. }
  791. }
  792. .top-grade {
  793. background: linear-gradient(90deg, #5678e9, #7993f6);
  794. color: #fff;
  795. padding: 3px;
  796. border-radius: 2px;
  797. }
  798. .second-class {
  799. background: linear-gradient(90deg, #50cdd9, #82e2ea);
  800. color: #fff;
  801. padding: 3px;
  802. border-radius: 2px;
  803. }
  804. .third-class {
  805. background: linear-gradient(90deg, #ffa735, #ffbf70);
  806. color: #fff;
  807. padding: 3px;
  808. border-radius: 2px;
  809. }
  810. .substandard {
  811. background: linear-gradient(90deg, #b2b4bb, #ced0d5);
  812. color: #fff;
  813. padding: 3px;
  814. border-radius: 2px;
  815. }
  816. .collapse-bottom {
  817. margin-bottom: 20px;
  818. }
  819. .input-main .textarea .el-textarea__inner {
  820. width: 100%;
  821. z-index: 1;
  822. }
  823. .bg-left {
  824. padding-left: 30px;
  825. }
  826. .bg-right {
  827. padding-right: 10px;
  828. text-align: right;
  829. }
  830. .bg-bottom {
  831. margin: 15px 0px;
  832. }
  833. .wenzi {
  834. width: 900px;
  835. margin: 0 auto;
  836. }
  837. .wenzi h3 {
  838. display: inline-block;
  839. left: 10px;
  840. }
  841. .wenzi p {
  842. display: inline-block;
  843. }
  844. .center {
  845. padding: 0 1%;
  846. }
  847. .el-form-item {
  848. width: 50%;
  849. }
  850. .el-form-item__label {
  851. text-align: center;
  852. }
  853. .ce {
  854. width: 900px;
  855. margin: 0 auto;
  856. }
  857. /*.crt-main .textarea /deep/ .el-form-item__label {*/
  858. /* height: 82px;*/
  859. /*}*/
  860. // 控制select为只读的时候显示样式
  861. .hide-sel {
  862. .el-input__inner {
  863. border: 0px;
  864. }
  865. .el-icon-arrow-up {
  866. display: none;
  867. }
  868. .el-textarea__inner {
  869. background-color: #fff !important;
  870. border: 0;
  871. }
  872. .el-date-editor {
  873. i {
  874. display: none;
  875. }
  876. }
  877. .is-disabled {
  878. .el-input__inner:hover {
  879. background-color: #fff !important;
  880. border: 0;
  881. }
  882. color: #606266;
  883. .el-input__inner {
  884. background-color: #fff !important;
  885. border: 0;
  886. color: #606266;
  887. }
  888. .el-textarea__inner {
  889. background-color: #fff !important;
  890. border: 0;
  891. color: #606266;
  892. }
  893. }
  894. }
  895. // 控制select为只读的时候显示样式
  896. /deep/.ws-class-table-col {
  897. height: auto;
  898. padding: 0px 2px;
  899. /deep/.el-input__inner {
  900. padding: 0px 2px;
  901. }
  902. }
  903. /deep/.is-disabled {
  904. .el-input__prefix,
  905. .el-input__suffix {
  906. display: none;
  907. }
  908. .el-input__inner {
  909. background-color: #fff;
  910. border-color: #fff !important;
  911. color: #000 !important;
  912. font-size: 14px;
  913. cursor: text;
  914. padding: 0 !important;
  915. }
  916. }
  917. .winseaview-view {
  918. padding: 0 0 20px;
  919. }
  920. .container {
  921. overflow: scroll;
  922. height: 93vh;
  923. }
  924. .el-textarea__inner {
  925. display: none;
  926. }
  927. .readonly {
  928. width: 16%;
  929. }
  930. .ws-info-table .el-form-item {
  931. width: 14.28%;
  932. }
  933. /deep/.ws-info-table .el-form-item .el-form-item__label {
  934. background-color: #f6f7fc;
  935. font-size: 12px;
  936. height: 45px;
  937. }
  938. //去边框
  939. /deep/.el-form-item {
  940. border-right: 0px;
  941. border-bottom: 0px;
  942. }
  943. /deep/.ws-info-table {
  944. border-left: 0px;
  945. border-top: 0px;
  946. }
  947. .ws-info-table .el-form-item .el-form-item__content {
  948. border-right: 0px;
  949. border-bottom: 0px;
  950. border-left: 0px;
  951. border-top: 0px;
  952. }
  953. /deep/.ws-info-table .el-form-item {
  954. border-right: 0px;
  955. border-bottom: 0px;
  956. border-left: 0px;
  957. border-top: 0px;
  958. }
  959. /deep/.ws-info-table .el-form-item .el-form-item__content {
  960. background: #f5f7fa;
  961. border-radius: 4px;
  962. border: 1px solid #d8dce6;
  963. font-family: PingFangSC-Regular, PingFang SC;
  964. margin-bottom: 5px;
  965. background-color: #fff;
  966. font-size: 14px;
  967. font-weight: 400;
  968. color: #8890b1;
  969. line-height: 16px;
  970. }
  971. /deep/.ws-info-table .el-form-item .el-form-item__content {
  972. border: 0px;
  973. }
  974. </style>