shish 2 years ago
parent
commit
4f38e825c7
1 changed files with 6 additions and 5 deletions
  1. 6 5
      ghs/src/views/order/add.vue

+ 6 - 5
ghs/src/views/order/add.vue

@@ -230,7 +230,7 @@ export default {
       printSelectList:'',
       printSelectList:'',
       orderMsg:'',
       orderMsg:'',
       number: 0,
       number: 0,
-      customId:591,
+      customId:0,
       customInfoList:[],
       customInfoList:[],
       loading: false,
       loading: false,
       selectCustomName:'',
       selectCustomName:'',
@@ -239,7 +239,7 @@ export default {
   },
   },
 	mixins: [productMins],
 	mixins: [productMins],
   created() {
   created() {
-    this.selectJobId = 591
+
   },
   },
   mounted() {
   mounted() {
     if(this.customId == 0){
     if(this.customId == 0){
@@ -322,9 +322,10 @@ export default {
   },
   },
   methods: {
   methods: {
     searchSelectCustom(e){
     searchSelectCustom(e){
-			this.customId = e
-      this.$nextTick(()=>{
-        this.$refs['itemSearchRef'].focus()
+      this.customId = e
+      this.selectJobId = e
+		  this.$nextTick(()=>{
+			  this.$refs['itemSearchRef'].focus()
       })
       })
 		},
 		},
 		searchCustomInfo(query) {
 		searchCustomInfo(query) {