diff --git a/sgzb-ui/src/views/claimAndreturn/picking/query/index.vue b/sgzb-ui/src/views/claimAndreturn/picking/query/index.vue new file mode 100644 index 00000000..df84d7f5 --- /dev/null +++ b/sgzb-ui/src/views/claimAndreturn/picking/query/index.vue @@ -0,0 +1,358 @@ + + + + diff --git a/sgzb-ui/src/views/claimAndreturn/return/query/index.vue b/sgzb-ui/src/views/claimAndreturn/return/query/index.vue new file mode 100644 index 00000000..be41f595 --- /dev/null +++ b/sgzb-ui/src/views/claimAndreturn/return/query/index.vue @@ -0,0 +1,346 @@ + + + + diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/index.vue b/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/index.vue index 9632d179..7ab595df 100644 --- a/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/index.vue +++ b/sgzb-ui/src/views/scrapManage/forecastWaste/auditingReturn/index.vue @@ -32,7 +32,7 @@ type="text" @click="handlePreview(data)" v-if="data.num == 0" - icon="el-icon-search" + icon="el-icon-zoom-in" > 查看 @@ -339,7 +339,6 @@ import { dialogConfigReturnDet, } from './config.js' import { receiveView } from '@/api/claimAndRefund/return.js' - import { getScrapReturnDetailsApi, getScrapEditReturnApi, @@ -460,7 +459,7 @@ export default { // 查看 handlePreview(data) { if (data.manageType == 0) { - this.sendParamsReturnDetails.parentId = data.parentId + this.sendParamsReturnDetails.parentId = data.parentIds this.sendParamsReturnDetails.typeId = data.typeId this.isQuery = false this.isNumDetails = false @@ -534,11 +533,14 @@ export default { type: 'warning', }) .then(() => { - const { manageType, parentId, typeId } = data + const { manageType, typeId } = data getScrapReturnRevokeApi({ createBy: sessionStorage.getItem('userId'), manageType, - parentId, + parentId: + data.manageType == 0 + ? data.parentIds + : data.parentId, typeId, }).then((res) => { this.$message.success('已撤回') @@ -562,7 +564,7 @@ export default { let arr = [] arr = this.taSelList.map((item) => { return { - parentId: this.parentId, + parentId: item.parentId, typeId: item.typeId, backNum: 1, backStatus: type, @@ -595,7 +597,7 @@ export default { // type 1、合格 2、维修 3、预报废 let arr = [ { - parentId: this.parentId, + parentId: data.parentId, typeId: data.typeId, backNum: 1, backStatus: type, @@ -765,7 +767,7 @@ export default { if (this.currentRows) { let arr = [ { - parentId: this.parentId, + parentId: this.currentRows.parentId, typeId: this.currentRows.typeId, backNum: 1, backStatus: 3, @@ -801,7 +803,7 @@ export default { let arr = [] arr = this.taSelList.map((item) => { return { - parentId: this.parentId, + parentId: item.parentId, typeId: item.typeId, backNum: 1, backStatus: 3, diff --git a/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue b/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue index ea10ca8e..45efaccf 100644 --- a/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue +++ b/sgzb-ui/src/views/scrapManage/forecastWaste/listing/index.vue @@ -86,8 +86,16 @@ type="text" v-if="data.taskStatus == 61" @click="handleReject(data)" - style="color: #e6a23c" - icon="el-icon-document-delete" + :style=" + data.commit == 0 + ? 'color: #e6a23c' + : 'color: #4FADFF' + " + :icon=" + data.commit == 0 + ? 'el-icon-document-delete' + : 'el-icon-postcard' + " >{{ data.commit == 0 ? '驳回退料' : '退料详情' }}