Ver Fonte

no message

linwenxin há 5 meses atrás
pai
commit
d7617fb5cf

+ 3 - 1
src/views/auxiliaryFittings/salesManagement/components/attachmentSalesOrderDetail.vue

@@ -762,6 +762,7 @@ export default {
             storageId: res.data.storageId
           }
         })
+        console.log(1111111111111111111)
         this.getWorker()
         this.getWarehouseList(res.data.websitId)
         if (res.data.salesType == '工程') {
@@ -855,10 +856,11 @@ export default {
       }
     },
     getWorker() {
+      console.log(this.formType, '=============================')
       getWorker({
         pageNum: 1,
         pageSize: -1,
-        params: [{ param: 'b.websit_id', compare: '=', value: this.formData.websitId }]
+        params: this.formType == 2 ? [] : [{ param: 'b.websit_id', compare: '=', value: this.formData.websitId }]
       }).then(res => {
         this.workerList = res.data.records
       })

+ 1 - 1
src/views/auxiliaryFittings/salesManagement/components/auxiliarySalesOrderDetail.vue

@@ -909,7 +909,7 @@ export default {
       getWorker({
         pageNum: 1,
         pageSize: -1,
-        params: [{ param: 'b.websit_id', compare: '=', value: this.formData.websitId }]
+        params: this.formType == 2 ? [] : [{ param: 'b.websit_id', compare: '=', value: this.formData.websitId }]
       }).then(res => {
         this.workerList = res.data.records
       })