index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  1. <template>
  2. <div class="app-container">
  3. <el-form
  4. :model="queryParams"
  5. ref="queryForm"
  6. :inline="true"
  7. v-show="showSearch"
  8. label-width="68px"
  9. >
  10. <el-form-item prop="name">
  11. <el-input
  12. v-model="queryParams.name"
  13. placeholder="请输入物品名称"
  14. clearable
  15. size="small"
  16. @input="handleQuery"
  17. />
  18. </el-form-item>
  19. <el-form-item>
  20. <el-button size="btr" @click="resetQuery">重置</el-button>
  21. </el-form-item>
  22. </el-form>
  23. <el-row :gutter="10" class="mb8">
  24. <el-col :span="1.5">
  25. <el-button
  26. type="primary"
  27. plain
  28. icon="el-icon-plus"
  29. size="mini"
  30. @click="handleAdd"
  31. v-hasPermi="['materialManagement:distribution:add']"
  32. >新增</el-button>
  33. </el-col>
  34. <!-- <el-col :span="1.5">
  35. <el-button
  36. type="success"
  37. plain
  38. icon="el-icon-edit"
  39. size="mini"
  40. :disabled="single"
  41. @click="handleUpdate"
  42. v-hasPermi="['materialManagement:distribution:edit']"
  43. >修改</el-button>
  44. </el-col> -->
  45. <el-col :span="1.5">
  46. <el-button
  47. type="danger"
  48. plain
  49. icon="el-icon-delete"
  50. size="mini"
  51. :disabled="multiple"
  52. @click="handleDelete"
  53. v-hasPermi="['materialManagement:distribution:remove']"
  54. >删除</el-button>
  55. </el-col>
  56. <!-- <el-col :span="1.5">
  57. <el-button
  58. type="warning"
  59. plain
  60. icon="el-icon-download"
  61. size="mini"
  62. :loading="exportLoading"
  63. @click="handleExport"
  64. v-hasPermi="['materialManagement:distribution:export']"
  65. >导出</el-button
  66. >
  67. </el-col>-->
  68. <!-- <right-toolbar
  69. :showSearch.sync="showSearch"
  70. @queryTable="getList"
  71. ></right-toolbar>-->
  72. </el-row>
  73. <el-table
  74. v-loading="loading"
  75. :data="distributionList"
  76. @selection-change="handleSelectionChange"
  77. :header-cell-style="{ background: '#003C69', color: 'white' }"
  78. >
  79. <el-table-column type="selection" width="55" align="center" />
  80. <el-table-column label="序号" align="center">
  81. <template scope="scope">
  82. <span>
  83. {{
  84. (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
  85. }}
  86. </span>
  87. </template>
  88. </el-table-column>
  89. <!-- <el-table-column label="物品类别" align="center" prop="wuPinType">
  90. <template slot-scope="scope">
  91. <dict-tag
  92. :options="dict.type.category"
  93. :value="scope.row.wuPinType"
  94. />
  95. </template>
  96. </el-table-column>-->
  97. <el-table-column label="物品名称" align="center" prop="name" />
  98. <el-table-column label="条形码编号" align="center" prop="barcode" />
  99. <el-table-column label="物品规格" align="center" prop="materialSpecification" />
  100. <el-table-column label="物品型号" align="center" prop="materialXh" />
  101. <el-table-column label="营具类型" align="center" prop="yingJuType">
  102. <!-- <template slot-scope="scope">
  103. <dict-tag :options="dict.type.camp_equipment" :value="scope.row.yingJuType" />
  104. </template>-->
  105. </el-table-column>
  106. <!-- <el-table-column
  107. label="责任单位"
  108. align="center"
  109. prop="responsibilityUnit"
  110. />-->
  111. <el-table-column label="出库数量" align="center" prop="putOut" />
  112. <el-table-column label="价值" align="center" prop="price" />
  113. <el-table-column label="发放时间" align="center" prop="putOutTime" width="120">
  114. <template slot-scope="scope">
  115. <span>{{ parseTime(scope.row.putOutTime, "{y}-{m}-{d}") }}</span>
  116. </template>
  117. </el-table-column>
  118. <el-table-column label="发放单位" align="center" prop="responsibilityUnit" width="150px" />
  119. <el-table-column label="发放对象" align="center" prop="outPeople"></el-table-column>
  120. <el-table-column label="接收单位" align="center" prop="outUnit" width="150px" />
  121. <el-table-column label="接收人" align="center" prop="recipient" />
  122. <el-table-column label="存放位置" align="center" prop="storageLocation" />
  123. <!-- <el-table-column label="备注" align="center" prop="remark" /> -->
  124. <el-table-column label="库房" align="center" prop="warehouse">
  125. <template slot-scope="scope">
  126. <dict-tag :options="dict.type.storage_room" :value="scope.row.warehouse" />
  127. </template>
  128. </el-table-column>
  129. <el-table-column label="库存数量" align="center" prop="total" />
  130. <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="120">
  131. <template slot-scope="scope">
  132. <el-button
  133. size="btu"
  134. type="text"
  135. @click="handleUpdate(scope.row)"
  136. v-hasPermi="['materialManagement:distribution:edit']"
  137. >修改</el-button>
  138. <el-button
  139. size="btd"
  140. type="text"
  141. @click="handleDelete(scope.row)"
  142. v-hasPermi="['materialManagement:distribution:remove']"
  143. >删除</el-button>
  144. </template>
  145. </el-table-column>
  146. </el-table>
  147. <pagination
  148. v-show="total > 0"
  149. :total="total"
  150. :page.sync="queryParams.pageNum"
  151. :limit.sync="queryParams.pageSize"
  152. @pagination="getList"
  153. />
  154. <!-- 添加或修改物资发放对话框 -->
  155. <el-dialog
  156. :title="title"
  157. :visible.sync="open"
  158. width="500px"
  159. append-to-body
  160. :close-on-click-modal="false"
  161. >
  162. <el-form ref="form" :model="form" :rules="rules" label-width="80px" :inline="true">
  163. <el-form-item label="条形码编号" prop>
  164. <el-input v-model="form.barcode" @blur="barcodefun" placeholder="请输入条形码编号" />
  165. </el-form-item>
  166. <div class="jiben">基本信息</div>
  167. <el-form-item label="物品类别" prop="wuPinType">
  168. <el-select v-model="form.wuPinType" placeholder="请选择物品类别">
  169. <el-option
  170. v-for="dict in dict.type.category"
  171. :key="dict.value"
  172. :label="dict.label"
  173. :value="dict.value"
  174. ></el-option>
  175. </el-select>
  176. </el-form-item>
  177. <el-form-item label="物品名称" prop="name">
  178. <el-select v-model="form.name" placeholder="请选择物品名称">
  179. <el-option
  180. v-for="(item, i) in itemlist"
  181. :key="i"
  182. :value="item.name"
  183. :label="item.names"
  184. class="input_xiala"
  185. @click.native="wuPing(item)"
  186. ></el-option>
  187. </el-select>
  188. </el-form-item>
  189. <el-form-item label="物品规格" prop="materialSpecification">
  190. <el-input v-model="form.materialSpecification" placeholder="请输入物品规格" readonly />
  191. </el-form-item>
  192. <el-form-item label="物品型号" prop="materialXh">
  193. <el-input v-model="form.materialXh" placeholder="请输入物资型号" readonly />
  194. </el-form-item>
  195. <el-form-item label="库房" prop="warehouse">
  196. <el-select v-model="form.warehouse" placeholder="请选择库房">
  197. <el-option
  198. v-for="dict in dict.type.storage_room"
  199. :key="dict.value"
  200. :label="dict.label"
  201. :value="dict.value"
  202. ></el-option>
  203. </el-select>
  204. </el-form-item>
  205. <el-form-item label="存放位置" prop="storageLocation">
  206. <el-input v-model="form.storageLocation" placeholder="请输入存放位置" />
  207. </el-form-item>
  208. <el-form-item label="现有数量" prop="total">
  209. <el-input v-model="form.total" placeholder="请输入现有数量" readonly />
  210. </el-form-item>
  211. <el-form-item label="出库数量" prop="putOut">
  212. <el-input v-model="form.putOut" placeholder="请输入出库数量" @blur="shuLiang" />
  213. </el-form-item>
  214. <el-form-item label="发放时间" prop="putOutTime">
  215. <el-date-picker
  216. clearable
  217. size="small"
  218. v-model="form.putOutTime"
  219. type="date"
  220. value-format="yyyy-MM-dd"
  221. placeholder="选择发放时间"
  222. ></el-date-picker>
  223. </el-form-item>
  224. <el-form-item label="营具类型" prop="yingJuType">
  225. <el-select v-model="form.yingJuType" placeholder="请选择营具类型">
  226. <el-option
  227. v-for="dict in dict.type.camp_equipment"
  228. :key="dict.value"
  229. :label="dict.label"
  230. :value="dict.value"
  231. ></el-option>
  232. </el-select>
  233. </el-form-item>
  234. <el-form-item label="价值" prop="price">
  235. <el-input v-model="form.price" placeholder="请输入价值" readonly />
  236. </el-form-item>
  237. <el-form-item label="发放单位" prop="responsibilityUnit">
  238. <el-input v-model="form.responsibilityUnit" readonly />
  239. </el-form-item>
  240. <el-form-item label="发放对象" prop="outPeople">
  241. <el-select v-model="form.outPeople" placeholder="请选择发放对象">
  242. <el-option
  243. v-for="dict in dict.type.distribution_object"
  244. :key="dict.value"
  245. :label="dict.label"
  246. :value="dict.label"
  247. @click.native="dianJi(dict.value)"
  248. ></el-option>
  249. </el-select>
  250. </el-form-item>
  251. <el-form-item label="接收人" prop="recipient" v-if="ren">
  252. <el-select v-model="form.recipient" placeholder="请选择接收人" @change="rens" filterable>
  253. <el-option
  254. v-for="item in renYuan"
  255. :key="item.id"
  256. :label="item.name"
  257. :value="item"
  258. class="input_xiala"
  259. ></el-option>
  260. </el-select>
  261. </el-form-item>
  262. <el-form-item label="接收单位" prop="outUnitId" v-if="danWei">
  263. <treeselect
  264. v-model="form.outUnitId"
  265. placeholder="请选择接收单位"
  266. :options="deptOptions"
  267. @select="danWeis"
  268. ></treeselect>
  269. </el-form-item>
  270. <div class="jiben">备注</div>
  271. <el-form-item label prop="remark">
  272. <el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
  273. </el-form-item>
  274. <!-- <el-form-item label="责任单位" prop="responsibilityUnit">
  275. <el-input
  276. v-model="form.responsibilityUnit"
  277. placeholder="请输入责任单位"
  278. />
  279. </el-form-item>
  280. <el-form-item label="责任人" prop="personLiable">
  281. <el-input v-model="form.personLiable" placeholder="请输入责任人" />
  282. </el-form-item>
  283. <el-form-item label="创建人" prop="createName">
  284. <el-input v-model="form.createName" placeholder="请输入创建人" />
  285. </el-form-item>
  286. <el-form-item label="购买时间" prop="buyingTime">
  287. <el-date-picker
  288. clearable
  289. size="small"
  290. v-model="form.buyingTime"
  291. type="date"
  292. value-format="yyyy-MM-dd"
  293. placeholder="选择购买时间"
  294. >
  295. </el-date-picker>
  296. </el-form-item>
  297. <el-form-item label="档案id" prop="archivesId">
  298. <el-input v-model="form.archivesId" placeholder="请输入档案id" />
  299. </el-form-item>
  300. <el-form-item label="入库表id" prop="registrationId">
  301. <el-input
  302. v-model="form.registrationId"
  303. placeholder="请输入入库表id"
  304. />
  305. </el-form-item>-->
  306. </el-form>
  307. <div slot="footer" class="dialog-footer">
  308. <el-button type="primary" @click="submitForm">确 定</el-button>
  309. <el-button @click="cancel" size="btn">取 消</el-button>
  310. </div>
  311. </el-dialog>
  312. </div>
  313. </template>
  314. <script>
  315. import {
  316. listDistribution,
  317. getDistribution,
  318. delDistribution,
  319. addDistribution,
  320. updateDistribution,
  321. exportDistribution,
  322. exportMaterialRegWuPingList,
  323. treeselect
  324. } from "@/api/materialManagement/distribution";
  325. // 导入树形结构
  326. import Treeselect from "@riophae/vue-treeselect";
  327. import "@riophae/vue-treeselect/dist/vue-treeselect.css";
  328. import { getZhuChiRen } from "@/api/materialManagement/archives";
  329. import { getBarCode } from "@/api/materialManagement/materialRegistration";
  330. export default {
  331. components: {
  332. Treeselect
  333. },
  334. name: "Distribution",
  335. dicts: ["category", "camp_equipment", "storage_room", "distribution_object"],
  336. data() {
  337. return {
  338. // 遮罩层
  339. loading: true,
  340. // 导出遮罩层
  341. exportLoading: false,
  342. // 选中数组
  343. ids: [],
  344. // 非单个禁用
  345. single: true,
  346. // 非多个禁用
  347. multiple: true,
  348. // 显示搜索条件
  349. showSearch: true,
  350. // 总条数
  351. total: 0,
  352. // 物资发放表格数据
  353. distributionList: [],
  354. // 弹出层标题
  355. title: "",
  356. // 是否显示弹出层
  357. open: false,
  358. // 查询参数
  359. queryParams: {
  360. pageNum: 1,
  361. pageSize: 10,
  362. wuPinType: null,
  363. name: null,
  364. materialSpecification: null,
  365. materialXh: null,
  366. yingJuType: null,
  367. responsibilityUnit: null,
  368. personLiable: null,
  369. putOut: null,
  370. createName: null,
  371. putOutTime: null,
  372. storageLocation: null,
  373. buyingTime: null,
  374. price: null,
  375. warehouse: null,
  376. archivesId: null,
  377. total: null,
  378. outUnit: null,
  379. outPeople: null,
  380. recipient: null,
  381. registrationId: null
  382. },
  383. // 表单参数
  384. form: {},
  385. // 表单校验
  386. rules: {
  387. name: [{ required: true, message: "请选择物品名称", trigger: "blur" }],
  388. yingJuType: [
  389. { required: true, message: "请选择营具类型", trigger: "blur" }
  390. ],
  391. warehouse: [{ required: true, message: "请选择库房", trigger: "blur" }],
  392. putOut: [{ required: true, message: "请输入出库数量", trigger: "blur" }]
  393. },
  394. // 获取物品名称列表
  395. itemlist: [],
  396. // 树形单位
  397. deptOptions: [],
  398. // 显示与隐藏接收人
  399. ren: true,
  400. // 显示与隐藏接收单位
  401. danWei: false,
  402. // 人员列表
  403. renYuan: [],
  404. // 总数量
  405. yinJunShu: ""
  406. };
  407. },
  408. created() {
  409. this.getList();
  410. },
  411. methods: {
  412. //条形码获取
  413. barcodefun() {
  414. getBarCode({ barcode: this.form.barcode }).then(res => {
  415. if (res.code == 200) {
  416. this.form = res.data;
  417. this.form.archivesId = res.data.id;
  418. this.form.total = res.data.materialInventory;
  419. this.form.price = res.data.price;
  420. this.form.id = null;
  421. }
  422. });
  423. },
  424. // 数量的判断
  425. shuLiang() {
  426. if (this.form.putOut > this.form.total) {
  427. return this.$modal.msgWarning(`库存数量为${this.form.total}`);
  428. }
  429. },
  430. // 点击接收单位触发
  431. danWeis(data) {
  432. this.form.outUnit = data.label;
  433. },
  434. // 点击选择接收人触发
  435. rens(data) {
  436. this.form.recipientId = data.id;
  437. this.$set(this.form, "recipient", data.name);
  438. },
  439. // 点击发放对象
  440. dianJi(value) {
  441. if (value == "0") {
  442. this.danWei = false;
  443. this.ren = true;
  444. this.form.outUnitId = null;
  445. this.form.outUnit = "";
  446. this.form.recipient = "";
  447. this.form.recipientId = "";
  448. } else if (value == "2") {
  449. this.ren = false;
  450. this.danWei = true;
  451. this.form.recipient = "";
  452. this.form.recipientId = "";
  453. this.form.outUnitId = null;
  454. this.form.outUnit = "";
  455. }
  456. },
  457. // 获取人员
  458. getRenYuan(id) {
  459. getZhuChiRen(id).then(res => {
  460. this.renYuan = res.data;
  461. });
  462. },
  463. /** 查询部门下拉树结构 */
  464. getTreeselect() {
  465. treeselect().then(response => {
  466. this.deptOptions = response.data;
  467. });
  468. },
  469. // 点击物品名称触发
  470. wuPing(data) {
  471. this.form.responsibilityUnit = data.responsibilityUnit;
  472. this.form.price = data.price;
  473. this.form.archivesId = data.archivesId;
  474. this.form.responsibilityUnitId = data.unitId;
  475. this.form.registrationId = data.id;
  476. this.form.total = data.total;
  477. this.yinJunShu = data.total;
  478. this.form.materialSpecification = data.materialSpecification;
  479. this.form.materialXh = data.materialXh;
  480. this.getRenYuan(data.unitId);
  481. },
  482. // 获取物品名称
  483. getMingCheng() {
  484. exportMaterialRegWuPingList().then(response => {
  485. this.itemlist = response.rows;
  486. });
  487. },
  488. /** 查询物资发放列表 */
  489. getList() {
  490. this.loading = true;
  491. listDistribution(this.queryParams).then(response => {
  492. this.distributionList = response.rows;
  493. this.total = response.total;
  494. this.loading = false;
  495. });
  496. },
  497. // 取消按钮
  498. cancel() {
  499. this.open = false;
  500. this.reset();
  501. },
  502. // 表单重置
  503. reset() {
  504. this.form = {
  505. id: null,
  506. wuPinType: null,
  507. name: null,
  508. materialSpecification: null,
  509. materialXh: null,
  510. yingJuType: null,
  511. responsibilityUnit: null,
  512. personLiable: null,
  513. putOut: null,
  514. createName: null,
  515. createTime: null,
  516. putOutTime: null,
  517. storageLocation: null,
  518. buyingTime: null,
  519. price: null,
  520. remark: null,
  521. warehouse: null,
  522. archivesId: null,
  523. total: null,
  524. outUnit: null,
  525. outPeople: null,
  526. recipient: null,
  527. registrationId: null
  528. };
  529. this.resetForm("form");
  530. },
  531. /** 搜索按钮操作 */
  532. handleQuery() {
  533. this.queryParams.pageNum = 1;
  534. this.getList();
  535. },
  536. /** 重置按钮操作 */
  537. resetQuery() {
  538. this.resetForm("queryForm");
  539. this.handleQuery();
  540. },
  541. // 多选框选中数据
  542. handleSelectionChange(selection) {
  543. this.ids = selection.map(item => item.id);
  544. this.single = selection.length !== 1;
  545. this.multiple = !selection.length;
  546. },
  547. /** 新增按钮操作 */
  548. handleAdd() {
  549. this.getTreeselect();
  550. this.getMingCheng();
  551. this.reset();
  552. this.open = true;
  553. this.title = "添加物资发放";
  554. },
  555. /** 修改按钮操作 */
  556. handleUpdate(row) {
  557. this.getTreeselect();
  558. this.reset();
  559. const id = row.id || this.ids;
  560. if (row.outPeople == "单位") {
  561. this.danWei = true;
  562. this.ren = false;
  563. } else {
  564. this.ren = true;
  565. this.danWei = false;
  566. }
  567. getDistribution(id).then(response => {
  568. this.form = response.data;
  569. this.getRenYuan(this.form.responsibilityUnitId);
  570. this.open = true;
  571. this.title = "修改物资发放";
  572. });
  573. },
  574. /** 提交按钮 */
  575. submitForm() {
  576. this.$refs["form"].validate(valid => {
  577. if (valid) {
  578. console.log(this.form.id);
  579. if (this.form.id != null) {
  580. updateDistribution(this.form).then(response => {
  581. this.$modal.msgSuccess("修改成功");
  582. this.open = false;
  583. this.getList();
  584. });
  585. } else {
  586. if (this.form.putOut > this.form.total) {
  587. return;
  588. }
  589. addDistribution(this.form).then(response => {
  590. this.$modal.msgSuccess("新增成功");
  591. this.open = false;
  592. this.getList();
  593. });
  594. }
  595. }
  596. });
  597. },
  598. /** 删除按钮操作 */
  599. handleDelete(row) {
  600. const ids = row.id || this.ids;
  601. this.$modal
  602. .confirm('是否确认删除物资发放编号为"' + ids + '"的数据项?')
  603. .then(function() {
  604. return delDistribution(ids);
  605. })
  606. .then(() => {
  607. this.getList();
  608. this.$modal.msgSuccess("删除成功");
  609. })
  610. .catch(() => {});
  611. },
  612. /** 导出按钮操作 */
  613. handleExport() {
  614. const queryParams = this.queryParams;
  615. this.$modal
  616. .confirm("是否确认导出所有物资发放数据项?")
  617. .then(() => {
  618. this.exportLoading = true;
  619. return exportDistribution(queryParams);
  620. })
  621. .then(response => {
  622. this.$download.name(response.msg);
  623. this.exportLoading = false;
  624. })
  625. .catch(() => {});
  626. }
  627. }
  628. };
  629. </script>
  630. <style scoped>
  631. /* 对话框背景颜色 */
  632. ::v-deep .el-dialog {
  633. width: 1016px !important;
  634. background: #004d86 !important;
  635. }
  636. ::v-deep .el-textarea__inner {
  637. width: 965px;
  638. height: 104px;
  639. }
  640. ::v-deep .el-dialog__header {
  641. border-bottom: 1px solid #718a9d;
  642. }
  643. ::v-deep .el-dialog__title {
  644. color: #fff;
  645. font: 18px;
  646. }
  647. ::v-deep .el-dialog__headerbtn .el-dialog__close {
  648. color: #fff;
  649. }
  650. ::v-deep .el-form-item__label {
  651. font: 16px;
  652. color: #fff;
  653. width: 100px !important;
  654. }
  655. ::v-deep .el-dialog .el-input__inner {
  656. width: 200px !important;
  657. height: 36px;
  658. background: transparent;
  659. color: #fff;
  660. border: 1px solid white !important;
  661. border-color: #fff !important;
  662. }
  663. /* 单位框背景颜色 */
  664. ::v-deep .vue-treeselect__control {
  665. background: #004d86 !important;
  666. }
  667. /*调整表单间距 */
  668. ::v-deep .el-form-item__content {
  669. width: 200px;
  670. }
  671. ::v-deep .el-dialog__footer {
  672. margin-right: 6px !important;
  673. }
  674. .contents {
  675. padding: 0px 40px !important;
  676. }
  677. ::v-deep .el-form-item__label {
  678. width: 115px !important;
  679. }
  680. ::v-deep .el-dialog__body {
  681. padding: 30px 0px 30px 26px !important;
  682. }
  683. ::v-deep .el-form .el-input__inner {
  684. height: 36px !important;
  685. }
  686. ::v-deep .vue-treeselect__single-value {
  687. color: #fff !important;
  688. }
  689. </style>