Merge remote-tracking branch 'origin/master'

prod
schry 2 years ago
commit 356131f9c6

@ -15,8 +15,8 @@ ENV = 'test'
# 测试服务器 # 测试服务器
# VUE_APP_BASE_API = 'http://192.168.0.66:9150/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://192.168.0.66:9150/UDI_WMS_MC/'
# 文明东 # 192.168.0.66测试服务器
VUE_APP_BASE_API = 'http://192.168.0.62:9150/UDI_WMS_MC/' VUE_APP_BASE_API = 'http://192.168.0.66:8883/UDI_WMS_MC/'
# 吴总测试服务器 # 吴总测试服务器
# VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/'

@ -90,7 +90,7 @@
<el-table-column label="单据号" prop="billNo"></el-table-column> <el-table-column label="单据号" prop="billNo"></el-table-column>
<el-table-column label="领用仓库" prop="invName"></el-table-column> <el-table-column label="领用仓库" prop="invName"></el-table-column>
<el-table-column label="往来信息" prop="targetInvName" show-overflow-tooltip="true"></el-table-column> <el-table-column label="往来信息" prop="targetInvName" show-overflow-tooltip="true"></el-table-column>
<el-table-column label="单据日期" prop="billDate"></el-table-column> <el-table-column label="单据日期" prop="createTime"></el-table-column>
<el-table-column label="状态" prop="status"> <el-table-column label="状态" prop="status">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="(scope.row.status) | statusFilterType"> <el-tag :type="(scope.row.status) | statusFilterType">

@ -94,6 +94,12 @@
<el-input v-model="formData.remark" auto-complete="off"></el-input> <el-input v-model="formData.remark" auto-complete="off"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col v-if="formData.status==4" :span="11">
<el-form-item prop="remark" label="拒绝原因:">
<el-input :disabled="true" v-model="formData.auditRemark" auto-complete="off"></el-input>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-card> </el-card>
<el-card> <el-card>

@ -10,7 +10,7 @@
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="领用仓库:"> <el-form-item label="领用仓库:">
<el-select v-model="filterQuery.targetInvCode" placeholder="请选择领用仓库" style="width: 100%;"> <el-select v-model="filterQuery.invCode" placeholder="请选择领用仓库" style="width: 100%;">
<el-option <el-option
v-for="item in invList" v-for="item in invList"
:key="item.code" :key="item.code"
@ -243,7 +243,7 @@ export default {
page: 1, page: 1,
limit: 10, limit: 10,
corpName: null, corpName: null,
targetInvCode: this.invCodebe, invCode: this.invCodebe,
type: 2, type: 2,
editStatus: 2, editStatus: 2,
}; };
@ -334,8 +334,8 @@ export default {
.then((response) => { .then((response) => {
this.invList = response.data || []; this.invList = response.data || [];
if (this.invList.length > 0) { if (this.invList.length > 0) {
this.filterQuery.targetInvCode = this.invList[0].code this.filterQuery.invCode = this.invList[0].code
this.invCodebe = this.filterQuery.targetInvCode this.invCodebe = this.filterQuery.invCode
} }
this.getList(); this.getList();
}) })

@ -26,7 +26,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="采购仓库"> <el-form-item label="采购仓库">
<el-select v-model="filterQuery.targetInvCode" style="width: 90%" placeholder="请选择所属仓库"> <el-select v-model="filterQuery.invCode" style="width: 90%" placeholder="请选择所属仓库">
<el-option <el-option
v-for="item in invList" v-for="item in invList"
:key="item.name" :key="item.name"
@ -172,7 +172,8 @@ export default {
type: 1, type: 1,
editStatus: 1, editStatus: 1,
emergency:'', emergency:'',
deptCode:'', deptCode:'',
invCode:null
}, },
formName: null, formName: null,
formMap: { formMap: {
@ -186,9 +187,9 @@ export default {
4: "已拒绝" 4: "已拒绝"
}, },
emergencyMap: { emergencyMap: {
1: "普通", 1: "正常",
2: "急", 2: "急",
3: "不紧急", 3: "急",
}, },
invList: {}, invList: {},
deptList: {}, deptList: {},
@ -256,8 +257,10 @@ export default {
corpName: null, corpName: null,
type: 1, type: 1,
editStatus: 1, editStatus: 1,
deptCode: this.invCodebe, deptCode: this.invCodebe,
invCode:null
}; };
this.getInvList()
this.actDateRange = []; this.actDateRange = [];
this.getList(); this.getList();
}, },
@ -359,6 +362,7 @@ export default {
var query={ var query={
parentId:this.filterQuery.deptCode parentId:this.filterQuery.deptCode
} }
this.filterQuery.invCode = null
filterSubAll(query).then((res) => { filterSubAll(query).then((res) => {
this.invList = res.data || []; this.invList = res.data || [];
}) })

@ -328,10 +328,10 @@ export default {
this.filterQuery.endDate = null; this.filterQuery.endDate = null;
} }
if (this.actAuditDateRange != null) { if (this.actAuditDateRange != null) {
this.filterQuery.starAuditDate = this.actAuditDateRange[0]; this.filterQuery.startAuditDate = this.actAuditDateRange[0];
this.filterQuery.endAuditDate = this.actAuditDateRange[1]; this.filterQuery.endAuditDate = this.actAuditDateRange[1];
} else { } else {
this.filterQuery.starAuditDate = null; this.filterQuery.startAuditDate = null;
this.filterQuery.endAuditDate = null; this.filterQuery.endAuditDate = null;
} }
this.loading = true; this.loading = true;

Loading…
Cancel
Save