瀏覽代碼

订单筛选去除工具借用单

qymljy 1 年之前
父節點
當前提交
2fe6105912

+ 5 - 0
src/HDrpManagement/contactProfile/modules/detail.vue

@@ -473,6 +473,11 @@ export default {
     async queryType() {
       const res = await this.$store.dispatch('optiontypeselect', 'ordertype');
       this.orderTypeList = res.data
+      this.orderTypeList.forEach((item,index)=>{
+        if (item.value == '工具借用单'){
+          this.orderTypeList.splice(index,1)
+        }
+      })
     },
     unitCompile(num) {
       if (num == 0) {

+ 6 - 1
src/HDrpManagement/customerPortrait/modules/detail.vue

@@ -567,7 +567,12 @@ export default {
 
       const res2 = await this.$store.dispatch('optiontypeselect','ordertype')
       this.orderTypeList = res2.data
-      console.log(this.orderTypeList,'订单类型');
+      this.orderTypeList.forEach((item,index)=>{
+        if (item.value == '工具借用单'){
+          this.orderTypeList.splice(index,1)
+        }
+      })
+
 
       /*获取阶段*/
       const res3 = await this.$api.requested({

+ 5 - 1
src/HDrpManagement/salerPortrait/modules/detail.vue

@@ -640,7 +640,11 @@ export default {
 
       const res2 = await this.$store.dispatch('optiontypeselect','ordertype')
       this.orderTypeList = res2.data
-      console.log(this.orderTypeList,'订单类型');
+      this.orderTypeList.forEach((item,index)=>{
+        if (item.value == '工具借用单'){
+          this.orderTypeList.splice(index,1)
+        }
+      })
 
       /*获取阶段*/
       const res3 = await this.$api.requested({