diff --git a/src/views/purchase/purApply/purOrderSelectProduct.vue b/src/views/purchase/purApply/purOrderSelectProduct.vue
index 7921a9a1..ad18422f 100644
--- a/src/views/purchase/purApply/purOrderSelectProduct.vue
+++ b/src/views/purchase/purApply/purOrderSelectProduct.vue
@@ -25,7 +25,7 @@
-
diff --git a/src/views/purchase/purOrder/purOrder.vue b/src/views/purchase/purOrder/purOrder.vue
index f402c3a6..24f24d6b 100644
--- a/src/views/purchase/purOrder/purOrder.vue
+++ b/src/views/purchase/purOrder/purOrder.vue
@@ -26,7 +26,7 @@
-
+
+
{{ emergencyMap[scope.row.emergency] }}
@@ -176,12 +177,12 @@ export default {
corpName: null,
type: 1,
editStatus: 1,
- emergency:'',
- deptCode:'',
- invCode:''
+ emergency: '',
+ deptCode: '',
+ invCode: ''
},
formName: null,
- invCodebe:null,
+ invCodebe: null,
formMap: {
add: "新增采购订单",
update: "编辑采购订单",
@@ -192,7 +193,7 @@ export default {
3: "已审核",
4: "已拒绝"
},
- emergencyMap:{
+ emergencyMap: {
1: "正常",
2: "较急",
3: "特急",
@@ -286,7 +287,7 @@ export default {
this.newSpDistributionVisible = false
}
});
- }else{
+ } else {
this.newSpDistributionVisible = false
}
@@ -312,7 +313,7 @@ export default {
if (response.code == 20000) {
this.list = response.data.list || [];
this.total = response.data.total || 0;
- this.detailList=[]
+ this.detailList = []
} else {
this.$message.error(response.message);
}
@@ -404,8 +405,8 @@ export default {
this.detailList = [];
},
getInvList() {
- var query={
- parentId:this.filterQuery.deptCode
+ var query = {
+ parentId: this.filterQuery.deptCode
}
filterSubAll(query).then((res) => {
this.invList = res.data || [];
@@ -414,12 +415,12 @@ export default {
getDeptList() {
getDeptListByUser().then((res) => {
this.deptList = res.data || [];
- if(this.deptList.length>0){
- this.filterQuery.deptCode=this.deptList[0].code
- this.invCodebe=this.filterQuery.deptCode
+ if (this.deptList.length > 0) {
+ this.filterQuery.deptCode = this.deptList[0].code
+ this.invCodebe = this.filterQuery.deptCode
}
this.getList();
- this. getInvList();
+ this.getInvList();
});
},
diff --git a/src/views/purchase/purOrder/purOrderAudit.vue b/src/views/purchase/purOrder/purOrderAudit.vue
index 5f1b8579..c212e8b2 100644
--- a/src/views/purchase/purOrder/purOrderAudit.vue
+++ b/src/views/purchase/purOrder/purOrderAudit.vue
@@ -83,6 +83,7 @@
+
{{ emergencyMap[scope.row.emergency] }}
diff --git a/src/views/purchase/purOrder/purOrderSearch.vue b/src/views/purchase/purOrder/purOrderSearch.vue
index 4e98a2d1..7a1d9f30 100644
--- a/src/views/purchase/purOrder/purOrderSearch.vue
+++ b/src/views/purchase/purOrder/purOrderSearch.vue
@@ -10,7 +10,7 @@
-
+
+
{{ emergencyMap[scope.row.emergency] }}
@@ -193,11 +194,11 @@ export default {
corpName: null,
type: 1,
editStatus: 1,
- emergency:'',
- deptCode:'',
+ emergency: '',
+ deptCode: '',
},
- Menustatus:null,
- filePath:"",
+ Menustatus: null,
+ filePath: "",
formName: null,
formMap: {
add: "新增采购计划",
@@ -221,7 +222,7 @@ export default {
editType: 1,
total: 0,
thirdSys: [],
- invCodebe:null,
+ invCodebe: null,
thirdSysDetail: null,
busTypes: [],
originTypes: [],
@@ -328,7 +329,7 @@ export default {
hideSearch() {
this.showSearch = !this.showSearch;
},
- help(){
+ help() {
this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
window.open(this.certFileUrl + this.filePath);
},
@@ -354,7 +355,7 @@ export default {
if (response.code == 20000) {
this.list = response.data.list || [];
this.total = response.data.total || 0;
- this.detailList=[]
+ this.detailList = []
} else {
this.$message.error(response.message);
}
@@ -410,12 +411,12 @@ export default {
this.getList();
},
- selectAuthMenu(){
- let params={menuName:this.$route.meta.title}
- selectAuthMenu(params).then((res) =>{
- if(res.code === 20000){
- this.Menustatus=res.data.status;
- this.filePath=res.data.filePath;
+ selectAuthMenu() {
+ let params = {menuName: this.$route.meta.title}
+ selectAuthMenu(params).then((res) => {
+ if (res.code === 20000) {
+ this.Menustatus = res.data.status;
+ this.filePath = res.data.filePath;
}
})
},
@@ -427,8 +428,8 @@ export default {
},
getInvList() {
- var query={
- parentId:this.filterQuery.deptCode
+ var query = {
+ parentId: this.filterQuery.deptCode
}
filterSubAll(query).then((res) => {
this.invList = res.data || [];
@@ -437,12 +438,12 @@ export default {
getDeptList() {
getDeptListByUser().then((res) => {
this.deptList = res.data || [];
- if(this.deptList.length>0){
- this.filterQuery.deptCode=this.deptList[0].code
- this.invCodebe=this.filterQuery.deptCode
+ if (this.deptList.length > 0) {
+ this.filterQuery.deptCode = this.deptList[0].code
+ this.invCodebe = this.filterQuery.deptCode
}
this.getList();
- this. getInvList();
+ this.getInvList();
});
},