{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\material\\PurchaseSchedule.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\material\\PurchaseSchedule.vue","mtime":1686706098958},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport Print from 'vue-print-nb';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport purchasingManage from '@/api/manager/material/purchasingManage.js';\nimport purchaseSchedule from \"./api/PurchaseSchedule\";\nimport purchaseScheduleDialog from '@/views/Manage/material/components/PurchaseScheduleDialog.vue';\nexport default {\n directives: {\n Print: Print\n },\n name: 'PurchasingManage',\n components: {\n purchaseScheduleDialog: purchaseScheduleDialog\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n printTitle: '',\n printMe: {\n // 打印区域\n id: 'printAvailable',\n // 是否有打印预览\n preview: false\n },\n purMaterialsData: [],\n applicationMonthLength: '',\n //当月申请单数据\n // gridData: [],\n // dialogVisible: false,\n url: {\n delete: '/manager/material/purchasing/delete/'\n },\n options: [{\n value: '1',\n label: '已下单'\n }, {\n value: '2',\n label: '已完成'\n }, {\n value: '3',\n label: '进行中'\n }],\n inquire: {\n title: '',\n sector: '',\n state: '',\n data: ''\n },\n querys: [{\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'planTitle',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'orgName',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'BETWEEN',\n parentGroup: '',\n property: 'planDate',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'status',\n relation: 'AND',\n value: ''\n }],\n StshowFormDias: false // fuelTypes: []\n\n };\n },\n created: function created() {// this.applicationMonth()\n // this.fuelTypes = dictContracts.getDictItemsFromCache('cmgt_rylx')\n },\n mounted: function mounted() {},\n methods: {\n printMask: function printMask(item) {\n var _this = this;\n\n purchaseSchedule.entitiesQuery(item.id, function (res) {\n console.log(res);\n _this.printTitle = res.planTitle;\n _this.purMaterialsData = res.detailList;\n\n _this.$refs.import.$el.click();\n });\n },\n //获取当月申请单列表\n // applicationMonth() {\n // let applicationMonthData = {\n // groupRelation: 'AND',\n // pageBean: {\n // page: 1,\n // pageSize: 10,\n // showTotal: true\n // },\n // querys: [\n // {\n // group: 'main',\n // operation: 'EQUAL',\n // parentGroup: '',\n // property: 'status',\n // relation: 'AND',\n // value: '2'\n // }\n // ],\n // sorter: [\n // {\n // direction: 'ASC',\n // property: 'sn'\n // }\n // ]\n // }\n // purchaseSchedule.purchasingCount(applicationMonthData, res => {\n // // console.log('-------------load-------------')\n // console.log(res)\n // // this.total = res.total\n // this.gridData = res.value\n // this.applicationMonthLength = res.value.length\n // // this.commonApiData()\n // // this.loading = false\n // })\n // },\n //当月申请单\n // monthApplication() {\n // this.dialogVisible = true\n // },\n // 重置\n clearQuerys: function clearQuerys() {\n this.querys[0].value = '';\n this.querys[1].value = '';\n this.querys[2].value = '';\n this.querys[3].value = '';\n },\n // 获取list\n loadData: function loadData(page) {\n var _this2 = this;\n\n if (page) {\n this.queryParam.pageBean.page = page;\n }\n\n this.loading = true;\n this.tableData = [];\n this.queryParam.querys = [];\n\n if (this.querys[0].value) {\n this.queryParam.querys.push(this.querys[0]);\n }\n\n if (this.querys[1].value) {\n this.queryParam.querys.push(this.querys[1]);\n }\n\n if (this.querys[2].value) {\n this.queryParam.querys.push(this.querys[2]);\n }\n\n if (this.querys[3].value) {\n this.queryParam.querys.push(this.querys[3]);\n }\n\n this.queryParam.sorter = [{\n direction: 'DESC',\n property: 'sn'\n }];\n purchaseSchedule.orderQuery(this.queryParam, function (res) {\n console.log(res);\n _this2.total = res.total;\n _this2.tableData = res.rows;\n\n _this2.$set(_this2.tableData);\n\n _this2.loading = false;\n });\n },\n // 批量删除产品类型\n handleDelete: function handleDelete() {\n var _this3 = this;\n\n purchaseSchedule.deleteMaterialOrder(this.multipleSelection).then(function (res) {\n if (res.state) {\n _this3.$notify({\n type: 'success',\n message: '删除成功',\n duration: 2000\n });\n\n _this3.queryParam.pageBean.page = 1;\n\n _this3.loadData();\n }\n }).catch(function (res) {\n _this3.$notify({\n type: 'error',\n message: res.message,\n duration: 2000,\n offset: 80\n });\n });\n },\n // 修改\n handleUpdate: function handleUpdate(row) {\n console.log(row.id); // purchasingManage.loadMaterialDetail(row.id, res => {\n // console.log('---res:', res)\n // this.$refs.formModal.Update(row, res.value)\n // })\n\n this.$refs.formModal.Update(row);\n },\n closeStshowForm: function closeStshowForm() {\n this.StshowFormDias = false;\n },\n //操作\n handleEdit: function handleEdit() {}\n }\n};",null]}