2003b8ada9e26e49c61da9adf7159b00882017f7.svn-base 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. <template>
  2. <div class="app-container">
  3. <el-tabs v-model="activeName" @tab-click="handleTabClick">
  4. <el-tab-pane label="库存统计" name="first">
  5. <div class="search">
  6. <el-date-picker v-model="tab.table.getdataListParm.parammaps.inputDatetime" :clearable="false" class="inputDatetime filter-item" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" style="float: left;width: 250px;margin-bottom:10px;" :picker-options="pickerOptions" />
  7. <el-input v-model="tab.table.getdataListParm.parammaps.feedname" class="filter-item" style="float: left;width: 245px;margin-bottom:10px;" placeholder="饲料名称" />
  8. <el-button class="successBorder" style="float: left;margin-left: 10px;margin-bottom:10px;" @click="handleSearch('first')">查询</el-button>
  9. <el-button class="export" style="float: right;margin-right: 10px;margin-bottom:10px;" @click="handleExport">导出</el-button>
  10. </div>
  11. <div class="table">
  12. <el-table
  13. :key="tab.table.tableKey"
  14. v-loading="tab.table.listLoading"
  15. element-loading-text="给我一点时间"
  16. :data="tab.table.list"
  17. border
  18. fit
  19. highlight-current-row
  20. style="width: 100%;"
  21. :row-style="rowStyle"
  22. :cell-style="cellStyle"
  23. class="elTable table-fixed"
  24. >
  25. <el-table-column label="饲料名称" min-width="130px" align="center">
  26. <template slot-scope="scope">
  27. <span>{{ scope.row.feedname }}</span>
  28. </template>
  29. </el-table-column>
  30. <el-table-column label="期初" min-width="130px" align="center">
  31. <el-table-column prop="startsum" align="center" label="期初库存(kg)" min-width="120" />
  32. <el-table-column prop="startprice" align="center" label="期初金额(元)" min-width="120" />
  33. </el-table-column>
  34. <el-table-column label="用量" min-width="110px" align="center">
  35. <el-table-column prop="laidsum" align="center" label="入库重量(kg)" min-width="120" />
  36. <el-table-column prop="usesumXT" align="center" label="系统出库重量(kg)" min-width="120" />
  37. <el-table-column prop="usesumRG" align="center" label="人工用料重量(kg)" min-width="120" />
  38. <el-table-column prop="usesumXH" align="center" label="损耗重量(kg)" min-width="120" />
  39. </el-table-column>
  40. <el-table-column label="期末" min-width="130px" align="center">
  41. <el-table-column prop="stopsum" align="center" label="期末库存(kg)" min-width="120" />
  42. <el-table-column prop="stopprice" align="center" label="期末金额(元)" min-width="120" />
  43. </el-table-column>
  44. </el-table>
  45. <pagination v-show="tab.table.total>=0" :total="tab.table.total" :page.sync="tab.table.getdataListParm.offset" :limit.sync="tab.table.getdataListParm.pagecount" @pagination="getTabList" />
  46. </div>
  47. </el-tab-pane>
  48. <el-tab-pane label="用料分析" name="second">
  49. <div class="search">
  50. <el-date-picker v-model="tab2.table.getdataListParm.parammaps.inputDatetime" :clearable="false" class="inputDatetime filter-item" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" style="width: 250px;" :picker-options="pickerOptions" />
  51. <span style="margin-left: 10px;">统计类型:</span>
  52. <el-radio v-model="tab2.radio" label="1" @change="changeRadio2">牲畜类别</el-radio>
  53. <el-radio v-model="tab2.radio" label="2" @change="changeRadio2">栏舍名称</el-radio>
  54. <el-radio v-model="tab2.radio" label="3" @change="changeRadio2">日期</el-radio>
  55. <el-radio v-model="tab2.radio" label="4" @change="changeRadio2">TMR设备编号</el-radio>
  56. <el-radio v-model="tab2.radio" label="5" @change="changeRadio2">班次</el-radio>
  57. <el-radio v-model="tab2.radio" label="6" @change="changeRadio2">车次</el-radio>
  58. <el-input v-if="tab2.isRadio1" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item" style="width: 245px;" placeholder="牲畜类别" />
  59. <el-input v-if="tab2.isRadio2" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item" style="width: 245px;" placeholder="栏舍名称" />
  60. <el-input v-if="tab2.isRadio3" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item" style="width: 245px;" placeholder="日期" />
  61. <el-input v-if="tab2.isRadio4" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item" style="width: 245px;" placeholder="TMR设备编号" />
  62. <el-input v-if="tab2.isRadio5" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item" style="width: 245px;" placeholder="班次" />
  63. <el-input v-if="tab2.isRadio6" v-model="tab2.table.getdataListParm.parammaps.fname" class="filter-item" style="width: 245px;" placeholder="车次" />
  64. <el-button class="successBorder" @click="handleSearch('second')">查询</el-button>
  65. </div>
  66. <el-table
  67. :key="tab2.table.tableKey"
  68. v-loading="tab2.table.listLoading"
  69. element-loading-text="给我一点时间"
  70. :data="tab2.table.list"
  71. border
  72. fit
  73. highlight-current-row
  74. style="width: 100%;"
  75. :row-style="rowStyle"
  76. :cell-style="cellStyle"
  77. class="elTable table-fixed"
  78. >
  79. <el-table-column v-for="item in tab2.table.tableConfig" align="center" :label="item.label" :prop="item.prop">
  80. <el-table-column v-for="item1 in item.children" v-if="item.children || item.children.length>0" align="center" :label="item1.label" :prop="item1.prop">
  81. <el-table-column v-for="item2 in item1.children" v-if="item1.children || item1.children.length>0" :label="item2.label" :prop="item2.prop" />
  82. </el-table-column>
  83. </el-table-column>
  84. </el-table>
  85. </el-tab-pane>
  86. <el-tab-pane label="价格分析" name="third">
  87. <div class="search">
  88. <el-date-picker v-model="tab3.table.getdataListParm.parammaps.inputDatetime" class="inputDatetime filter-item" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" style="width: 250px;" :picker-options="pickerOptions" />
  89. <span style="margin-left: 10px;">统计类型:</span>
  90. <el-radio v-model="tab3.radio" label="1" @change="changeRadio3">牲畜类别</el-radio>
  91. <el-radio v-model="tab3.radio" label="2" @change="changeRadio3">栏舍名称</el-radio>
  92. <el-radio v-model="tab3.radio" label="3" @change="changeRadio3">日期</el-radio>
  93. <el-radio v-model="tab3.radio" label="4" @change="changeRadio3">TMR设备编号</el-radio>
  94. <el-input v-if="tab3.isRadio1" v-model="tab3.table.getdataListParm.parammaps.fname" class="filter-item" style="width: 245px;" placeholder="牲畜类别" />
  95. <el-input v-if="tab3.isRadio2" v-model="tab3.table.getdataListParm.parammaps.fname" class="filter-item" style="width: 245px;" placeholder="栏舍名称" />
  96. <el-input v-if="tab3.isRadio3" v-model="tab3.table.getdataListParm.parammaps.fname" class="filter-item" style="width: 245px;" placeholder="日期" />
  97. <el-input v-if="tab3.isRadio4" v-model="tab3.table.getdataListParm.parammaps.fname" class="filter-item" style="width: 245px;" placeholder="TMR设备编号" />
  98. <el-button class="successBorder" @click="handleSearch('third')">查询</el-button>
  99. </div>
  100. <el-table
  101. :key="tab3.table.tableKey"
  102. v-loading="tab3.table.listLoading"
  103. element-loading-text="给我一点时间"
  104. :data="tab3.table.list"
  105. border
  106. fit
  107. highlight-current-row
  108. style="width: 100%;"
  109. :row-style="rowStyle"
  110. :cell-style="cellStyle"
  111. class="elTable table-fixed"
  112. >
  113. <el-table-column v-for="item in tab3.table.tableConfig" align="center" :label="item.label" :prop="item.prop">
  114. <el-table-column v-for="item1 in item.children" v-if="item.children || item.children.length>0" align="center" :label="item1.label" :prop="item1.prop">
  115. <el-table-column v-for="item2 in item1.children" v-if="item1.children || item1.children.length>0" :label="item2.label" :prop="item2.prop" />
  116. </el-table-column>
  117. </el-table-column>
  118. </el-table>
  119. </el-tab-pane>
  120. </el-tabs>
  121. </div>
  122. </div>
  123. </template>
  124. <script>
  125. import { GetDataByName, GetReportform } from '@/api/common'
  126. import Cookies from 'js-cookie'
  127. import { parseTime } from '@/utils/index.js'
  128. import Pagination from '@/components/Pagination'
  129. export default {
  130. name: 'InventoryManagement',
  131. components: { Pagination },
  132. data() {
  133. return {
  134. pickerMinDate: '',
  135. pickerOptions: {
  136. onPick: ({ maxDate, minDate }) => {
  137. this.pickerMinDate = minDate.getTime()
  138. if (maxDate) {
  139. this.pickerMinDate = ''
  140. }
  141. },
  142. // 限制不能选择今天之后的日期
  143. disabledDate: (time) => {
  144. if (this.pickerMinDate !== '') {
  145. const one = 31 * 24 * 3600 * 1000
  146. const minTime = this.pickerMinDate - one
  147. let maxTime = this.pickerMinDate + one
  148. if (maxTime > new Date()) {
  149. maxTime = new Date()
  150. }
  151. return time.getTime() < minTime || time.getTime() > maxTime
  152. }
  153. return time.getTime() > Date.now()
  154. }
  155. },
  156. fileComment: [{ 'label': '商务文件评分', 'children': [{ 'label': '1' }, { 'label': '2' }, { 'label': '管理员' }] }],
  157. activeName: 'first',
  158. tab: {
  159. chartDate: [],
  160. table: {
  161. getdataListParm: {
  162. name: 'getfsStaticlist',
  163. page: 1,
  164. offset: 1,
  165. pagecount: 10,
  166. returntype: 'Map',
  167. parammaps: {
  168. pastureid: Cookies.get('pastureid'),
  169. startTime: parseTime(new Date(), '{y}-{m}-{d}'),
  170. stopTime: parseTime(new Date(), '{y}-{m}-{d}'),
  171. inputDatetime: [new Date(), new Date()],
  172. feedname: ''
  173. }
  174. },
  175. tableKey: 1,
  176. list: [],
  177. total: 0,
  178. listLoading: true
  179. }
  180. },
  181. tab2: {
  182. chartDate: [],
  183. table: {
  184. getdataListParm: {
  185. name: 'getMaterialAnalysisSC',
  186. page: 1,
  187. offset: 1,
  188. pagecount: '',
  189. returntype: 'Map',
  190. parammaps: {
  191. pastureid: Cookies.get('pastureid'),
  192. startTime: parseTime(new Date(), '{y}-{m}-{d}'),
  193. stopTime: parseTime(new Date(), '{y}-{m}-{d}'),
  194. inputDatetime: [new Date(), new Date()],
  195. fname: ''
  196. }
  197. },
  198. tableKey: 1,
  199. list: [],
  200. tableConfig: [],
  201. total: 0,
  202. listLoading: true
  203. },
  204. radio: '1',
  205. isRadio1: true,
  206. isRadio2: false,
  207. isRadio3: false,
  208. isRadio4: false,
  209. isRadio5: false,
  210. isRadio6: false
  211. },
  212. tab3: {
  213. chartDate: [],
  214. table: {
  215. getdataListParm: {
  216. name: 'getPriceAnalysisSC',
  217. page: 1,
  218. offset: 1,
  219. pagecount: 10,
  220. returntype: 'Map',
  221. parammaps: {
  222. pastureid: Cookies.get('pastureid'),
  223. startTime: parseTime(new Date(), '{y}-{m}-{d}'),
  224. stopTime: parseTime(new Date(), '{y}-{m}-{d}'),
  225. inputDatetime: [new Date(), new Date()],
  226. fname: ''
  227. }
  228. },
  229. tableKey: 1,
  230. list: [],
  231. tableConfig: [],
  232. total: 0,
  233. listLoading: true
  234. },
  235. radio: '1',
  236. isRadio1: true,
  237. isRadio2: false,
  238. isRadio3: false,
  239. isRadio4: false
  240. },
  241. rowStyle: { maxHeight: 50 + 'px', height: 45 + 'px' },
  242. cellStyle: { padding: 0 + 'px' }
  243. }
  244. },
  245. created() {
  246. this.getTabList()
  247. this.getTimeFn()
  248. },
  249. methods: {
  250. getTimeFn() {
  251. const that = this
  252. const end = new Date()
  253. const start = new Date()
  254. start.setTime(start.getTime() - 3600 * 1000 * 24 * 7)
  255. that.tab.chartDate[0] = parseTime(start, '{y}-{m}-{d}')
  256. that.tab.chartDate[1] = parseTime(end, '{y}-{m}-{d}')
  257. that.tab.table.getdataListParm.parammaps.inputDatetime[0] = parseTime(start, '{y}-{m}-{d}')
  258. that.tab.table.getdataListParm.parammaps.inputDatetime[1] = parseTime(end, '{y}-{m}-{d}')
  259. that.tab.table.getdataListParm.parammaps.startTime = parseTime(start, '{y}-{m}-{d}')
  260. that.tab.table.getdataListParm.parammaps.stopTime = parseTime(end, '{y}-{m}-{d}')
  261. that.tab2.chartDate[0] = parseTime(start, '{y}-{m}-{d}')
  262. that.tab2.chartDate[1] = parseTime(end, '{y}-{m}-{d}')
  263. that.tab2.table.getdataListParm.parammaps.inputDatetime[0] = parseTime(start, '{y}-{m}-{d}')
  264. that.tab2.table.getdataListParm.parammaps.inputDatetime[1] = parseTime(end, '{y}-{m}-{d}')
  265. that.tab2.table.getdataListParm.parammaps.startTime = parseTime(start, '{y}-{m}-{d}')
  266. that.tab2.table.getdataListParm.parammaps.stopTime = parseTime(end, '{y}-{m}-{d}')
  267. that.tab3.chartDate[0] = parseTime(start, '{y}-{m}-{d}')
  268. that.tab3.chartDate[1] = parseTime(end, '{y}-{m}-{d}')
  269. that.tab3.table.getdataListParm.parammaps.inputDatetime[0] = parseTime(start, '{y}-{m}-{d}')
  270. that.tab3.table.getdataListParm.parammaps.inputDatetime[1] = parseTime(end, '{y}-{m}-{d}')
  271. that.tab3.table.getdataListParm.parammaps.startTime = parseTime(start, '{y}-{m}-{d}')
  272. that.tab3.table.getdataListParm.parammaps.stopTime = parseTime(end, '{y}-{m}-{d}')
  273. },
  274. handleTabClick() {
  275. if (this.activeName == 'first') {
  276. this.getTabList()
  277. } else if (this.activeName == 'second') {
  278. this.getTab2List()
  279. } else if (this.activeName == 'third') {
  280. this.getTab3List()
  281. }
  282. },
  283. getTabList() {
  284. this.tab.table.listLoading = true
  285. GetDataByName(this.tab.table.getdataListParm).then(response => {
  286. console.log('库存统计table数据', response.data.list)
  287. if (response.data.list !== null) {
  288. this.tab.table.list = response.data.list
  289. this.tab.table.total = response.data.total
  290. } else {
  291. this.tab.table.list = []
  292. }
  293. setTimeout(() => {
  294. this.tab.table.listLoading = false
  295. }, 100)
  296. })
  297. },
  298. handleSearch(item) {
  299. if (item == 'first') {
  300. if (this.tab.table.getdataListParm.parammaps.inputDatetime !== '' && this.tab.table.getdataListParm.parammaps.inputDatetime !== null) {
  301. this.tab.table.getdataListParm.parammaps.startTime = parseTime(this.tab.table.getdataListParm.parammaps.inputDatetime[0], '{y}-{m}-{d}')
  302. this.tab.table.getdataListParm.parammaps.stopTime = parseTime(this.tab.table.getdataListParm.parammaps.inputDatetime[1], '{y}-{m}-{d}')
  303. } else {
  304. this.tab.table.getdataListParm.parammaps.inputDatetime = ''
  305. this.tab.table.getdataListParm.parammaps.startTime = ''
  306. this.tab.table.getdataListParm.parammaps.stopTime = ''
  307. }
  308. this.getTabList()
  309. } else if (item == 'second') {
  310. if (this.tab2.table.getdataListParm.parammaps.inputDatetime !== '' && this.tab2.table.getdataListParm.parammaps.inputDatetime !== null) {
  311. this.tab2.table.getdataListParm.parammaps.startTime = parseTime(this.tab2.table.getdataListParm.parammaps.inputDatetime[0], '{y}-{m}-{d}')
  312. this.tab2.table.getdataListParm.parammaps.stopTime = parseTime(this.tab2.table.getdataListParm.parammaps.inputDatetime[1], '{y}-{m}-{d}')
  313. } else {
  314. this.tab2.table.getdataListParm.parammaps.inputDatetime = ''
  315. this.tab2.table.getdataListParm.parammaps.startTime = ''
  316. this.tab2.table.getdataListParm.parammaps.stopTime = ''
  317. }
  318. this.getTab2List()
  319. } else if (item == 'third') {
  320. if (this.tab3.table.getdataListParm.parammaps.inputDatetime !== '' && this.tab3.table.getdataListParm.parammaps.inputDatetime !== null) {
  321. this.tab3.table.getdataListParm.parammaps.startTime = parseTime(this.tab3.table.getdataListParm.parammaps.inputDatetime[0], '{y}-{m}-{d}')
  322. this.tab3.table.getdataListParm.parammaps.stopTime = parseTime(this.tab3.table.getdataListParm.parammaps.inputDatetime[1], '{y}-{m}-{d}')
  323. } else {
  324. this.tab3.table.getdataListParm.parammaps.inputDatetime = ''
  325. this.tab3.table.getdataListParm.parammaps.startTime = ''
  326. this.tab3.table.getdataListParm.parammaps.stopTime = ''
  327. }
  328. this.getTab3List()
  329. }
  330. },
  331. handleExport() {},
  332. // 用料分析
  333. getTab2List() {
  334. this.tab2.table.listLoading = true
  335. GetReportform(this.tab2.table.getdataListParm).then(response => {
  336. console.log('库存统计-用料分析', response.data.list)
  337. if (response.data.list !== null) {
  338. this.tab2.table.list = response.data.list.data1
  339. this.tab2.table.tableConfig = response.data.list.data2
  340. this.tab2.table.total = response.data.total
  341. } else {
  342. this.tab2.table.list = []
  343. }
  344. setTimeout(() => {
  345. this.tab2.table.listLoading = false
  346. }, 100)
  347. })
  348. },
  349. changeRadio2() {
  350. console.log(this.tab2.radio)
  351. if (this.tab2.radio == '1') {
  352. this.tab2.isRadio1 = true,
  353. this.tab2.isRadio2 = false,
  354. this.tab2.isRadio3 = false,
  355. this.tab2.isRadio4 = false,
  356. this.tab2.isRadio5 = false,
  357. this.tab2.isRadio6 = false,
  358. this.tab2.table.getdataListParm.name = 'getMaterialAnalysisSC'
  359. this.tab2.table.getdataListParm.offset = 1
  360. this.getTab2List()
  361. } else if (this.tab2.radio == '2') {
  362. this.tab2.isRadio1 = false,
  363. this.tab2.isRadio2 = true,
  364. this.tab2.isRadio3 = false,
  365. this.tab2.isRadio4 = false,
  366. this.tab2.isRadio5 = false,
  367. this.tab2.isRadio6 = false,
  368. this.tab2.table.getdataListParm.name = 'getMaterialAnalysisLS'
  369. this.tab2.table.getdataListParm.offset = 1
  370. this.getTab2List()
  371. } else if (this.tab2.radio == '3') {
  372. this.tab2.isRadio1 = false,
  373. this.tab2.isRadio2 = false,
  374. this.tab2.isRadio3 = true,
  375. this.tab2.isRadio4 = false,
  376. this.tab2.isRadio5 = false,
  377. this.tab2.isRadio6 = false,
  378. this.tab2.table.getdataListParm.name = 'getMaterialAnalysisRQ'
  379. this.tab2.table.getdataListParm.offset = 1
  380. this.getTab2List()
  381. } else if (this.tab2.radio == '4') {
  382. this.tab2.isRadio1 = false,
  383. this.tab2.isRadio2 = false,
  384. this.tab2.isRadio3 = false,
  385. this.tab2.isRadio4 = true,
  386. this.tab2.isRadio5 = false,
  387. this.tab2.isRadio6 = false,
  388. this.tab2.table.getdataListParm.name = 'getMaterialAnalysisTMR'
  389. this.tab2.table.getdataListParm.offset = 1
  390. this.getTab2List()
  391. } else if (this.tab2.radio == '5') {
  392. this.tab2.isRadio1 = false,
  393. this.tab2.isRadio2 = false,
  394. this.tab2.isRadio3 = false,
  395. this.tab2.isRadio4 = false,
  396. this.tab2.isRadio5 = true,
  397. this.tab2.isRadio6 = false,
  398. this.tab2.table.getdataListParm.name = 'getMaterialAnalysisBC'
  399. this.tab2.table.getdataListParm.offset = 1
  400. this.getTab2List()
  401. } else if (this.tab2.radio == '6') {
  402. this.tab2.isRadio1 = false,
  403. this.tab2.isRadio2 = false,
  404. this.tab2.isRadio3 = false,
  405. this.tab2.isRadio4 = false,
  406. this.tab2.isRadio5 = false,
  407. this.tab2.isRadio6 = true,
  408. this.tab2.table.getdataListParm.name = 'getMaterialAnalysisCC'
  409. this.tab2.table.getdataListParm.offset = 1
  410. this.getTab2List()
  411. }
  412. },
  413. // 价格分析
  414. getTab3List() {
  415. this.tab3.table.listLoading = true
  416. GetReportform(this.tab3.table.getdataListParm).then(response => {
  417. console.log('库存统计-价格分析', response.data.list)
  418. if (response.data.list !== null) {
  419. this.tab3.table.list = response.data.list.data1
  420. this.tab3.table.tableConfig = response.data.list.data2
  421. this.tab3.table.total = response.data.total
  422. } else {
  423. this.tab3.table.list = []
  424. }
  425. setTimeout(() => {
  426. this.tab3.table.listLoading = false
  427. }, 100)
  428. })
  429. },
  430. changeRadio3() {
  431. console.log(this.tab3.radio)
  432. if (this.tab3.radio == '1') {
  433. this.tab3.isRadio1 = true,
  434. this.tab3.isRadio2 = false,
  435. this.tab3.isRadio3 = false,
  436. this.tab3.isRadio4 = false,
  437. this.tab3.table.getdataListParm.name = 'getPriceAnalysisSC'
  438. this.tab3.table.getdataListParm.offset = 1
  439. this.getTab3List()
  440. } else if (this.tab3.radio == '2') {
  441. this.tab3.isRadio1 = false,
  442. this.tab3.isRadio2 = true,
  443. this.tab3.isRadio3 = false,
  444. this.tab3.isRadio4 = false,
  445. this.tab3.table.getdataListParm.name = 'getPriceAnalysisLS'
  446. this.tab3.table.getdataListParm.offset = 1
  447. this.getTab3List()
  448. } else if (this.tab3.radio == '3') {
  449. this.tab3.isRadio1 = false,
  450. this.tab3.isRadio2 = false,
  451. this.tab3.isRadio3 = true,
  452. this.tab3.isRadio4 = false,
  453. this.tab3.table.getdataListParm.name = 'getPriceAnalysisRQ'
  454. this.tab3.table.getdataListParm.offset = 1
  455. this.getTab3List()
  456. } else if (this.tab3.radio == '4') {
  457. this.tab3.isRadio1 = false,
  458. this.tab3.isRadio2 = false,
  459. this.tab3.isRadio3 = false,
  460. this.tab3.isRadio4 = true,
  461. this.tab3.table.getdataListParm.name = 'getPriceAnalysisTMR'
  462. this.tab3.table.getdataListParm.offset = 1
  463. this.getTab3List()
  464. }
  465. }
  466. }
  467. }
  468. </script>
  469. <style lang="scss" scoped>
  470. .search{margin-bottom:10px;}
  471. </style>