detailsPage.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. <template>
  2. <div class="borderless" v-loading="pageLoading">
  3. <div class="customer-head">
  4. <div class="customer-back">
  5. <el-button type="danger" style="border: none;background: none;color: red" icon="el-icon-arrow-left"
  6. @click="backToList">返回列表
  7. </el-button>
  8. </div>
  9. <div class="add-customer-btn">
  10. <el-button type="primary" size="small" :disabled="form.status>0" v-if="detailData.status == 1"
  11. class="el-button--small-yh " @click.stop="openEdit">编辑
  12. </el-button>
  13. <el-button type="primary" @click="editCustomer" :loading="subLoading" v-if="detailData.status != 1"
  14. size="small">保存数据
  15. </el-button>
  16. <el-dropdown style="padding: 0 6px;line-height: 0">
  17. <el-button type="primary" size="small" :loading="subLoading" :disabled="!form.id">
  18. 审批处理<i class="el-icon-arrow-down el-icon--right"></i>
  19. </el-button>
  20. <el-dropdown-menu slot="dropdown">
  21. <el-dropdown-item :disabled="form.status>0" @click.native="auditCheck">审批数据</el-dropdown-item>
  22. <el-dropdown-item :disabled="form.status<1" @click.native="checkScheduleDialog = true">审批进度
  23. </el-dropdown-item>
  24. </el-dropdown-menu>
  25. </el-dropdown>
  26. </div>
  27. </div>
  28. <div class="customer-main" v-loading="subLoading">
  29. <trade-card title="基础信息">
  30. <avue-form ref="form" class="trading-form" v-model="form" :option="option">
  31. <template slot="purchaserId">
  32. <crop-select v-model="form.purchaserId" corpType="KH" :refresh="false" @getCorpData="getKHData"
  33. :disabled="detailData.status == 1"></crop-select>
  34. </template>
  35. <template slot="corpId">
  36. <crop-select v-model="form.corpId" corpType="GYS" :refresh="false" @getCorpData="getGYSData"
  37. :disabled="detailData.status == 1"></crop-select>
  38. </template>
  39. <template slot="storageId">
  40. <el-cascader v-model="form.storageId" :options="storagetreeList" :show-all-levels="false"
  41. :disabled="detailData.status == 1" :props="{ checkStrictly: true, emitPath: false, label: 'title' }"
  42. clearable @change="storagetreeChange">
  43. </el-cascader>
  44. </template>
  45. </avue-form>
  46. </trade-card>
  47. <trade-card title="出库明细">
  48. <avue-crud ref="crud" :data="itemsVOList" :option="tableOption" @row-del="rowDel" @saveColumn="saveColumn"
  49. @resetColumn="resetColumn" :cell-style="cellStyle" @row-save="rowSave" @row-update="addUpdate">
  50. <template slot="menuLeft">
  51. <el-button type="primary" icon="el-icon-plus" size="small" :disabled="detailData.status == 1"
  52. @click.stop="addRow">录入明细
  53. </el-button>
  54. <el-button type="success" icon="el-icon-bottom" size="small" @click.stop="getTemplate">下载模板
  55. </el-button>
  56. <el-button type="info" icon="el-icon-top" size="small" :disabled="detailData.status == 1"
  57. @click.stop="addRow">导入
  58. </el-button>
  59. <el-button type="info" icon="el-icon-printer" size="small" @click.stop="openReport()">报表打印</el-button>
  60. </template>
  61. <template slot="oneCode" slot-scope="{ row, index }">
  62. <el-popover placement="right" width="160" trigger="click">
  63. <el-image style="width: 160px; height: 80px" :src="row.oneCode" :fit="fit"></el-image>
  64. <el-button v-if="row.oneCode" type="text" slot="reference">查看</el-button>
  65. </el-popover>
  66. </template>
  67. <template slot="qrCode" slot-scope="{ row, index }">
  68. <el-popover placement="right" width="300" trigger="click">
  69. <el-image style="width: 300px; height: 300px" :src="row.qrCode" :fit="fit"></el-image>
  70. <el-button v-if="row.qrCode" type="text" slot="reference">查看</el-button>
  71. </el-popover>
  72. </template>
  73. <template slot="storageInQuantityForm" slot-scope="{ row,disabled }">
  74. <el-input-number size="small" v-model="row.storageInQuantity" @change="calculateChange(row)"
  75. :controls="false" style="width:100%" placeholder="请输入"></el-input-number>
  76. </template>
  77. <template slot="priceForm" slot-scope="{ row,disabled }">
  78. <el-input-number size="small" v-model="row.price" @change="calculateChange(row)" :controls="false"
  79. style="width:100%" placeholder="请输入"></el-input-number>
  80. </template>
  81. <template slot="menu" slot-scope="{ row, index }">
  82. <div style="display:flex;justify-content: center;">
  83. <el-button size="small" icon="el-icon-edit" type="text" @click="rowCell(row, index)"
  84. :disabled="disabled || detailData.status == 1">{{ row.$cellEdit ? "保存" : "编辑" }}</el-button>
  85. <el-button size="small" icon="el-icon-delete" type="text" @click="rowDel(row, index)"
  86. :disabled="detailData.status == 1">删除</el-button>
  87. <!-- <el-button size="small" icon="el-icon-printer" type="text" @click="rowPrint(row, index)" :disabled="!row.id">
  88. 打印</el-button> -->
  89. </div>
  90. </template>
  91. </avue-crud>
  92. </trade-card>
  93. <fee-info ref="feeInfo" :orderFeesList="orderFeesList" :disabled="detailData.status == 1"
  94. feeUrl="/blade-purchase-sales/entranceOrder/removeOrderFees" :optionType="'CMY'" :itemType="'D'"
  95. :inCropId="true" :tabShow="2" @beforeFinance="beforeFinance" :delType="2" :billingShow="false" />
  96. <upload-file ref="uploadFile" title="合同附件" :disabled="detailData.status == 1" :orderFilesList="orderFilesList"
  97. delUrl="" />
  98. <el-dialog append-to-body title="审批进度" class="el-dialogDeep" :visible.sync="checkScheduleDialog" width="40%"
  99. :close-on-click-modal="false" :destroy-on-close="true" :close-on-press-escape="false" v-dialog-drag>
  100. <check-schedule :checkId="form.id" :batchNo="batchNo" @choceScheduleFun="choceScheduleFun">
  101. </check-schedule>
  102. </el-dialog>
  103. </div>
  104. </div>
  105. </template>
  106. <script>
  107. import { detail, submit, checkWarehousing, getStoragetree, getStorage, getAllgoods, financingExcess } from "@/api/purchasingManagement/inStock";
  108. import tableOption from "./config/customerContact.json";
  109. import feeInfo from "@/components/fee-info/main";
  110. import checkSchedule from "../../../components/check/checkSchedule";
  111. import uploadFile from "@/components/upload-file/main";
  112. import { getToken } from "@/util/auth";
  113. import { contrastObj, contrastList } from "@/util/contrastData";
  114. import { getCurrentDate } from "@/util/date";
  115. export default {
  116. name: "detailsPageEdit",
  117. data() {
  118. return {
  119. form: {},
  120. checkScheduleDialog: false,
  121. tableOption: {},
  122. option: {
  123. disabled: false,
  124. menuBtn: false,
  125. labelWidth: 100,
  126. column: [
  127. {
  128. label: "货权人",
  129. prop: "purchaserId",
  130. rules: [
  131. {
  132. required: true,
  133. message: "",
  134. trigger: "blur"
  135. }
  136. ],
  137. span: 6
  138. },
  139. {
  140. label: "出库日期",
  141. prop: "stockTime",
  142. type: "datetime",
  143. format: "yyyy-MM-dd HH:mm:ss",
  144. valueFormat: "yyyy-MM-dd HH:mm:ss",
  145. rules: [
  146. {
  147. required: true,
  148. message: "",
  149. trigger: "blur"
  150. }
  151. ],
  152. span: 6
  153. },
  154. {
  155. label: "仓库",
  156. prop: "storageId",
  157. rules: [
  158. {
  159. required: true,
  160. message: "",
  161. trigger: "blur"
  162. }
  163. ],
  164. span: 6
  165. },
  166. {
  167. label: "提单号",
  168. prop: "billNo",
  169. span: 6
  170. },
  171. {
  172. label: "业务类型",
  173. prop: "businessType",
  174. type: "select",
  175. props: {
  176. label: "dictValue",
  177. value: "dictKey"
  178. },
  179. dicData: [],
  180. span: 6
  181. },
  182. {
  183. label: "车船号",
  184. prop: "vehicleShipNumber",
  185. span: 6
  186. },
  187. {
  188. label: "供应商",
  189. prop: "corpId",
  190. span: 6
  191. },
  192. {
  193. label: "出库单号",
  194. prop: "sysNo",
  195. disabled: true,
  196. span: 6
  197. },
  198. {
  199. label: "审批状态",
  200. prop: "status",
  201. type: "select",
  202. dataType: 'number',
  203. props: {
  204. label: "dictValue",
  205. value: "dictKey"
  206. },
  207. dicData: [],
  208. disabled: true,
  209. span: 6
  210. },
  211. {
  212. label: "备注",
  213. prop: "orderRemark",
  214. type: "textarea",
  215. minRows: 2,
  216. span: 18
  217. },
  218. ]
  219. },
  220. itemsVOList: [],
  221. orderFeesList: [],
  222. orderFilesList: [],
  223. subLoading: false,
  224. pageLoading: false,
  225. batchNo: '',
  226. storagetreeList: [],
  227. oldform: {},
  228. olditemsVOList: [],
  229. oldorderFeesList: [],
  230. oldorderFilesList: [],
  231. };
  232. },
  233. props: {
  234. detailData: {
  235. type: Object
  236. }
  237. },
  238. components: {
  239. feeInfo,
  240. checkSchedule,
  241. uploadFile
  242. },
  243. async created() {
  244. if (this.detailData.status == 1) {
  245. this.option.disabled = true;
  246. }
  247. if (this.detailData.id) {
  248. this.getDetail(this.detailData.id);
  249. }
  250. this.tableOption = await this.getColumnData(
  251. this.getColumnName(191),
  252. tableOption
  253. );
  254. getStoragetree().then(res => {
  255. this.storagetreeList = res.data.data;
  256. })
  257. this.getWorkDicts("approval_status").then(res => {
  258. this.findObject(this.option.column, "status").dicData =
  259. res.data.data;
  260. });
  261. this.getWorkDicts("CMY_business_type").then(res => {
  262. this.findObject(this.option.column, "businessType").dicData =
  263. res.data.data;
  264. });
  265. getAllgoods().then(res => {
  266. this.findObject(this.tableOption.column, "itemId").dicData =
  267. res.data.data;
  268. })
  269. this.getWorkDicts("unit").then(res => {
  270. this.findObject(this.tableOption.column, "unit").dicData =
  271. res.data.data;
  272. });
  273. if (this.$route.query.generateId) {
  274. this.getGenerate(this.$route.query.generateId);
  275. }
  276. },
  277. activated() {
  278. setTimeout(() => {
  279. if (this.$route.query.generateId) {
  280. this.getGenerate(this.$route.query.generateId);
  281. }
  282. }, 100);
  283. },
  284. methods: {
  285. cellStyle() {
  286. return "padding:0;height:40px;";
  287. },
  288. getStorage() {
  289. getStorage({ storageTypeId: this.form.storageId }).then(res => {
  290. this.findObject(this.tableOption.column, "storageId").dicData = res.data;
  291. })
  292. },
  293. storagetreeChange(row) {
  294. if (row) {
  295. if (this.itemsVOList.length > 0) {
  296. this.getStorage()
  297. this.itemsVOList.forEach(e => {
  298. e.storageId = null
  299. })
  300. this.$message.warning("请重新选择库区!")
  301. }
  302. } else {
  303. if (this.itemsVOList.length > 0) {
  304. this.findObject(this.tableOption.column, "storageId").dicData = []
  305. this.itemsVOList.forEach(e => {
  306. e.storageId = null
  307. })
  308. this.$message.warning("请重新选择库区!")
  309. }
  310. }
  311. },
  312. getKHData(row) {
  313. this.form.purchaser = row.cname
  314. },
  315. getGYSData(row) {
  316. this.form.corpName = row.cname
  317. },
  318. choceScheduleFun() {
  319. this.checkScheduleDialog = false
  320. },
  321. addRow() {
  322. this.$refs["form"].validate((valid, done) => {
  323. done();
  324. if (valid) {
  325. this.itemsVOList.push({ $cellEdit: true });
  326. this.getStorage()
  327. } else {
  328. return false;
  329. }
  330. });
  331. },
  332. rowCell(row, index) {
  333. this.$refs.crud.rowCell(row, index)
  334. },
  335. rowSave(form, done) {
  336. done()
  337. },
  338. addUpdate(form, index, done, loading) {
  339. done()
  340. },
  341. rowDel(row) {
  342. this.$confirm("确定删除数据?", {
  343. confirmButtonText: "确定",
  344. cancelButtonText: "取消",
  345. type: "warning"
  346. }).then(() => {
  347. this.$message({
  348. type: "success",
  349. message: "删除成功!"
  350. });
  351. this.itemsVOList.splice(row.$index, 1);
  352. });
  353. },
  354. getDetail(id) {
  355. this.pageLoading = true;
  356. detail(id)
  357. .then(res => {
  358. this.form = res.data.data;
  359. this.itemsVOList = res.data.data.itemsVOList;
  360. this.orderFeesList = res.data.data.orderFeesList;
  361. this.orderFilesList = res.data.data.orderFilesList;
  362. this.oldform = this.deepClone(res.data.data);
  363. this.olditemsVOList = this.deepClone(res.data.data.itemsVOList);
  364. this.oldorderFeesList = this.deepClone(res.data.data.orderFeesList);
  365. this.oldorderFilesList = this.deepClone(res.data.data.orderFilesList);
  366. this.getStorage()
  367. })
  368. .finally(() => {
  369. this.pageLoading = false;
  370. });
  371. },
  372. getGenerate(id) {
  373. this.pageLoading = true;
  374. detail(id)
  375. .then(res => {
  376. delete res.data.data.id
  377. delete res.data.data.createTime
  378. delete res.data.data.createUser
  379. delete res.data.data.createUserName
  380. delete res.data.data.sysNo
  381. delete res.data.data.status
  382. res.data.data.stockTime=getCurrentDate()
  383. res.data.data.itemsVOList.forEach(e => {
  384. delete e.id
  385. })
  386. this.form = res.data.data;
  387. this.itemsVOList = res.data.data.itemsVOList.filter(e => e.isIssue == 'N');
  388. this.oldform = this.deepClone(res.data.data);
  389. this.olditemsVOList = this.deepClone(res.data.data.itemsVOList.filter(e => e.isIssue == 'N'));
  390. this.getStorage()
  391. })
  392. .finally(() => {
  393. this.pageLoading = false;
  394. });
  395. },
  396. //修改提交触发
  397. editCustomer(status) {
  398. this.$refs["form"].validate((valid, done) => {
  399. done();
  400. if (valid) {
  401. for (let i = 0; i < this.itemsVOList.length; i++) {
  402. if (this.itemsVOList[i].$cellEdit) {
  403. return this.$message.error('请保存明细')
  404. }
  405. }
  406. let orderFeesList = this.$refs.feeInfo.submitData();
  407. this.subLoading = true;
  408. let data = {
  409. ...this.form,
  410. billType: 'CK',
  411. itemsVOList: this.itemsVOList,
  412. orderFeesList: orderFeesList,
  413. orderFilesList: this.orderFilesList
  414. };
  415. submit(data).then(res => {
  416. this.form = res.data.data;
  417. this.itemsVOList = res.data.data.itemsVOList;
  418. this.orderFeesList = res.data.data.orderFeesList;
  419. this.orderFilesList = res.data.data.orderFilesList;
  420. this.oldform = this.deepClone(res.data.data);
  421. this.olditemsVOList = this.deepClone(res.data.data.itemsVOList);
  422. this.oldorderFeesList = this.deepClone(res.data.data.orderFeesList);
  423. this.oldorderFilesList = this.deepClone(res.data.data.orderFilesList);
  424. this.$message({
  425. type: "success",
  426. message: "保存成功!"
  427. });
  428. if (status == "goBack") {
  429. this.$emit("goBack");
  430. }
  431. })
  432. .finally(() => {
  433. this.subLoading = false;
  434. });
  435. } else {
  436. return false;
  437. }
  438. });
  439. },
  440. //请核
  441. auditCheck() {
  442. let orderFeesList = this.$refs.feeInfo.submitData();
  443. if (orderFeesList.length == 0) {
  444. this.$confirm("没有应收费用,是否继续提交?", {
  445. confirmButtonText: "确定",
  446. cancelButtonText: "取消",
  447. type: "warning"
  448. }).then(() => {
  449. financingExcess({ id: this.form.purchaserId }).then(res => {
  450. if (res.data.data == '操作成功') {
  451. this.$confirm("确定审批此订单?", {
  452. confirmButtonText: "确定",
  453. cancelButtonText: "取消",
  454. type: "warning"
  455. }).then(() => {
  456. this.buttonLoading = true
  457. const data = {
  458. id: this.form.id,
  459. checkType: 'CK',
  460. url: '/salesManagement/outStock/index',
  461. pageStatus: "this.$store.getters.entranceXsStatus",
  462. pageLabel: "出库管理",
  463. checkFlag: 2,
  464. }
  465. checkWarehousing(data).then(res => {
  466. if (res.data.success) {
  467. this.$message.success("操作成功!")
  468. this.viewDisabled = true
  469. this.approverDisabled = true
  470. }
  471. })
  472. }).finally(() => {
  473. this.buttonLoading = false
  474. })
  475. } else {
  476. this.$confirm("此订单余额不足,是否继续确认提交审批?", {
  477. confirmButtonText: "确定",
  478. cancelButtonText: "取消",
  479. type: "warning"
  480. }).then(() => {
  481. this.buttonLoading = true
  482. const data = {
  483. id: this.form.id,
  484. checkType: 'CK',
  485. url: '/salesManagement/outStock/index',
  486. pageStatus: "this.$store.getters.entranceXsStatus",
  487. pageLabel: "出库管理",
  488. checkFlag: 2,
  489. }
  490. checkWarehousing(data).then(res => {
  491. if (res.data.success) {
  492. this.$message.success("操作成功!")
  493. this.viewDisabled = true
  494. this.approverDisabled = true
  495. }
  496. })
  497. }).finally(() => {
  498. this.buttonLoading = false
  499. })
  500. }
  501. })
  502. })
  503. } else {
  504. financingExcess({ id: this.form.purchaserId }).then(res => {
  505. if (res.data.data == '操作成功') {
  506. this.$confirm("确定审批此订单?", {
  507. confirmButtonText: "确定",
  508. cancelButtonText: "取消",
  509. type: "warning"
  510. }).then(() => {
  511. this.buttonLoading = true
  512. const data = {
  513. id: this.form.id,
  514. checkType: 'CK',
  515. url: '/salesManagement/outStock/index',
  516. pageStatus: "this.$store.getters.entranceXsStatus",
  517. pageLabel: "出库管理",
  518. checkFlag: 2,
  519. }
  520. checkWarehousing(data).then(res => {
  521. if (res.data.success) {
  522. this.$message.success("操作成功!")
  523. this.viewDisabled = true
  524. this.approverDisabled = true
  525. }
  526. })
  527. }).finally(() => {
  528. this.buttonLoading = false
  529. })
  530. } else {
  531. this.$confirm("此订单余额不足,是否继续确认提交审批?", {
  532. confirmButtonText: "确定",
  533. cancelButtonText: "取消",
  534. type: "warning"
  535. }).then(() => {
  536. this.buttonLoading = true
  537. const data = {
  538. id: this.form.id,
  539. checkType: 'CK',
  540. url: '/salesManagement/outStock/index',
  541. pageStatus: "this.$store.getters.entranceXsStatus",
  542. pageLabel: "出库管理",
  543. checkFlag: 2,
  544. }
  545. checkWarehousing(data).then(res => {
  546. if (res.data.success) {
  547. this.$message.success("操作成功!")
  548. this.viewDisabled = true
  549. this.approverDisabled = true
  550. }
  551. })
  552. }).finally(() => {
  553. this.buttonLoading = false
  554. })
  555. }
  556. })
  557. }
  558. },
  559. getTemplate() {
  560. window.open(`/api/trade-purchase/woodHarvestingCloud/export-template?${this.website.tokenHeader}=${getToken()}`)
  561. },
  562. //返回列表
  563. backToList() {
  564. let orderFeesList = this.$refs.feeInfo.submitData();
  565. if (
  566. contrastObj(this.form, this.oldform) ||
  567. contrastList(this.itemsVOList, this.olditemsVOList) ||
  568. contrastList(orderFeesList, this.oldorderFeesList) ||
  569. contrastList(this.orderFilesList, this.oldorderFilesList)
  570. ) {
  571. this.$confirm("数据发生变化未有提交记录, 是否提交?", "提示", {
  572. confirmButtonText: "确定",
  573. cancelButtonText: "取消",
  574. type: "warning"
  575. })
  576. .then(() => {
  577. this.editCustomer("goBack");
  578. })
  579. .catch(() => {
  580. this.$emit("goBack");
  581. });
  582. } else {
  583. this.$emit("goBack");
  584. }
  585. },
  586. openEdit() {
  587. this.detailData.status = 2;
  588. this.option.disabled = false;
  589. this.$refs.crud.refreshTable();
  590. },
  591. calculateChange(row) {
  592. row.storageAmount = (row.storageInQuantity ? row.storageInQuantity : 0) * (row.price ? row.price : 0)
  593. },
  594. beforeFinance(feesData, callback) {
  595. let params = {}
  596. //暂时默认通过 之后优化
  597. params.valid = true
  598. params.parentId = this.form.id
  599. callback(params)
  600. },
  601. openReport() {
  602. this.$router.push(`/myiframe/urlPath?name=preview-木材库-出库单.ureport.xml&src=${this.website.reportUrl}/preview?_u=blade-木材库-出库单.ureport.xml&id=${this.form.id}`);
  603. },
  604. async saveColumn() {
  605. const inSave = await this.saveColumnData(
  606. this.getColumnName(191),
  607. this.tableOption
  608. );
  609. if (inSave) {
  610. this.$nextTick(() => {
  611. this.$refs.crud.doLayout();
  612. });
  613. this.$message.success("保存成功");
  614. //关闭窗口
  615. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  616. }
  617. },
  618. async resetColumn() {
  619. this.tableOption = tableOption;
  620. const inSave = await this.delColumnData(
  621. this.getColumnName(191),
  622. tableOption
  623. );
  624. if (inSave) {
  625. this.$nextTick(() => {
  626. this.$refs.crud.doLayout();
  627. });
  628. this.$message.success("重置成功");
  629. //关闭窗口
  630. setTimeout(() => {
  631. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  632. }, 1000);
  633. }
  634. }
  635. },
  636. watch: {
  637. }
  638. };
  639. </script>
  640. <style lang="scss" scoped>
  641. .trading-form ::v-deep .el-form-item {
  642. margin-bottom: 8px !important;
  643. }
  644. ::v-deep .el-form-item__error {
  645. display: none !important;
  646. }
  647. ::v-deep .select-component {
  648. display: flex !important;
  649. }
  650. </style>