From 597c6cfc96ddbd4a8b78d54d065a6066ede8f402 Mon Sep 17 00:00:00 2001 From: zhouzy062 Date: Sun, 7 Apr 2024 09:39:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/api/claimAndRefund/return.js | 21 +- .../claimAndRefund/return/dialogForm.vue | 2 +- .../claimAndRefund/return/dialogFormByCq.vue | 220 ++++++++++++++++++ .../claimAndRefund/return/returnApply.vue | 5 +- .../claimAndRefund/return/returnApplyAdd.vue | 4 +- .../claimAndRefund/return/returnApplyByCq.vue | 13 +- .../claimAndRefund/return/returnExamine.vue | 1 + .../views/claimAndRefund/return/returnIn.vue | 48 ++-- .../claimAndRefund/return/returnInDetail.vue | 35 ++- .../cost/csotSettlement/costApplyAdd.vue | 1 - .../views/cost/csotSettlement/costExame.vue | 1 - .../newBuy/newAccessory/newAccessoryList.vue | 2 +- .../newBuy/newDevices/newDevicesAccept.vue | 2 +- .../newBuy/newDevices/newDevicesArrival.vue | 2 +- .../newBuy/newDevices/newDevicesCode.vue | 2 +- .../newBuy/newDevices/newDevicesList.vue | 2 +- .../newDevicesServiceCenterList.vue | 2 +- .../newDevices/newDevicesWarehousing.vue | 2 +- .../warehousing/accessoryWarehousing.vue | 2 +- 19 files changed, 311 insertions(+), 56 deletions(-) create mode 100644 sgzb-ui/src/views/claimAndRefund/return/dialogFormByCq.vue diff --git a/sgzb-ui/src/api/claimAndRefund/return.js b/sgzb-ui/src/api/claimAndRefund/return.js index c2011e62..80e07f15 100644 --- a/sgzb-ui/src/api/claimAndRefund/return.js +++ b/sgzb-ui/src/api/claimAndRefund/return.js @@ -138,4 +138,23 @@ export function materialReturnNoteByExamine(query) { method: 'get', params: query }) -} \ No newline at end of file +} + + +// 退料接收列表 +export function getBackReceiveList(query) { + return request({ + url: '/base/backReceive/getbackReceiveList', + method: 'get', + params: query + }) +} +// 退料审核新增 +export function receiveView(data) { + return request({ + url: '/base/backReceive/receiveViewWeb', + method: 'post', + data: data + }) +} + diff --git a/sgzb-ui/src/views/claimAndRefund/return/dialogForm.vue b/sgzb-ui/src/views/claimAndRefund/return/dialogForm.vue index c2fd0558..b331825a 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/dialogForm.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/dialogForm.vue @@ -150,7 +150,7 @@ export default { init() { let params = { id: this.rowObj.id, - agreementId: this.rowObj.agreementIdid + agreementId: this.rowObj.agreementId, } materialReturnNoteByApply(params).then(res => { this.tableData = res.data diff --git a/sgzb-ui/src/views/claimAndRefund/return/dialogFormByCq.vue b/sgzb-ui/src/views/claimAndRefund/return/dialogFormByCq.vue new file mode 100644 index 00000000..fbaccd78 --- /dev/null +++ b/sgzb-ui/src/views/claimAndRefund/return/dialogFormByCq.vue @@ -0,0 +1,220 @@ + + + diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue b/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue index def63c4c..35e3ae35 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnApply.vue @@ -483,6 +483,7 @@ export default { this.dateRange = []; // this.resetForm("queryForm"); this.$refs.queryForm.resetFields() + this.initSelectData() this.handleQuery(); }, /** 新增按钮操作 */ @@ -629,8 +630,8 @@ export default { } getViewByApply(params).then(res => { console.log(res) - this.loadingList = res.rows - this.loadingTotal = res.total + this.loadingList = res.data.rows + this.loadingTotal = res.data.total }) }, /** 刷新缓存按钮操作 */ diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue b/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue index 10eee007..e237fd6a 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnApplyAdd.vue @@ -419,7 +419,7 @@ export default { this.isEdit = this.$route.query.isEdit; if (this.$route.query.Id) { this.rowId = this.$route.query.Id - this.GetViewByApply(this.$route.query.Id) + this.returnNoteByApply(this.$route.query.Id) } getInfo().then(res => { this.companyId = res.user.companyId @@ -485,7 +485,7 @@ export default { }, // 获取 任务详情数据 - async GetViewByApply(Id) { + async returnNoteByApply(Id) { const res = await materialReturnNoteByApply({ id:Id }) const data = res.data[0] // console.log(data) diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnApplyByCq.vue b/sgzb-ui/src/views/claimAndRefund/return/returnApplyByCq.vue index 9fe7058c..bcf6bdcd 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnApplyByCq.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnApplyByCq.vue @@ -305,7 +305,7 @@ - +
@@ -342,13 +342,13 @@ import { getInfo, h } from "@/api/login"; import { getUnitData, getProData, getAgreementInfoById, } from "@/api/claimAndRefund/receive.js" -import dialogForm from "./dialogForm.vue"; +import dialogFormByCq from "./dialogFormByCq.vue"; // 10:42开始日期startTime,结束日期endTime 机具类型typeId // http://localhost/claimAndRefund/return/returnApply export default { name: "", dicts: ['sys_normal_disable'], - components: { dialogForm, }, + components: { dialogFormByCq, }, data() { return { fullscreenLoading: false, @@ -483,6 +483,7 @@ export default { this.dateRange = []; // this.resetForm("queryForm"); this.$refs.queryForm.resetFields() + this.initSelectData() this.handleQuery(); }, /** 新增按钮操作 */ @@ -625,9 +626,9 @@ export default { pageSize: this.dialogQueryParams.pageSize, } getViewByApply(params).then(res => { - console.log(res) - this.loadingList = res.rows - this.loadingTotal = res.total + // console.log(res) + this.loadingList = res.data.rows + this.loadingTotal = res.data.total }) }, /** 刷新缓存按钮操作 */ diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue b/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue index ba292192..3892e9ff 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnExamine.vue @@ -667,6 +667,7 @@ export default { this.dateRange = []; // this.resetForm("queryForm"); this.$refs.queryForm.resetFields() + this.initSelectData() this.handleQuery(); }, diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnIn.vue b/sgzb-ui/src/views/claimAndRefund/return/returnIn.vue index a315047c..79126ca1 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnIn.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnIn.vue @@ -33,9 +33,9 @@ - + + + + - - - + - +