modify_list.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  1. <template>
  2. <div class="app-container">
  3. <div v-if="show === 1">
  4. <!-- 筛选条件 -->
  5. <div>
  6. <div>
  7. <el-form
  8. ref="screenForm"
  9. :model="screenForm"
  10. label-width="70px"
  11. size="mini"
  12. label-position="left"
  13. >
  14. <el-row :gutter="20">
  15. <el-col :xs="24" :sm="12" :lg="6">
  16. <el-form-item label="物料编码" prop="materialNumber">
  17. <el-input
  18. placeholder="请输入物料编码"
  19. v-model="screenForm.materialNumber"
  20. ></el-input>
  21. </el-form-item>
  22. </el-col>
  23. <el-col :xs="24" :sm="12" :lg="6">
  24. <el-form-item label="产品名称" prop="materialName">
  25. <el-input
  26. placeholder="请输入产品名称"
  27. v-model="screenForm.materialName"
  28. ></el-input>
  29. </el-form-item>
  30. </el-col>
  31. <el-col :xs="24" :sm="12" :lg="6">
  32. <el-form-item label="产品编码" prop="materialOldNumber">
  33. <el-input
  34. placeholder="请输入产品编码"
  35. v-model="screenForm.materialOldNumber"
  36. ></el-input>
  37. </el-form-item>
  38. </el-col>
  39. <!-- <el-col :xs="24" :sm="12" :lg="6">-->
  40. <!-- <el-form-item label="生效日期" prop="startDate">-->
  41. <!-- <el-date-picker-->
  42. <!-- v-model="screenForm.startDate"-->
  43. <!-- type="datetime"-->
  44. <!-- placeholder="请输入生效日期"-->
  45. <!-- value-format="yyyy-MM-dd HH:mm:ss"-->
  46. <!-- >-->
  47. <!-- </el-date-picker>-->
  48. <!-- </el-form-item>-->
  49. <!-- </el-col>-->
  50. <!-- <el-col :xs="24" :sm="12" :lg="6">-->
  51. <!-- <el-form-item label="失效日期" prop="endDate">-->
  52. <!-- <el-date-picker-->
  53. <!-- v-model="screenForm.endDate"-->
  54. <!-- type="datetime"-->
  55. <!-- placeholder="请输入生效日期"-->
  56. <!-- value-format="yyyy-MM-dd HH:mm:ss "-->
  57. <!-- >-->
  58. <!-- </el-date-picker>-->
  59. <!-- </el-form-item>-->
  60. <!-- </el-col>-->
  61. <el-col :xs="24" :sm="12" :lg="6">
  62. <el-form-item label="销售类型" prop="saleTypeId">
  63. <el-select
  64. v-model="screenForm.saleTypeId"
  65. filterable
  66. placeholder="选择销售类型"
  67. style="width: 100%"
  68. >
  69. <el-option label="全部" value=""></el-option>
  70. <el-option
  71. v-for="item in typeList"
  72. :key="item.id"
  73. :label="item.saleName"
  74. :value="item.id"
  75. ></el-option>
  76. </el-select>
  77. </el-form-item>
  78. </el-col>
  79. <el-col :xs="24" :sm="12" :lg="6">
  80. <el-form-item label="产品类别" prop="k3CategoryNumber">
  81. <el-select
  82. style="width:100%"
  83. placeholder="请选择产品类别"
  84. v-model="screenForm.k3CategoryNumber"
  85. >
  86. <el-option label="全部" value=""></el-option>
  87. <el-option
  88. v-for="item in dictList"
  89. :label="item.name"
  90. :value="item.number"
  91. ></el-option>
  92. </el-select>
  93. </el-form-item>
  94. </el-col>
  95. <el-col :xs="24" :sm="12" :lg="6">
  96. <el-form-item label="规格型号" prop="specification">
  97. <el-input
  98. placeholder="请输入规格型号"
  99. v-model="screenForm.specification"
  100. ></el-input>
  101. </el-form-item>
  102. </el-col>
  103. <el-col :xs="24" :sm="24" :lg="24" class="tr">
  104. <el-form-item label="">
  105. <el-button size="mini" @click="resetScreenForm">清空</el-button>
  106. <el-button size="mini" type="primary" @click="submitScreenForm"
  107. >搜索</el-button
  108. >
  109. </el-form-item>
  110. </el-col>
  111. </el-row>
  112. </el-form>
  113. </div>
  114. </div>
  115. <!-- 按钮 -->
  116. <div class="btn-group clearfix">
  117. <div class="fl">
  118. <el-button type="primary" v-if="$checkBtnRole('add', $route.meta.roles)" icon="el-icon-plus" size="mini" @click="addFn">新增</el-button>
  119. <!-- <el-button type="primary" size="mini">编辑</el-button> -->
  120. <el-popconfirm
  121. v-if="$checkBtnRole('del', $route.meta.roles)"
  122. confirm-button-text="好的"
  123. cancel-button-text="不用了"
  124. icon="el-icon-info"
  125. icon-color="red"
  126. title="内容确定删除吗?"
  127. style="margin-right:10px"
  128. @onConfirm="hanleDeleteAll"
  129. >
  130. <el-button
  131. type="primary"
  132. size="mini"
  133. icon="el-icon-delete"
  134. slot="reference"
  135. class="el-popover-left"
  136. >删除</el-button
  137. >
  138. </el-popconfirm>
  139. <el-button size="mini" type="warning" icon="el-icon-finished" @click="batchExamine" v-if="$checkBtnRole('examine', $route.meta.roles)">批量审批</el-button>
  140. </div>
  141. <div class="fr">
  142. <ExportButton :exUrl="'/product-upd-price/export'" :exParams="exParams" />
  143. <!-- <el-button type="primary" size="mini">导入</el-button>
  144. <el-button type="primary" size="mini">导出</el-button>
  145. <el-button type="primary" size="mini">打印</el-button> -->
  146. </div>
  147. </div>
  148. <div class="mymain-container">
  149. <!-- 列表 -->
  150. <div class="table">
  151. <el-table
  152. v-loading="listLoading"
  153. :data="dataList"
  154. element-loading-text="Loading"
  155. border
  156. fit
  157. highlight-current-row
  158. @select-all="hanleSelectAll"
  159. @select="hanleSelectAll"
  160. stripe
  161. >
  162. <el-table-column
  163. type="selection"
  164. align="left"
  165. width="50"
  166. ></el-table-column>
  167. <el-table-column
  168. align="left"
  169. label="单据号"
  170. prop="updPriceBillId"
  171. min-width="200"
  172. show-overflow-tooltip
  173. >
  174. <template slot-scope="scope">
  175. <CopyButton :copyText="scope.row.updPriceBillId" />
  176. <span>{{scope.row.updPriceBillId}}</span>
  177. </template>
  178. </el-table-column>
  179. <el-table-column
  180. align="left"
  181. label="销售类型"
  182. prop="saleTypeName"
  183. :formatter="formatterType"
  184. min-width="160"
  185. show-overflow-tooltip
  186. ></el-table-column>
  187. <!-- <el-table-column
  188. align="left"
  189. label="产品类别"
  190. prop="mainName"
  191. min-width="160"
  192. show-overflow-tooltip
  193. ></el-table-column> -->
  194. <el-table-column
  195. align="left"
  196. label="物料编码"
  197. prop="materialNumber"
  198. min-width="160"
  199. show-overflow-tooltip
  200. >
  201. <template slot-scope="scope">
  202. <CopyButton :copyText="scope.row.materialNumber" />
  203. <span>{{scope.row.materialNumber}}</span>
  204. </template>
  205. </el-table-column>
  206. <el-table-column
  207. align="left"
  208. label="产品名称"
  209. prop="materialName"
  210. min-width="200"
  211. show-overflow-tooltip
  212. >
  213. <template slot-scope="scope">
  214. <CopyButton :copyText="scope.row.materialName" />
  215. <span>{{scope.row.materialName}}</span>
  216. </template>
  217. </el-table-column>
  218. <el-table-column
  219. align="left"
  220. label="产品编码"
  221. prop="materialOldNumber"
  222. min-width="200"
  223. show-overflow-tooltip
  224. >
  225. <template slot-scope="scope">
  226. <CopyButton :copyText="scope.row.materialOldNumber" />
  227. <span>{{scope.row.materialOldNumber}}</span>
  228. </template>
  229. </el-table-column>
  230. <el-table-column
  231. align="left"
  232. label="规格型号"
  233. prop="specification"
  234. min-width="200"
  235. show-overflow-tooltip
  236. >
  237. <template slot-scope="scope">
  238. <CopyButton :copyText="scope.row.specification" />
  239. <span>{{scope.row.specification}}</span>
  240. </template>
  241. </el-table-column>
  242. <el-table-column
  243. align="left"
  244. label="计量单位"
  245. prop="unit"
  246. min-width="160"
  247. show-overflow-tooltip
  248. ></el-table-column>
  249. <el-table-column
  250. align="right"
  251. label="数量"
  252. prop="qty"
  253. min-width="160"
  254. show-overflow-tooltip
  255. ></el-table-column>
  256. <el-table-column
  257. align="right"
  258. label="批发价"
  259. prop="batchPrice"
  260. min-width="160"
  261. show-overflow-tooltip
  262. ></el-table-column>
  263. <el-table-column
  264. align="right"
  265. label="格力折扣"
  266. prop="discAmount"
  267. min-width="160"
  268. show-overflow-tooltip
  269. ></el-table-column>
  270. <el-table-column
  271. align="left"
  272. label="调价日期"
  273. prop="createTime"
  274. min-width="200"
  275. show-overflow-tooltip
  276. ></el-table-column>
  277. <el-table-column
  278. align="left"
  279. label="生效日期"
  280. prop="startDate"
  281. min-width="200"
  282. show-overflow-tooltip
  283. ></el-table-column>
  284. <el-table-column
  285. align="left"
  286. label="失效日期"
  287. prop="endDate"
  288. min-width="200"
  289. show-overflow-tooltip
  290. ></el-table-column>
  291. <!-- <el-table-column
  292. align="left"
  293. label="是否促销价"
  294. prop="isPromote"
  295. min-width="160"
  296. show-overflow-tooltip
  297. >
  298. <template slot-scope="scope">
  299. <el-tag size="mini" type="success" v-if="scope.row.isPromote">是</el-tag>
  300. <el-tag size="mini" type="danger" v-else>否</el-tag>
  301. </template>
  302. </el-table-column> -->
  303. <el-table-column
  304. align="left"
  305. label="返利类型(钱包)"
  306. prop="wallets"
  307. min-width="200"
  308. show-overflow-tooltip
  309. >
  310. <template slot-scope="scope">
  311. <template v-for="(item, index) in scope.row.wallets">
  312. <template v-if="item.type === 'REBATE'">
  313. <el-tag
  314. type="success"
  315. style="margin: 0 10px"
  316. size="mini"
  317. :key="index"
  318. >
  319. {{ item.walletName }}
  320. </el-tag>
  321. </template
  322. >
  323. </template>
  324. </template>
  325. </el-table-column>
  326. <el-table-column
  327. align="left"
  328. label="现金钱包"
  329. prop="modifyPriceDepartment"
  330. min-width="200"
  331. show-overflow-tooltip
  332. >
  333. <template slot-scope="scope">
  334. <template v-for="(item, index) in scope.row.wallets">
  335. <template v-if="item.type === 'COMMONLY'">
  336. <el-tag
  337. type="success"
  338. style="margin: 0 10px"
  339. size="mini"
  340. :key="index"
  341. >
  342. {{ item.walletName }}
  343. </el-tag>
  344. </template
  345. >
  346. </template>
  347. </template>
  348. </el-table-column>
  349. <el-table-column
  350. align="left"
  351. label="调价部门"
  352. prop="adminWebsitName"
  353. min-width="200"
  354. show-overflow-tooltip
  355. ></el-table-column>
  356. <el-table-column
  357. align="left"
  358. label="调价业务员"
  359. prop="serviceName"
  360. min-width="200"
  361. show-overflow-tooltip
  362. ></el-table-column>
  363. <el-table-column
  364. align="left"
  365. label="制单日期"
  366. prop="createTime"
  367. min-width="200"
  368. show-overflow-tooltip
  369. ></el-table-column>
  370. <el-table-column
  371. align="left"
  372. label="审核人"
  373. prop="confirmName"
  374. min-width="200"
  375. show-overflow-tooltip
  376. ></el-table-column>
  377. <el-table-column
  378. align="left"
  379. label="审核日期"
  380. prop="confirmTime"
  381. min-width="200"
  382. show-overflow-tooltip
  383. ></el-table-column>
  384. <el-table-column
  385. align="left"
  386. label="状态"
  387. prop="examineStatus"
  388. min-width="160"
  389. show-overflow-tooltip
  390. >
  391. <template slot-scope="scope">
  392. <el-tag size="mini" type="success" v-if="scope.row.examineStatus == 'SAVE'"
  393. >保存</el-tag
  394. >
  395. <el-tag
  396. size="mini"
  397. type="danger"
  398. v-else-if="scope.row.examineStatus == 'WAIT'"
  399. >待审核</el-tag
  400. >
  401. <el-tag
  402. size="mini"
  403. type="danger"
  404. v-else-if="scope.row.examineStatus == 'OK'"
  405. >通过</el-tag
  406. >
  407. <el-tag
  408. size="mini"
  409. type="danger"
  410. v-else-if="scope.row.examineStatus == 'FAIL'"
  411. >不通过</el-tag
  412. >
  413. <el-tag size="mini" type="danger" v-else>审核</el-tag>
  414. </template>
  415. </el-table-column>
  416. <el-table-column
  417. align="center"
  418. label="操作"
  419. fixed="right"
  420. min-width="160"
  421. show-overflow-tooltip
  422. >
  423. <template slot-scope="scope">
  424. <template v-if="scope.row.examineStatus == 'SAVE'">
  425. <el-popconfirm
  426. title="确定提审吗?"
  427. @onConfirm="handleGetPriceSubmit(scope.row.updPriceBillId)"
  428. style="margin-right: 10px"
  429. >
  430. <el-button type="text" slot="reference">提审</el-button>
  431. </el-popconfirm>
  432. </template>
  433. <template v-if="scope.row.examineStatus == 'WAIT'">
  434. <el-button
  435. type="text"
  436. class="textColor"
  437. @click="approvalFn(scope.row.updPriceBillId)"
  438. >审批</el-button
  439. >
  440. </template>
  441. <el-button
  442. v-if="scope.row.examineStatus == 'SAVE'"
  443. type="text"
  444. class="textColor"
  445. @click="editFn(scope.row.updPriceBillId,scope.row)"
  446. >编辑</el-button
  447. >
  448. <el-button
  449. type="text"
  450. class="textColor"
  451. @click="detailFn(scope.row.updPriceBillId)"
  452. >详情</el-button
  453. >
  454. </template>
  455. </el-table-column>
  456. </el-table>
  457. </div>
  458. <!-- 分页 -->
  459. <div class="fr">
  460. <el-pagination
  461. @size-change="handleSizeChange"
  462. @current-change="handleCurrentChange"
  463. :current-page="currentPage"
  464. :page-sizes="[10, 20, 30, 50]"
  465. :page-size="10"
  466. layout="total, sizes, prev, pager, next, jumper"
  467. :total="listTotal"
  468. >
  469. </el-pagination>
  470. </div>
  471. </div>
  472. </div>
  473. <ModifyListApply v-else-if="show === 2 || show==5" :cid='cid'/>
  474. <ModifyListApproval v-else-if="show === 3 " :detail="detail" />
  475. <ModifyListDetail v-else :detail="detail" />
  476. <ExamineDialog :isShow.sync="isShowExamineDialog" :examineForm.sync="examineForm" />
  477. </div>
  478. </template>
  479. <script>
  480. import ModifyListApply from './components/modify_list-apply.vue'
  481. import ModifyListApproval from './components/modify_list-approval.vue'
  482. import ModifyListDetail from './components/modify_list-detail.vue'
  483. import ExamineDialog from '@/components/Common/examine-dialog'
  484. import Mixin from '@/mixin/index'
  485. import {
  486. getPriceSubmit,
  487. getProductRricedel,
  488. getProductRriceDetail,
  489. getProductRriceList,
  490. getTypeList,
  491. examineData
  492. } from '@/api/basic_data/material'
  493. import { downloadFiles } from '@/utils/util'
  494. import { getCategoryList } from '@/api/common'
  495. export default {
  496. mixins: [Mixin],
  497. data() {
  498. return {
  499. show: 1,
  500. currentPage: 1, // 当前页码
  501. pageSize: 10, // 每页数量
  502. listTotal: 0, // 列表总数
  503. dataList: [
  504. {
  505. baseUnitId: "",
  506. batchPrice: "",
  507. billId: "",
  508. endDate: "",
  509. id: null,
  510. isPromote: "",
  511. isPublish: "",
  512. materialId: "",
  513. materialName: "",
  514. materialNumber: "",
  515. parentId: "",
  516. qty: "",
  517. rebateUseRate: "",
  518. retailPrice: "",
  519. saleTypeId: "",
  520. specification: "",
  521. startDate: "",
  522. wallets: [],
  523. },
  524. ],
  525. screenForm: {
  526. materialName: "",
  527. materialNumber: "",
  528. startDate: "",
  529. materialOldNumber:'',
  530. saleTypeId:'',
  531. k3CategoryNumber:'',
  532. specification:''
  533. },
  534. liDetail: {},
  535. detail: {},
  536. obj: {
  537. baseUnitId: "",
  538. batchPrice: "",
  539. billId: "",
  540. endDate: "",
  541. id: null,
  542. isPromote: "",
  543. isPublish: "",
  544. materialId: "4",
  545. materialName: "",
  546. materialNumber: "",
  547. parentId: "",
  548. qty: "",
  549. rebateUseRate: "",
  550. retailPrice: "",
  551. saleTypeId: "",
  552. specification: "",
  553. startDate: "",
  554. wallets: [],
  555. },
  556. cid:'',
  557. typeList: [],
  558. dictList:[],
  559. isShowExamineDialog: false,
  560. examineForm: {
  561. status: 'OK',
  562. remark: '',
  563. },
  564. };
  565. },
  566. components: {
  567. ExamineDialog,
  568. ModifyListApply,
  569. ModifyListApproval,
  570. ModifyListDetail,
  571. },
  572. computed:{
  573. exParams() {
  574. return {
  575. materialName: this.screenForm.materialName,
  576. materialNumber: this.screenForm.materialNumber,
  577. startDate:this.screenForm.startDate
  578. };
  579. },
  580. },
  581. mounted() {
  582. let params = {
  583. pageNum: 1,
  584. pageSize: -1,
  585. saleCode: "",
  586. saleName: "",
  587. status: "",
  588. };
  589. getTypeList(params).then((res) => {
  590. this.typeList = res.data.records;
  591. });
  592. getCategoryList({ pageNum:1,pageSize:-1}).then((res) => {
  593. this.dictList = res.data.records
  594. console.log(this.dictList,777777)
  595. })
  596. },
  597. methods: {
  598. formatterType(row) {
  599. for (let i = 0; i < this.typeList.length; i++) {
  600. if (this.typeList[i].id == row.saleTypeId) {
  601. return this.typeList[i].saleName;
  602. }
  603. }
  604. },
  605. addFn() {
  606. this.show = 2;
  607. },
  608. hanleDeleteAll(id) {
  609. this.hanleDeleteAllPromise(id).then((ids) => {
  610. getProductRricedel(ids).then((res) => {
  611. this.$successMsg("删除成功");
  612. this.getList();
  613. });
  614. });
  615. },
  616. // 打开 批量审批
  617. batchExamine() {
  618. if (this.ids.length) {
  619. this.isShowExamineDialog = true;
  620. return
  621. }
  622. this.$errorMsg('请选择审核项')
  623. },
  624. // 提交 批量审批
  625. submitExamineForm() {
  626. // let ids = this.dis.map(item => {
  627. // return item
  628. // });
  629. const ids = [...new Set(this.ids)]
  630. examineData({
  631. ids: ids.join(','),
  632. examineStatus: this.examineForm.status,
  633. examineRemark: this.examineForm.remark,
  634. })
  635. .then((res) => {
  636. this.isShowExamineDialog = false;
  637. this.$successMsg("修改成功");
  638. this.getList();
  639. })
  640. },
  641. handleGetPriceSubmit(id) {
  642. console.log(id);
  643. getPriceSubmit({ ids:id }).then((res) => {
  644. this.$successMsg("已提审");
  645. this.getList();
  646. });
  647. },
  648. approvalFn(id) {
  649. getProductRriceDetail({ id }).then((res) => {
  650. this.detail = res.data;
  651. this.show = 3;
  652. });
  653. },
  654. detailFn(id) {
  655. getProductRriceDetail({ id }).then((res) => {
  656. this.detail = res.data;
  657. this.show = 4;
  658. });
  659. },
  660. getList() {
  661. this.listLoading = true;
  662. console.log(456654);
  663. let params = {
  664. pageNum: this.currentPage,
  665. pageSize: this.pageSize,
  666. materialName: this.screenForm.materialName,
  667. materialNumber: this.screenForm.materialNumber,
  668. startDate: this.screenForm.startDate,
  669. materialOldNumber:this.screenForm.materialOldNumber,
  670. saleTypeId:this.screenForm.saleTypeId,
  671. k3CategoryNumber:this.screenForm.k3CategoryNumber,
  672. specification:this.screenForm.specification
  673. };
  674. getProductRriceList(params).then((res) => {
  675. this.dataList = res.data.records;
  676. this.listTotal = res.data.total;
  677. this.listLoading = false;
  678. });
  679. },
  680. editFn(id, row) {
  681. this.cid = id
  682. this.show = 5;
  683. // this.diaLogForm = {
  684. // id,
  685. // composeNumber: row.composeNumber,
  686. // items: row.items === undefined ? [] : row.items,
  687. // materialId: row.materialId,
  688. // orgNumber: row.orgNumber,
  689. // productModel: row.productModel,
  690. // productVolume: row.productVolume,
  691. // };
  692. // this.showDialogForm = true;
  693. },
  694. hanleInfo() {
  695. if (this.type === 1) {
  696. getProductAdd(this.diaLogForm).then((res) => {
  697. this.$successMsg("保存成功");
  698. console.log(params, 123);
  699. this.getList();
  700. });
  701. } else if (this.type === 2) {
  702. const params = {
  703. ...this.diaLogForm,
  704. };
  705. console.log(params, 123);
  706. getProductEdit(params).then((res) => {
  707. this.$successMsg("编辑成功");
  708. this.getList();
  709. });
  710. this.diaLogForm.id = null;
  711. }
  712. this.showDialogForm = false;
  713. },
  714. hanleDelete(id) {
  715. this.hanleDeleteAllPromise(id).then((ids) => {
  716. getProductDel(ids).then((res) => {
  717. this.$successMsg("删除成功");
  718. });
  719. });
  720. },
  721. handleExport() {
  722. let screenData = {
  723. customerName: this.screenForm.customerName,
  724. freeDay: this.screenForm.freeDay,
  725. toll: this.screenForm.toll,
  726. };
  727. downloadFiles("/product-compose/export", screenData);
  728. },
  729. resetInfo() {
  730. this.diaLogForm = {
  731. id: null,
  732. composeNumber: "",
  733. id: "",
  734. items: [],
  735. materialId: "",
  736. orgNumber: 0,
  737. productModel: "",
  738. productVolume: "",
  739. };
  740. },
  741. },
  742. };
  743. </script>
  744. <style lang="scss" scoped>
  745. ::v-deep .el-select--small {
  746. width: 100%;
  747. }
  748. </style>