Compare commits

..

No commits in common. "71c75d2f2fcd1c285c8f6ff966e10928a6a3c175" and "9803534ef50c989a31ad502a2b2ddc7b450b7d9e" have entirely different histories.

4 changed files with 32 additions and 46 deletions

View File

@ -2,10 +2,7 @@
<!-- 领料审核页面 -->
<div id="ReceiveExamine">
<el-row :gutter="10" class="mb8">
<h3
><span class="apply-user">{{ queryParams.applyFor }}</span>
提交的领料申请</h3
>
<h3>{{ queryParams.applyFor }}提交的领料申请</h3>
<div>领料单号{{ queryParams.code }}</div>
</el-row>
<el-row :gutter="24" class="mb8">
@ -102,7 +99,7 @@
:show-overflow-tooltip="true"
/>
<el-table-column
label="领料申请人"
label="申请人"
align="center"
prop="applyFor"
:show-overflow-tooltip="true"
@ -218,35 +215,35 @@
<el-button
type="primary"
@click="subAuditLeaseByCompany(9)"
v-show="queryParams.taskStatus == 30"
v-if="queryParams.taskStatus == 30"
v-hasPermi="['picking:auditing:fgs']"
> </el-button
>
<el-button
type="primary"
@click="subAuditLeaseByCompany(5)"
v-show="queryParams.taskStatus == 31"
v-if="queryParams.taskStatus == 31"
v-hasPermi="['picking:auditing:sgb']"
> </el-button
>
<el-button
type="primary"
@click="subAuditLeaseByCompany(7)"
v-show="queryParams.taskStatus == 31"
v-if="queryParams.taskStatus == 31"
v-hasPermi="['receive:examine:ajb']"
> </el-button
>
<el-button
type="primary"
@click="subAuditLeaseByCompany(1)"
v-show="queryParams.taskStatus == 32"
v-if="queryParams.taskStatus == 32"
v-hasPermi="['picking:auditing:jjnb']"
> </el-button
>
<el-button
type="primary"
@click="subAuditLeaseByCompany(3)"
v-show="queryParams.taskStatus == 32"
v-if="queryParams.taskStatus == 32"
v-hasPermi="['picking:auditing:tsnb']"
> </el-button
>
@ -271,35 +268,35 @@
<el-button
type="primary"
@click="refuseAuditLeaseByCompany(10)"
v-show="queryParams.taskStatus == 30"
v-if="queryParams.taskStatus == 30"
v-hasPermi="['picking:auditing:fgs']"
> </el-button
>
<el-button
type="primary"
@click="refuseAuditLeaseByCompany(6)"
v-show="queryParams.taskStatus == 31"
v-if="queryParams.taskStatus == 31"
v-hasPermi="['picking:auditing:sgb']"
> </el-button
>
<el-button
type="primary"
@click="refuseAuditLeaseByCompany(8)"
v-show="queryParams.taskStatus == 31"
v-if="queryParams.taskStatus == 31"
v-hasPermi="['receive:examine:ajb']"
> </el-button
>
<el-button
type="primary"
@click="refuseAuditLeaseByCompany(2)"
v-show="queryParams.taskStatus == 32"
v-if="queryParams.taskStatus == 32"
v-hasPermi="['picking:auditing:jjnb']"
> </el-button
>
<el-button
type="primary"
@click="refuseAuditLeaseByCompany(4)"
v-show="queryParams.taskStatus == 32"
v-if="queryParams.taskStatus == 32"
v-hasPermi="['picking:auditing:tsnb']"
> </el-button
>
@ -787,9 +784,4 @@ export default {
font-size: 13px;
}
}
.apply-user {
margin-right: 2px;
letter-spacing: 1px;
}
</style>

View File

