{"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\\MaterialIntoWareHouseManager.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\material\\MaterialIntoWareHouseManager.vue","mtime":1686644562585},{"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":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/es6.array.find\";\nimport \"core-js/modules/web.dom.iterable\";\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 { TableMixin } from '@/mixins/tableMixin';\nimport materialIntoManage from '@/api/manager/material/materialIntoWarehouseManage.js';\nimport MaterialIntoWareHoseManageDialog from '@/views/Manage/material/components/MaterialIntoWareHoseManageDialog.vue';\nimport dictContracts from '@/components/dict/DictSelectUtils.js';\nimport CommonApi from '@/views/Manage/CommonApi.js';\nimport ZUpload from '@/views/Manage/components/ZUpload.vue';\nexport default {\n name: 'MaterialIntoManage',\n components: {\n MaterialIntoWareHoseManageDialog: MaterialIntoWareHoseManageDialog,\n ZUpload: ZUpload\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n url: {\n delete: '/manager/material/signWarehouse/'\n },\n userSelectOptions: [],\n gys: [],\n querys: [{\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'supplier_name_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'applicant_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'status_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'warehouse_',\n relation: 'AND',\n value: ''\n }],\n StshowFormDias: false,\n warehouses: [],\n sorter: [{\n direction: 'DESC',\n property: 'create_time_'\n }]\n };\n },\n created: function created() {\n var _this = this;\n\n this.commonApiData();\n this.warehouses = dictContracts.getDictItemsFromCache('cmgt_ckmc');\n materialIntoManage.findAllCustom(function (res) {\n _this.gys = res;\n });\n },\n mounted: function mounted() {},\n methods: {\n commonApiData: function commonApiData() {\n var _this2 = this;\n\n CommonApi.loadSelectOptions({\n name: 'manageCommonService.getAllUsers',\n query: '96240625-934F-490B-8AA6-0BC775B18468'\n }, function (res) {\n _this2.userSelectOptions = res;\n });\n },\n // 重置\n clearQuerys: function clearQuerys() {\n this.querys.forEach(function (item) {\n return item.value = '';\n });\n },\n // 获取list\n loadData: function loadData(page) {\n var _this3 = 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 this.querys.forEach(function (item) {\n if (item.value !== undefined) {\n _this3.queryParam.querys.push(item);\n }\n });\n this.queryParam.sorter = this.sorter;\n materialIntoManage.loadIntoWarehouse(this.queryParam, function (res) {\n _this3.total = res.total;\n _this3.tableData = res.rows;\n\n _this3.$set(_this3.tableData);\n\n _this3.loading = false;\n });\n },\n afterUpload: function afterUpload(response) {\n this.$message.success(response.msg);\n this.loadData(1);\n },\n // 修改\n handleUpdate: function handleUpdate(row) {\n var _this4 = this;\n\n materialIntoManage.getDetailById(row.id).then(function (res) {\n _this4.$refs.formModal.Update(res);\n });\n },\n closeStshowForm: function closeStshowForm() {\n this.StshowFormDias = false;\n },\n formartWarehouseName: function formartWarehouseName(row, column, cellValue, index) {\n var obj = this.warehouses.find(function (item) {\n if (item.value === row.warehouse) {\n return item;\n }\n });\n\n if (obj !== undefined) {\n return obj.name;\n } else {\n return '';\n }\n }\n }\n};",null]}