index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600
  1. <template>
  2. <div class="app-container">
  3. <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
  4. <el-form-item label="仓库" prop="fwarehouseid">
  5. <treeselect style="width:160px"
  6. v-model="queryParams.fWarehouseid"
  7. :options="fWarehouseidOption"
  8. @select="treeseLect"
  9. :show-count="true"
  10. placeholder="请选择归属库区" />
  11. </el-form-item>
  12. <el-form-item label="货物名称" prop="fgoodsid">
  13. <el-select
  14. v-model="queryParams.fGoodsid"
  15. filterable
  16. remote
  17. clearable
  18. size="small"
  19. :remote-method="goodsRemoteMethod"
  20. @keyup.enter.native="handleQuery"
  21. placeholder="请选择货物名称"
  22. >
  23. <el-option
  24. v-for="(dict, index) in goodsOptions"
  25. :key="index.fId"
  26. :label="dict.fName"
  27. :value="dict.fId"
  28. ></el-option>
  29. </el-select>
  30. </el-form-item>
  31. <el-form-item label="业务日期" prop="timeInterval">
  32. <el-date-picker
  33. v-model="queryParams.timeInterval"
  34. type="daterange"
  35. value-format="yyyy-MM-dd"
  36. clearable
  37. style="width: 60%"
  38. range-separator="至"
  39. start-placeholder="开始日期"
  40. end-placeholder="结束日期"
  41. @keyup.enter.native="handleQuery"
  42. >
  43. </el-date-picker>
  44. </el-form-item>
  45. <el-form-item label="贸易方式" prop="fTrademodeid">
  46. <el-select
  47. v-model="queryParams.fTrademodeid"
  48. placeholder="请选择贸易方式"
  49. clearable
  50. size="small"
  51. @keyup.enter.native="handleQuery"
  52. >
  53. <el-option
  54. v-for="(dict, index) in fTrademodeidOptions"
  55. :key="index.dictValue"
  56. :label="dict.dictLabel"
  57. :value="dict.dictValue"
  58. />
  59. </el-select>
  60. </el-form-item>
  61. <el-form-item label="货权方" prop="fCorpid">
  62. <el-select
  63. v-model="queryParams.fCorpid"
  64. filterable
  65. remote
  66. clearable
  67. size="small"
  68. @keyup.enter.native="handleQuery"
  69. :remote-method="corpsRemoteMethod"
  70. placeholder="请选择货权方"
  71. >
  72. <el-option
  73. v-for="(dict, index) in fMblnoOptions"
  74. :key="index.fId"
  75. :label="dict.fName"
  76. :value="dict.fId"
  77. ></el-option>
  78. </el-select>
  79. </el-form-item>
  80. <el-form-item label="提单号" prop="fMblno">
  81. <el-input
  82. v-model="queryParams.fMblno"
  83. placeholder="请输入提单号"
  84. clearable
  85. size="small"
  86. @keyup.enter.native="handleQuery"
  87. />
  88. </el-form-item>
  89. <!-- <el-form-item label="箱号" prop="fCntrno">-->
  90. <!-- <el-input-->
  91. <!-- v-model="queryParams.fCntrno"-->
  92. <!-- placeholder="请输入箱号"-->
  93. <!-- clearable-->
  94. <!-- size="small"-->
  95. <!-- @keyup.enter.native="handleQuery"-->
  96. <!-- />-->
  97. <!-- </el-form-item>-->
  98. <el-form-item label="出库/入库" prop="fBilltype" label-width="80">
  99. <el-select
  100. v-model="queryParams.fBilltype"
  101. placeholder="请选择出库/入库"
  102. clearable
  103. size="small"
  104. @keyup.enter.native="handleQuery"
  105. >
  106. <el-option
  107. v-for="(dict,index) in options"
  108. :key="index.key"
  109. :label="dict.name"
  110. :value="dict.key"/>
  111. </el-select>
  112. </el-form-item>
  113. <el-form-item>
  114. <el-button type="cyan" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
  115. <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
  116. </el-form-item>
  117. </el-form>
  118. <el-row :gutter="10" class="mb8">
  119. <el-col :span="1.5">
  120. <el-button
  121. type="warning"
  122. icon="el-icon-download"
  123. size="mini"
  124. @click="handleExport"
  125. v-hasPermi="['warehouseBusiness:whgenleg:export']"
  126. >导出</el-button>
  127. </el-col>
  128. <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
  129. </el-row>
  130. <el-table v-loading="loading" :data="whgenlegList" show-summary :summary-method="getSum">
  131. <!-- <el-table-column type="selection" width="55" align="center" /> -->
  132. <el-table-column type="index" label="行号" align="center" width="100" fixed/>
  133. <el-table-column label="客户" sortable align="center" prop="fName" width="260" fixed/>
  134. <el-table-column label="入库日期" sortable align="center" prop="fBsdate" width="120" fixed>
  135. <template slot-scope="scope">
  136. <span>{{ parseTime(scope.row.fBsdate, "{y}-{m}-{d}") }}</span>
  137. </template>
  138. </el-table-column>
  139. <el-table-column label="提单号" sortable align="center" fixed prop="fMblno" show-overflow-tooltip width="216"/>
  140. <el-table-column label="出入库类型" align="center" prop="fBilltype" width="100"/>
  141. <el-table-column label="货物属性" align="center" prop="fBusinessTypes" width="120"/>
  142. <el-table-column label="属性详情" align="center" prop="fMarks" width="120"/>
  143. <el-table-column label="品名" align="center" prop="fGoodsName" width="120"/>
  144. <el-table-column label="库区" sortable align="center" prop="fWarehouseLocationids" width="160"/>
  145. <el-table-column label="贸易方式" align="center" prop="fTrademodeid" width="120"/>
  146. <!-- <el-table-column
  147. label="贸易方式"
  148. align="center"
  149. prop="fTrademodeid"
  150. :formatter="fTrademodeidFormat"
  151. width="120"
  152. />-->
  153. <el-table-column label="件数" align="center" prop="fQty" />
  154. <el-table-column label="毛重(kg)" align="center" prop="fGrossweight" />
  155. <el-table-column label="净重(kg)" align="center" prop="fNetweight" />
  156. <!-- <el-table-column v-if="queryParams.fBilltype === 'SJRK'" label="入库件数" align="center" prop="fQty" width="120"/>-->
  157. <!-- <el-table-column v-if="queryParams.fBilltype === 'SJCK'" label="出库件数" align="center" prop="fQty" width="120"/>-->
  158. <!-- <el-table-column label="入库尺码" align="center" prop="fVolumnD" />-->
  159. <!-- <el-table-column v-if="queryParams.fBilltype === 'SJRK'" label="入库毛重" align="center" prop="fGrossweight" width="120"/>-->
  160. <!-- <el-table-column v-if="queryParams.fBilltype === 'SJCK'" label="出库毛重" align="center" prop="fGrossweight" width="120"/>-->
  161. <!-- <el-table-column v-if="queryParams.fBilltype === 'SJRK'" label="入库净重" align="center" prop="fNetweight" width="120"/>-->
  162. <!-- <el-table-column v-if="queryParams.fBilltype === 'SJCK'" label="出库净重" align="center" prop="fNetweight" width="120"/>-->
  163. <!-- <el-table-column label="出库尺码" align="center" prop="fVolumnC" />-->
  164. <!-- <el-table-column label="出库件数" align="center" prop="fQtyC" width="120"/>-->
  165. <!-- <el-table-column label="出库毛重" align="center" prop="fGrossweightC" width="120"/>-->
  166. <!-- <el-table-column label="出库净重" align="center" prop="fNetweightC" width="120"/>-->
  167. <!-- <el-table-column label="结余件数" align="center" prop="fQtyblc" width="120"/>-->
  168. <!-- <el-table-column label="结余毛重" align="center" prop="fGrossweightblc" width="120"/>-->
  169. <!-- <el-table-column label="结余净重" align="center" prop="fNetweightblc" width="120"/>-->
  170. <!-- <el-table-column label="箱号" align="center" prop="fCntrno" width="120"/>-->
  171. <!-- <el-table-column label="备注" align="center" prop="remark" width="120"/>-->
  172. <!-- <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
  173. <template slot-scope="scope">
  174. <el-button
  175. size="mini"
  176. type="text"
  177. icon="el-icon-edit"
  178. @click="handleUpdate(scope.row)"
  179. v-hasPermi="['warehouseBusiness:whgenleg:edit']"
  180. >修改</el-button>
  181. <el-button
  182. size="mini"
  183. type="text"
  184. icon="el-icon-delete"
  185. @click="handleDelete(scope.row)"
  186. v-hasPermi="['warehouseBusiness:whgenleg:remove']"
  187. >删除</el-button>
  188. </template>
  189. </el-table-column> -->
  190. </el-table>
  191. <pagination
  192. v-show="total>0"
  193. :total="total"
  194. :page.sync="queryParams.pageNum"
  195. :limit.sync="queryParams.pageSize"
  196. :page-sizes="[50,100, 200, 500, 1000]"
  197. @pagination="getList"
  198. />
  199. <!-- 添加或修改库存总账对话框 -->
  200. <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
  201. <el-form ref="form" :model="form" :rules="rules" label-width="80px">
  202. <el-form-item label="原始入库业务编号" prop="fOriginalbillno">
  203. <el-input v-model="form.fOriginalbillno" placeholder="请输入原始入库业务编号" />
  204. </el-form-item>
  205. <el-form-item label="上期件数" prop="fPreqty">
  206. <el-input v-model="form.fPreqty" placeholder="请输入上期件数" />
  207. </el-form-item>
  208. <el-form-item label="上期毛重(kg),单位为吨,保留6位小数" prop="fPregrossweight">
  209. <el-input v-model="form.fPregrossweight" placeholder="请输入上期毛重,单位为吨,保留6位小数" />
  210. </el-form-item>
  211. <el-form-item label="上期净重(kg)," prop="fPrenetweight">
  212. <el-input v-model="form.fPrenetweight" placeholder="请输入上期净重," />
  213. </el-form-item>
  214. <el-form-item label="入库件数" prop="fQtyd">
  215. <el-input v-model="form.fQtyd" placeholder="请输入入库件数" />
  216. </el-form-item>
  217. <el-form-item label="入库尺码" prop="fVolumnd">
  218. <el-input v-model="form.fVolumnd" placeholder="请输入入库尺码" />
  219. </el-form-item>
  220. <el-form-item label="入库毛重(kg)" prop="fGrossweightd">
  221. <el-input v-model="form.fGrossweightd" placeholder="请输入入库毛重" />
  222. </el-form-item>
  223. <el-form-item label="入库净重(kg)" prop="fNetweightd">
  224. <el-input v-model="form.fNetweightd" placeholder="请输入入库净重" />
  225. </el-form-item>
  226. <el-form-item label="出口尺码" prop="fVolumnc">
  227. <el-input v-model="form.fVolumnc" placeholder="请输入出口尺码" />
  228. </el-form-item>
  229. <el-form-item label="出库件数" prop="fQtyc">
  230. <el-input v-model="form.fQtyc" placeholder="请输入出库件数" />
  231. </el-form-item>
  232. <el-form-item label="结余件数" prop="fQtyblc">
  233. <el-input v-model="form.fQtyblc" placeholder="请输入结余件数" />
  234. </el-form-item>
  235. <el-form-item label="出库毛重(kg),单位为吨" prop="fGrossweightc">
  236. <el-input v-model="form.fGrossweightc" placeholder="请输入出库毛重(kg),单位为吨" />
  237. </el-form-item>
  238. <el-form-item label="出库净重(kg)" prop="fNetweightc">
  239. <el-input v-model="form.fNetweightc" placeholder="请输入出库净重" />
  240. </el-form-item>
  241. <el-form-item label="结余毛重(kg)" prop="fGrossweightblc">
  242. <el-input v-model="form.fGrossweightblc" placeholder="请输入结余毛重" />
  243. </el-form-item>
  244. <el-form-item label="结余净重" prop="fNetweightblc">
  245. <el-input v-model="form.fNetweightblc" placeholder="请输入结余净重" />
  246. </el-form-item>
  247. <el-form-item label="箱号" prop="fCntrno">
  248. <el-input v-model="form.fCntrno" placeholder="请输入箱号" />
  249. </el-form-item>
  250. <el-form-item label="状态,默认 T ,正常T 停用F 下拉选择">
  251. <el-radio-group v-model="form.fStatus">
  252. <el-radio label="1">请选择字典生成</el-radio>
  253. </el-radio-group>
  254. </el-form-item>
  255. <el-form-item label="删除状态" prop="delFlag">
  256. <el-input v-model="form.delFlag" placeholder="请输入删除状态" />
  257. </el-form-item>
  258. <el-form-item label="唛头" prop="fMarks">
  259. <el-input v-model="form.fMarks" placeholder="请输入唛头" />
  260. </el-form-item>
  261. <el-form-item label="备注" prop="remark">
  262. <el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
  263. </el-form-item>
  264. </el-form>
  265. <div slot="footer" class="dialog-footer">
  266. <el-button type="primary" @click="submitForm">确 定</el-button>
  267. <el-button @click="cancel">取 消</el-button>
  268. </div>
  269. </el-dialog>
  270. </div>
  271. </template>
  272. <script>
  273. import { listWhgenleg, getWhgenleg, delWhgenleg, addWhgenleg, updateWhgenleg, exportWhgenleg , } from "@/api/reportManagement/Statistics";
  274. import {listWarehouse, treeselect} from "@/api/basicdata/warehouse";
  275. import {listArea} from "@/api/basicdata/area";
  276. import {listGoods} from "@/api/basicdata/goods";
  277. import {listCorps} from "@/api/basicdata/corps";
  278. import Treeselect from '@riophae/vue-treeselect'
  279. import "@riophae/vue-treeselect/dist/vue-treeselect.css";
  280. export default {
  281. name: "Whgenleg",
  282. components: {
  283. Treeselect
  284. },
  285. data() {
  286. return {
  287. //仓库树状下拉
  288. fWarehouseidOption:[],
  289. options:[{
  290. name:'出库',
  291. key:'SJCK'
  292. },{
  293. name:'入库',
  294. key:'SJRK'
  295. }],
  296. // 货权方(客户数据)
  297. fMblnoOptions: [],
  298. // 贸易方式(数据字典),对应t_trademodels 字典
  299. fTrademodeidOptions: [],
  300. // 货物
  301. goodsOptions: [],
  302. // 仓库(仓库数据)
  303. warehouseOptions: [],
  304. kqhouseOptions: [],
  305. // 遮罩层
  306. loading: true,
  307. // 显示搜索条件
  308. showSearch: true,
  309. // 总条数
  310. total: 0,
  311. // 库存总账表格数据
  312. whgenlegList: [],
  313. // 弹出层标题
  314. title: "",
  315. // 是否显示弹出层
  316. open: false,
  317. // 查询参数
  318. queryParams: {
  319. pageNum: 1,
  320. pageSize: 50,
  321. fOriginalbillno: null,
  322. fPreqty: null,
  323. fPregrossweight: null,
  324. fPrenetweight: null,
  325. fQtyd: null,
  326. fVolumnd: null,
  327. fGrossweightd: null,
  328. fNetweightd: null,
  329. fVolumnc: null,
  330. fQtyc: null,
  331. fQtyblc: null,
  332. fGrossweightc: null,
  333. fNetweightc: null,
  334. fGrossweightblc: null,
  335. fNetweightblc: null,
  336. fCntrno: null,
  337. fStatus: null,
  338. fMarks: null,
  339. fBusinessType:null,
  340. fBusinessTypes:null,
  341. fBilltype:'SJRK',
  342. fwarehouseid:null
  343. },
  344. // 表单参数
  345. form: {},
  346. // 表单校验
  347. rules: {
  348. fMarks: [
  349. { required: true, message: "唛头不能为空", trigger: "blur" }
  350. ],
  351. }
  352. };
  353. },
  354. created() {
  355. this.getList();
  356. this.getDicts("data_trademodes").then((response) => {
  357. this.fTrademodeidOptions = response.data;
  358. });
  359. treeselect().then(response => {
  360. this.fWarehouseidOption = response.data
  361. })
  362. },
  363. methods: {
  364. //合计
  365. getSum(param){
  366. const { columns, data } = param
  367. const sums = []
  368. columns.forEach((column, index) => {
  369. if (index === 0) {
  370. sums[index] = '总计'
  371. } else if (index ===12 || index ===10 || index ===11 ) {
  372. const values = data.map(item => Number(item[column.property]))
  373. if (!values.every(value => isNaN(value))) {
  374. sums[index] = values.reduce((prev, curr) => {
  375. const value = Number(curr)
  376. if (!isNaN(value)) {
  377. return prev + curr
  378. } else {
  379. return prev
  380. }
  381. }, 0)
  382. if(index ===12 || index ===11){
  383. sums[index] = (sums[index]/1000).toFixed(2) + '(吨)'
  384. }
  385. }
  386. }
  387. })
  388. return sums
  389. },
  390. treeseLect(tree){
  391. this.queryParams.fWarehouseid = tree.id
  392. },
  393. getTreeselect() {
  394. treeselect().then(response => {
  395. this.warehousesOptions = response.data;
  396. });
  397. },
  398. // 贸易方式(数据字典),对���t_trademodels 字典翻译
  399. fTrademodeidFormat(row, column) {
  400. return this.selectDictLabel(this.fTrademodeidOptions, row.fTrademodeid);
  401. },
  402. /* 远程模糊查询仓库 */
  403. warehouseRemoteMethod(name) {
  404. if (name == null || name === "") {
  405. return false;
  406. }
  407. let queryParams = { pageNum: 1, pageSize: 10, fName: name };
  408. listWarehouse(queryParams).then((response) => {
  409. this.warehouseOptions = response.rows;
  410. });
  411. },
  412. /* 远程模糊查询库区 */
  413. kqhouseRemoteMethod(name) {
  414. if (name == null || name === "") {
  415. return false;
  416. }
  417. if (!this.queryParams.fWarehouseid) {
  418. this.$message.error("请输入仓库!");
  419. return false;
  420. }
  421. let queryParams = {
  422. pageNum: 1,
  423. pageSize: 10,
  424. fWarehouseid: this.queryParams.fWarehouseid,
  425. fName: name,
  426. };
  427. listArea(queryParams).then((response) => {
  428. this.kqhouseOptions = response.rows;
  429. });
  430. },
  431. /* 远程模糊查询商品 */
  432. goodsRemoteMethod(name) {
  433. if (name == null || name === "") {
  434. return false;
  435. }
  436. let queryParams = { pageNum: 1, pageSize: 10, fName: name };
  437. listGoods(queryParams).then((response) => {
  438. this.goodsOptions = response.rows;
  439. });
  440. },
  441. /* 远程模糊查询用户 */
  442. corpsRemoteMethod(name) {
  443. if (name == null || name === "") {
  444. return false;
  445. }
  446. let queryParams = { pageNum: 1, pageSize: 10, fName: name };
  447. listCorps(queryParams).then((response) => {
  448. this.fMblnoOptions = response.rows;
  449. this.KHblnoOptions = response.rows;
  450. });
  451. },
  452. /** 查询库存总账列表 */
  453. getList() {
  454. this.loading = true;
  455. listWhgenleg(this.queryParams).then(response => {
  456. this.whgenlegList = response.rows;
  457. this.total = response.total;
  458. this.loading = false;
  459. });
  460. },
  461. // 取消按钮
  462. cancel() {
  463. this.open = false;
  464. this.reset();
  465. },
  466. // 表单重置
  467. reset() {
  468. this.form = {
  469. fAccyear: null,
  470. fId: null,
  471. fAccmonth: null,
  472. fCorpid: null,
  473. fMblno: null,
  474. fOriginalbillno: null,
  475. fWarehouseLocationid: null,
  476. fGoodsid: null,
  477. fwarehouseid:null,
  478. fTrademodeid: null,
  479. fPreqty: null,
  480. fPregrossweight: null,
  481. fPrenetweight: null,
  482. fQtyd: null,
  483. fVolumnd: null,
  484. fGrossweightd: null,
  485. fNetweightd: null,
  486. fVolumnc: null,
  487. fQtyc: null,
  488. fQtyblc: null,
  489. fGrossweightc: null,
  490. fNetweightc: null,
  491. fGrossweightblc: null,
  492. fNetweightblc: null,
  493. fCntrno: null,
  494. fStatus: "0",
  495. delFlag: null,
  496. createBy: null,
  497. fMarks: null,
  498. createTime: null,
  499. updateBy: null,
  500. updateTime: null,
  501. remark: null
  502. };
  503. this.resetForm("form");
  504. },
  505. /** 搜索按钮操作 */
  506. handleQuery() {
  507. this.queryParams.pageNum = 1;
  508. this.getList();
  509. },
  510. /** 重置按钮操作 */
  511. resetQuery() {
  512. this.queryParams = {
  513. pageNum: 1,
  514. pageSize: 10,
  515. fOriginalbillno: null,
  516. fPreqty: null,
  517. fPregrossweight: null,
  518. fPrenetweight: null,
  519. fQtyd: null,
  520. fVolumnd: null,
  521. fGrossweightd: null,
  522. fNetweightd: null,
  523. fVolumnc: null,
  524. fQtyc: null,
  525. fQtyblc: null,
  526. fGrossweightc: null,
  527. fNetweightc: null,
  528. fGrossweightblc: null,
  529. fNetweightblc: null,
  530. fCntrno: null,
  531. fStatus: null,
  532. fMarks: null,
  533. fBusinessType:null,
  534. fBusinessTypes:null,
  535. fBilltype:'SJRK',
  536. fwarehouseid:null
  537. }
  538. // this.resetForm("queryForm");
  539. this.handleQuery();
  540. },
  541. /** 新增按钮操作 */
  542. handleAdd() {
  543. this.reset();
  544. this.open = true;
  545. this.title = "添加库存总账";
  546. },
  547. /** 提交按钮 */
  548. submitForm() {
  549. this.$refs["form"].validate(valid => {
  550. if (valid) {
  551. if (this.form.fAccyear != null) {
  552. updateWhgenleg(this.form).then(response => {
  553. this.msgSuccess("修改成功");
  554. this.open = false;
  555. this.getList();
  556. });
  557. } else {
  558. addWhgenleg(this.form).then(response => {
  559. this.msgSuccess("新增成功");
  560. this.open = false;
  561. this.getList();
  562. });
  563. }
  564. }
  565. });
  566. },
  567. /** 导出按钮操作 */
  568. handleExport() {
  569. const queryParams = this.queryParams;
  570. this.$confirm('是否确认导出所有库存总账数据项?', "警告", {
  571. confirmButtonText: "确定",
  572. cancelButtonText: "取消",
  573. type: "warning"
  574. }).then(function() {
  575. return exportWhgenleg(queryParams);
  576. }).then(response => {
  577. this.download(response.msg);
  578. })
  579. }
  580. }
  581. };
  582. </script>
  583. <style lang="scss">
  584. .el-table {
  585. .el-table__body-wrapper {
  586. z-index: 2;
  587. }
  588. }
  589. </style>