@ -234,7 +234,7 @@
type="text"
@click="handleExamine(scope.row)"
v-hasPermi="['picking:auditing:fgs']"
v-show="
v-if="
Number(scope.row.examineStatusId) == 30 &&
scope.row.deptId == currentDeptId
"
@ -245,7 +245,7 @@
type="text"
@click="handleExamine(scope.row)"
v-hasPermi="['picking:auditing:sgb']"
v-show="
v-if="
Number(scope.row.examineStatusId) == 31 &&
(scope.row.leaseApplyInfoList[0].status == '0' ||
scope.row.leaseApplyInfoList[0].status == '7' ||
@ -273,7 +273,7 @@
type="text"
@click="handleExamine(scope.row, 'jjfgs')"
v-hasPermi="['picking:auditing:jjnb']"
v-show="
v-if="
Number(scope.row.examineStatusId) == 32 &&
(scope.row.leaseApplyInfoList[0].status == '5' ||
scope.row.leaseApplyInfoList[0].status == '7' ||
@ -288,7 +288,7 @@
type="text"
@click="handleExamine(scope.row, 'sbfgs')"
v-hasPermi="['picking:auditing:tsnb']"
v-show="
v-if="
Number(scope.row.examineStatusId) == 32 &&
(scope.row.leaseApplyInfoList[0].status == '5' ||
scope.row.leaseApplyInfoList[0].status == '7' ||
@ -475,12 +475,6 @@ import { getInfo } from '@/api/login'
import vueEasyPrint from 'vue-easy-print'
export default {
// name: "ReceiveManage",
props: {
isRefresh: {
type: Boolean,
default: () => false,
},
},
data() {
return {
//
@ -594,6 +588,11 @@ export default {
// console.log(this.user)
this.getList()
},
/* 刷新列表 */
refreshList() {
this.getList()
},
/** 查询列表 */
async getList() {
this.loading = true
@ -612,7 +611,7 @@ export default {
const res = await getLeaseManageListAll(params)
this.loading = false
console.log('getList ============', res, '列表查询')
console.log('getList ============', res)
this.leaseAuditList = res.data.rows
// this.leaseAuditList.forEach((item,index)=>{
// console.log(item.leaseApplyInfoList)
@ -787,12 +786,6 @@ export default {
})
},
},
activated() {
if (this.isRefresh) {
this.getList()
}
},
}
</script>

View File

@ -7,12 +7,11 @@
@goBack="goBack"
/>
<!-- 6.17 新增组件缓存 因客户需要查询或审核后返回列表时保留页面状态 -->
<keep-alive include="Home">
<keep-alive>
<component
ref="componentRef"
:is="isShowComponent"
:isView="isView"
:isRefresh="isRefresh"
:auditingTaskId="auditingTaskId"
@pickingView="pickingView"
@pickingAuditing="pickingAuditing"
@ -38,7 +37,7 @@ export default {
pageContent: '',
auditingTaskId: '',
isView: false,
isRefresh: false,
includeCom: '',
}
},
methods: {
@ -57,11 +56,13 @@ export default {
this.isShowComponent = 'AuditingPage'
},
goBack(val) {
this.isRefresh = false
this.isShowComponent = 'Home'
// val 1
if (val == 1) {
this.isRefresh = true
if (val === 1) {
this.$nextTick(() => {
this.$refs.componentRef.refreshList()
})
}
},
},

View File

@ -43,11 +43,11 @@ module.exports = {
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网
// target: `https://z.csgmall.com.cn`,
// target: `http://10.40.92.60:28080`, //超
// target: `http://10.40.92.51:28080`, //超
// target: `http://10.40.92.81:8080`, //韩/
// target: `http://10.40.92.74:8080`,//旭/
// target: `http://10.40.92.140:28080`, //帅
target: `http://10.40.92.253:28080`, //福
target: `http://10.40.92.140:28080`, //帅
// target: `http://10.40.92.253:28080`, //福
//******** 注意事项 ********* */
//1.全局替换qrUrl二维码扫码提供的网址-发布服务器的地址target;