This commit is contained in:
parent
ff490e7441
commit
546485505b
|
|
@ -538,7 +538,7 @@ export default {
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
// 刷新页面
|
// 刷新页面
|
||||||
window.location.reload()
|
// window.location.reload()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//审核 驳回
|
//审核 驳回
|
||||||
|
|
|
||||||
|
|
@ -354,47 +354,6 @@
|
||||||
align="center"
|
align="center"
|
||||||
prop="typeName"
|
prop="typeName"
|
||||||
/>
|
/>
|
||||||
<el-table-column type="expand">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<div class="nested-table-container">
|
|
||||||
<el-table
|
|
||||||
:data="scope.row.maTypeDetails"
|
|
||||||
style="width: 100%"
|
|
||||||
>
|
|
||||||
<!-- 子表格的列 -->
|
|
||||||
<el-table-column
|
|
||||||
label="序号"
|
|
||||||
align="center"
|
|
||||||
type="index"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="类型名称"
|
|
||||||
align="center"
|
|
||||||
prop="typeName"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="规格型号"
|
|
||||||
align="center"
|
|
||||||
prop="typeModelName"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="单位"
|
|
||||||
align="center"
|
|
||||||
prop="unitName"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
/>
|
|
||||||
<el-table-column
|
|
||||||
label="预领数量"
|
|
||||||
align="center"
|
|
||||||
prop="partNum"
|
|
||||||
:show-overflow-tooltip="true"
|
|
||||||
/>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="规格型号"
|
label="规格型号"
|
||||||
align="center"
|
align="center"
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -180,7 +180,7 @@
|
||||||
(scope.row.partNum =
|
(scope.row.partNum =
|
||||||
scope.row.manageType == 0 ||
|
scope.row.manageType == 0 ||
|
||||||
scope.row.manageType == 1
|
scope.row.manageType == 1
|
||||||
? scope.row.maxBackNum
|
? scope.row.preNum
|
||||||
: scope.row.partNum)
|
: scope.row.partNum)
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
|
|
@ -222,7 +222,7 @@
|
||||||
v-if="
|
v-if="
|
||||||
!isView &&
|
!isView &&
|
||||||
scope.row.manageType == '0' &&
|
scope.row.manageType == '0' &&
|
||||||
scope.row.maxBackNum > 0 &&
|
scope.row.preNum > 0 &&
|
||||||
(userId == scope.row.userId || userId == 1)
|
(userId == scope.row.userId || userId == 1)
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|
@ -236,7 +236,7 @@
|
||||||
!isView &&
|
!isView &&
|
||||||
(scope.row.manageType == '1' ||
|
(scope.row.manageType == '1' ||
|
||||||
scope.row.manageType == '2') &&
|
scope.row.manageType == '2') &&
|
||||||
scope.row.maxBackNum > 0 &&
|
scope.row.preNum > 0 &&
|
||||||
(userId == scope.row.userId || userId == 1)
|
(userId == scope.row.userId || userId == 1)
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
|
@ -881,7 +881,7 @@ export default {
|
||||||
this.codeQuery.parentId = row.id
|
this.codeQuery.parentId = row.id
|
||||||
this.codeQuery.typeId = row.modelId
|
this.codeQuery.typeId = row.modelId
|
||||||
this.dialogIsView = true
|
this.dialogIsView = true
|
||||||
this.returnNum = Number(row.maxBackNum)
|
this.returnNum = Number(row.preNum)
|
||||||
this.handleCodeQuery()
|
this.handleCodeQuery()
|
||||||
} else if (row.manageType == '2') {
|
} else if (row.manageType == '2') {
|
||||||
this.handleNumReturn(row)
|
this.handleNumReturn(row)
|
||||||
|
|
@ -931,7 +931,7 @@ export default {
|
||||||
this.codeQuery.typeId = row.modelId
|
this.codeQuery.typeId = row.modelId
|
||||||
this.codeQuery.agreementId = row.agreementId
|
this.codeQuery.agreementId = row.agreementId
|
||||||
this.dialogIsView = false
|
this.dialogIsView = false
|
||||||
this.returnNum = Number(row.maxBackNum)
|
this.returnNum = Number(row.preNum)
|
||||||
this.handleCodeQuery()
|
this.handleCodeQuery()
|
||||||
},
|
},
|
||||||
//数量退料
|
//数量退料
|
||||||
|
|
@ -939,8 +939,8 @@ export default {
|
||||||
this.title = '数量退料'
|
this.title = '数量退料'
|
||||||
this.openNum = true
|
this.openNum = true
|
||||||
this.dialogIsView = false
|
this.dialogIsView = false
|
||||||
this.$set(row, 'backNum', row.maxBackNum) //退料数量
|
this.$set(row, 'backNum', row.preNum) //退料数量
|
||||||
this.returnNum = Number(row.maxBackNum)
|
this.returnNum = Number(row.preNum)
|
||||||
this.dialogData.typeMange = row.manageType
|
this.dialogData.typeMange = row.manageType
|
||||||
this.dialogData.typeName = row.typeName
|
this.dialogData.typeName = row.typeName
|
||||||
this.dialogData.typeCode = row.typeCode
|
this.dialogData.typeCode = row.typeCode
|
||||||
|
|
|
||||||
|
|
@ -126,6 +126,11 @@
|
||||||
>批量审核</el-button
|
>批量审核</el-button
|
||||||
>
|
>
|
||||||
</el-col> -->
|
</el-col> -->
|
||||||
|
<el-col :span="1.5">
|
||||||
|
<el-button type="primary" plain size="mini" @click="handleAdd"
|
||||||
|
>退料接收</el-button
|
||||||
|
>
|
||||||
|
</el-col>
|
||||||
<el-col :span="1.5">
|
<el-col :span="1.5">
|
||||||
<el-button
|
<el-button
|
||||||
type="success"
|
type="success"
|
||||||
|
|
@ -322,16 +327,16 @@ export default {
|
||||||
unitList: [],
|
unitList: [],
|
||||||
proList: [],
|
proList: [],
|
||||||
taskStatusList: [
|
taskStatusList: [
|
||||||
|
// {
|
||||||
|
// name: '待退料审核',
|
||||||
|
// id: '37',
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// name: '退料审核通过',
|
||||||
|
// id: '38',
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
name: '待退料审核',
|
name: '退料进行中',
|
||||||
id: '37',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '退料审核通过',
|
|
||||||
id: '38',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '退料核查中',
|
|
||||||
id: '39',
|
id: '39',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -339,9 +344,13 @@ export default {
|
||||||
id: '40',
|
id: '40',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '退料审核驳回',
|
name: '退料未开始',
|
||||||
id: '101',
|
id: '139',
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// name: '退料审核驳回',
|
||||||
|
// id: '101',
|
||||||
|
// },
|
||||||
],
|
],
|
||||||
rowObj: {},
|
rowObj: {},
|
||||||
}
|
}
|
||||||
|
|
@ -446,6 +455,13 @@ export default {
|
||||||
this.initSelectData()
|
this.initSelectData()
|
||||||
this.handleQuery()
|
this.handleQuery()
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/** 新增按钮操作 */
|
||||||
|
handleAdd() {
|
||||||
|
// this.$tab.closeOpenPage('/claimAndRefund/return/returnApplyAddByCq')
|
||||||
|
this.$emit('returnApply')
|
||||||
|
},
|
||||||
|
|
||||||
//打开退料单
|
//打开退料单
|
||||||
handlePrint(row) {
|
handlePrint(row) {
|
||||||
// this.title = "退料单";
|
// this.title = "退料单";
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,8 @@
|
||||||
:isView="isView"
|
:isView="isView"
|
||||||
:rejectId="rejectId"
|
:rejectId="rejectId"
|
||||||
:rejectTaskId="rejectTaskId"
|
:rejectTaskId="rejectTaskId"
|
||||||
|
:isEdit="isEdit"
|
||||||
|
@returnApply="returnApply"
|
||||||
@receiveView="receiveView"
|
@receiveView="receiveView"
|
||||||
@receiveReturn="receiveReturn"
|
@receiveReturn="receiveReturn"
|
||||||
@goBackPage="goBack"
|
@goBackPage="goBack"
|
||||||
|
|
@ -22,11 +24,13 @@
|
||||||
import PageHeader from '@/components/pageHeader'
|
import PageHeader from '@/components/pageHeader'
|
||||||
import Home from './component/home.vue'
|
import Home from './component/home.vue'
|
||||||
import HandlePage from './component/handlePage.vue'
|
import HandlePage from './component/handlePage.vue'
|
||||||
|
import AddReturn from './component/addReturn1.vue'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
PageHeader,
|
PageHeader,
|
||||||
Home,
|
Home,
|
||||||
HandlePage,
|
HandlePage,
|
||||||
|
AddReturn,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -35,9 +39,17 @@ export default {
|
||||||
rejectId: '',
|
rejectId: '',
|
||||||
rejectTaskId: '',
|
rejectTaskId: '',
|
||||||
isView: false,
|
isView: false,
|
||||||
|
isEdit: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 退料申请
|
||||||
|
returnApply() {
|
||||||
|
this.rejectId = ''
|
||||||
|
this.pageContent = '新建退料任务'
|
||||||
|
this.isShowComponent = 'AddReturn'
|
||||||
|
this.isEdit = false
|
||||||
|
},
|
||||||
// 查看
|
// 查看
|
||||||
receiveView(id) {
|
receiveView(id) {
|
||||||
this.pageContent = '退料详情'
|
this.pageContent = '退料详情'
|
||||||
|
|
|
||||||
|
|
@ -548,13 +548,18 @@
|
||||||
width="500px"
|
width="500px"
|
||||||
append-to-body
|
append-to-body
|
||||||
>
|
>
|
||||||
<div style="text-align: center">
|
<div >
|
||||||
<div class="uploadImg">
|
<div class="uploadImg">
|
||||||
<div id="qrcode" class="qrcode" ref="codeItem"></div>
|
<div id="qrcode" class="qrcode" ref="codeItem"></div>
|
||||||
<!-- <img src="" alt="">-->
|
<!-- <img src="" alt="">-->
|
||||||
</div>
|
</div>
|
||||||
|
<div class="info-container">
|
||||||
|
<div class="maCode">机具名称:{{ rowObj.deviceType }}</div>
|
||||||
|
<div class="maCode">规格型号:{{ rowObj.specificationType }}</div>
|
||||||
|
<div class="maCode">资产编号:{{ rowObj.maCode }}</div>
|
||||||
<div class="maCode">二维码编号:{{ rowObj.qrCode }}</div>
|
<div class="maCode">二维码编号:{{ rowObj.qrCode }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div slot="footer" class="dialog-footer" style="text-align: center">
|
<div slot="footer" class="dialog-footer" style="text-align: center">
|
||||||
<!-- <el-button type="primary" @click="downloadCode">下 载</el-button> -->
|
<!-- <el-button type="primary" @click="downloadCode">下 载</el-button> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -926,6 +931,14 @@ export default {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
.info-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 10px; /* 可根据需要调整间距 */
|
||||||
|
padding-left:100px;
|
||||||
|
}
|
||||||
.maCode {
|
.maCode {
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
|
|
||||||
|
|
@ -437,7 +437,12 @@
|
||||||
<div id="qrcode" class="qrcode" ref="codeItem"></div>
|
<div id="qrcode" class="qrcode" ref="codeItem"></div>
|
||||||
<!-- <img src="" alt="">-->
|
<!-- <img src="" alt="">-->
|
||||||
</div>
|
</div>
|
||||||
|
<div class="info-container">
|
||||||
|
<div class="maCode">机具名称:{{ rowObj.modelName }}</div>
|
||||||
|
<div class="maCode">规格型号:{{ rowObj.typeName }}</div>
|
||||||
<div class="maCode">设备编号:{{ rowObj.maCode }}</div>
|
<div class="maCode">设备编号:{{ rowObj.maCode }}</div>
|
||||||
|
<div class="maCode">标签编号:{{ rowObj.labelCode }}</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div slot="footer" class="dialog-footer" style="text-align: center">
|
<div slot="footer" class="dialog-footer" style="text-align: center">
|
||||||
<el-button type="primary" @click="downloadCode"
|
<el-button type="primary" @click="downloadCode"
|
||||||
|
|
@ -1114,10 +1119,18 @@ export default {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
.info-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 10px; /* 可根据需要调整间距 */
|
||||||
|
padding-left:80px;
|
||||||
|
}
|
||||||
.maCode {
|
.maCode {
|
||||||
margin-top: 10px;
|
margin-top: 15px;
|
||||||
padding-bottom: 20px;
|
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
// margin-left:40px;
|
||||||
}
|
}
|
||||||
::v-deep.el-table .fixed-width .el-button--mini {
|
::v-deep.el-table .fixed-width .el-button--mini {
|
||||||
width: 60px !important;
|
width: 60px !important;
|
||||||
|
|
|
||||||
|
|
@ -171,7 +171,12 @@
|
||||||
<div class="uploadImg">
|
<div class="uploadImg">
|
||||||
<div id="qrcode" class="qrcode" ref="codeItem"></div>
|
<div id="qrcode" class="qrcode" ref="codeItem"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="info-container">
|
||||||
|
<div class="maCode">机具名称:{{ rowObj.modelName }}</div>
|
||||||
|
<div class="maCode">规格型号:{{ rowObj.typeName }}</div>
|
||||||
<div class="maCode">设备编号:{{ rowObj.maCode }}</div>
|
<div class="maCode">设备编号:{{ rowObj.maCode }}</div>
|
||||||
|
<div class="maCode">标签编号:{{ rowObj.labelCode }}</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -345,9 +350,18 @@ export default {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
.info-container {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
justify-content: center;
|
||||||
|
gap: 10px; /* 可根据需要调整间距 */
|
||||||
|
padding-left:100px;
|
||||||
|
}
|
||||||
.maCode {
|
.maCode {
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
// margin-left:40px;
|
||||||
}
|
}
|
||||||
::v-deep.el-table .fixed-width .el-button--mini {
|
::v-deep.el-table .fixed-width .el-button--mini {
|
||||||
width: 60px !important;
|
width: 60px !important;
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ module.exports = {
|
||||||
// target: `http://10.40.92.81:8080`, //韩/
|
// target: `http://10.40.92.81:8080`, //韩/
|
||||||
// target: `http://192.168.2.74:49080`, //旭/
|
// target: `http://192.168.2.74:49080`, //旭/
|
||||||
// target: `http://192.168.2.17:39080`, //帅
|
// target: `http://192.168.2.17:39080`, //帅
|
||||||
target: `http://192.168.2.209:49080`, //福
|
target: `http://localhost:39080`, //福
|
||||||
// target: `http://192.168.0.37:49080`, //跃
|
// target: `http://192.168.0.37:49080`, //跃
|
||||||
|
|
||||||
//******** 注意事项 ********* */
|
//******** 注意事项 ********* */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue