浏览代码

no message

aXin-0810 9 月之前
父节点
当前提交
53bf9dfa0f

+ 93 - 77
src/views/auxiliaryFittings/salesManagement/oldPartsReturnFactory/mixins/basicInfo.js

@@ -1,12 +1,12 @@
 import { required, mobileRequired, mobile, httpUrl, email } from '@/components/template/rules_verify.js'
-import { getWebsit } from "@/api/customerManagement.js"
+import { getWebsit } from '@/api/customerManagement.js'
 import ImageUpload from '@/components/file-upload'
 import { storageListPageV2 } from '@/api/storage.js'
 export default {
   data() {
     return {
       websitList: [],
-			warehouseList: []
+      warehouseList: []
     }
   },
   computed: {
@@ -15,15 +15,20 @@ export default {
         {
           name: 'el-select',
           md: 6,
-          options: [{ value: "SAVE", label: "保存" }, { value: "SUBMIT", label: "提交" }, { value: "OK", label: "通过" }, { value: "FAIL", label: "失败" }],
+          options: [
+            { value: 'SAVE', label: '保存' },
+            { value: 'SUBMIT', label: '提交' },
+            { value: 'OK', label: '通过' },
+            { value: 'FAIL', label: '失败' }
+          ],
           attributes: {
             placeholder: '请选择',
             disabled: true
           },
           formItemAttributes: {
             label: '单据状态',
-            prop: 'flag',
-          },
+            prop: 'flag'
+          }
         },
         {
           name: 'el-input',
@@ -34,8 +39,8 @@ export default {
           },
           formItemAttributes: {
             label: '单据编号',
-            prop: 'partsRetId',
-          },
+            prop: 'partsRetId'
+          }
         },
         {
           name: 'el-input',
@@ -46,8 +51,8 @@ export default {
           },
           formItemAttributes: {
             label: '所属商户',
-            prop: 'companyWechatName',
-          },
+            prop: 'companyWechatName'
+          }
         },
         {
           name: 'el-select',
@@ -57,21 +62,21 @@ export default {
             placeholder: '请选择',
             clearable: true,
             filterable: true,
-            disabled: this.openType == 1 || !!~["OK", "FAIL"].indexOf(this.formData.flag)
+            disabled: this.openType == 1 || !!~['OK', 'FAIL'].indexOf(this.formData.flag)
           },
           formItemAttributes: {
             label: '网点名称',
             prop: 'websitId',
-            rules: [...required],
+            rules: [...required]
           },
           events: {
-            change: (val) => {
-              this.formData.websitName = this.websitList.find(item => item.value == val)?.label || ""
+            change: val => {
+              this.formData.websitName = this.websitList.find(item => item.value == val)?.label || ''
               this.formData.websitPartsRetItems = []
-			  this.formData.storageName = ''
-			  this.formData.storageId = ''
+              this.formData.storageName = ''
+              this.formData.storageId = ''
               this.getProductSel()
-			  this.getWarehouseList()
+              this.getWarehouseList()
             }
           }
         },
@@ -80,59 +85,59 @@ export default {
           md: 6,
           attributes: {
             placeholder: '请输入',
-            disabled: this.openType == 1 || !!~["OK", "FAIL"].indexOf(this.formData.flag)
+            disabled: this.openType == 1 || !!~['OK', 'FAIL'].indexOf(this.formData.flag)
           },
           formItemAttributes: {
             label: '返厂单位',
-            prop: 'factory',
-          },
+            prop: 'factory'
+          }
         },
         {
           name: 'el-input',
           md: 12,
           attributes: {
             placeholder: '请输入',
-            disabled: this.openType == 1 || !!~["OK", "FAIL"].indexOf(this.formData.flag)
+            disabled: this.openType == 1 || !!~['OK', 'FAIL'].indexOf(this.formData.flag)
           },
           formItemAttributes: {
             label: '返厂地址',
-            prop: 'factoryAddress',
+            prop: 'factoryAddress'
+          }
+        },
+        {
+          name: 'slot-component',
+          md: 6,
+          formItemAttributes: {
+            label: '出库仓库',
+            prop: 'storageId',
+            rules: [...required]
           },
+          render: (h, { props, onInput }) => {
+            var { value } = props
+            return (
+              <el-select
+                style="width:100%"
+                value={this.formData.storageId}
+                onInput={val => {
+                  this.formData.storageId = val
+                }}
+                placeholder="请选择"
+                disabled={this.openType == 1 || !!~['OK', 'FAIL'].indexOf(this.formData.flag)}
+                onChange={val => {
+                  if (val) {
+                    this.formData['storageName'] = this.warehouseList.find(item => item.storageId == val).storageName
+                  } else {
+                    this.formData['storageName'] = ''
+                  }
+                }}
+              >
+                {this.warehouseList.map(item => (
+                  <el-option key={item.storageId} label={item.storageName} value={item.storageId}></el-option>
+                ))}
+              </el-select>
+            )
+          }
         },
-		{
-		  name: 'slot-component',
-		  md: 6,
-		  formItemAttributes: {
-		    label: '出库仓库',
-		    prop: 'storageId',
-		    rules: [...required],
-		  },
-		  render: (h, { props, onInput }) => {
-		    var { value } = props
-		    return (
-				<el-select
-					style="width:100%"
-					value={this.formData.storageId}
-					onInput={val => {
-						this.formData.storageId = val
-					}}
-					placeholder="请选择"
-					disabled={this.openType == 1 || !!~["OK", "FAIL"].indexOf(this.formData.flag)}
-					onChange={val => {
-						if (val) {
-							this.formData['storageName'] = this.warehouseList.find(item => item.storageId == val).storageName
-						} else {
-							this.formData['storageName'] = ''
-						}
-					}}
-				>
-					{this.warehouseList.map(item => (
-					<el-option key={item.storageId} label={item.storageName} value={item.storageId}></el-option>
-					))}
-				</el-select>
-			)
-		  }
-		},
         {
           name: 'el-input',
           md: 6,
@@ -142,8 +147,8 @@ export default {
           },
           formItemAttributes: {
             label: '制单人',
-            prop: 'createBy',
-          },
+            prop: 'createBy'
+          }
         },
         {
           name: 'el-input',
@@ -154,8 +159,8 @@ export default {
           },
           formItemAttributes: {
             label: '制单时间',
-            prop: 'createTime',
-          },
+            prop: 'createTime'
+          }
         },
         {
           name: 'el-input',
@@ -166,8 +171,8 @@ export default {
           },
           formItemAttributes: {
             label: '审核人',
-            prop: 'confirmBy',
-          },
+            prop: 'confirmBy'
+          }
         },
         {
           name: 'el-input',
@@ -178,8 +183,8 @@ export default {
           },
           formItemAttributes: {
             label: '审核时间',
-            prop: 'confirmTime',
-          },
+            prop: 'confirmTime'
+          }
         },
         {
           md: 24,
@@ -193,7 +198,12 @@ export default {
           render: (h, { props, onInput }) => {
             var { value } = props
             return (
-              <ImageUpload fileList={this.formData.fileUrl} uid="imgSrc677766_materials_drawing_images_iuhu" limit={1} isEdit={this.openType != 1 && !~["OK", "FAIL"].indexOf(this.formData.flag)} />
+              <ImageUpload
+                fileList={this.formData.fileUrl}
+                uid="imgSrc677766_materials_drawing_images_iuhu"
+                limit={1}
+                isEdit={this.openType != 1 && !~['OK', 'FAIL'].indexOf(this.formData.flag)}
+              />
             )
           }
         },
@@ -203,15 +213,15 @@ export default {
           formItemAttributes: { label: '备注', prop: 'remark' },
           attributes: {
             placeholder: '备注',
-            disabled: this.openType == 1 || !!~["OK", "FAIL"].indexOf(this.formData.flag)
+            disabled: this.openType == 1 || !!~['OK', 'FAIL'].indexOf(this.formData.flag)
           }
-        },
+        }
       ]
     }
   },
   methods: {
     getWebsitList() {
-      getWebsit({ type: "C", status: true, isAll: true }).then(res => {
+      getWebsit({ type: 'C', status: true }).then(res => {
         this.websitList = res.data.map(item => ({
           label: item.name,
           value: item.websitId,
@@ -219,15 +229,21 @@ export default {
         }))
       })
     },
-	getWarehouseList(){
-		if(!this.formData.websitId){return this.warehouseList = []}
-		storageListPageV2({
-	        pageNum: 1,
-	        pageSize: -1,
-	        params: [{param: "a.type", compare: "like", value: "配件"},{param: "a.status", compare: "=", value: "true"},{param: "a.websit_id", compare: "=", value: this.formData.websitId}]
-	      }).then(res => {
-			this.warehouseList = res.data.records
-	      })
-	}
+    getWarehouseList() {
+      if (!this.formData.websitId) {
+        return (this.warehouseList = [])
+      }
+      storageListPageV2({
+        pageNum: 1,
+        pageSize: -1,
+        params: [
+          { param: 'a.type', compare: 'like', value: '配件' },
+          { param: 'a.status', compare: '=', value: 'true' },
+          { param: 'a.websit_id', compare: '=', value: this.formData.websitId }
+        ]
+      }).then(res => {
+        this.warehouseList = res.data.records
+      })
+    }
   }
 }

+ 30 - 24
src/views/engineeringAuxiliaryParts/projectCollectionManagement/workOrderInfo/mixins/serviceInfo.js

@@ -1,9 +1,6 @@
-import { listPageV2 } from "@/api/workOrder/orderType";
-import { getWebsit } from "@/api/customerManagement.js"
-import {
-  websitGoodsAlonePList,
-  websitGoodsAloneMList
-} from '@/api/auxiliaryMaterialBasicInfo.js'
+import { listPageV2 } from '@/api/workOrder/orderType'
+import { getWebsit } from '@/api/customerManagement.js'
+import { websitGoodsAlonePList, websitGoodsAloneMList } from '@/api/auxiliaryMaterialBasicInfo.js'
 import { required, mobileRequired, mobile, httpUrl, email } from '@/components/template/rules_verify.js'
 export default {
   data() {
@@ -39,10 +36,10 @@ export default {
           formItemAttributes: {
             label: '网点名称',
             prop: 'websitId',
-            rules: [...required],
+            rules: [...required]
           },
           events: {
-            change: (val) => {
+            change: val => {
               this.formData.websitName = this.websitList.find(item => item.value === val)?.label
             }
           }
@@ -63,7 +60,7 @@ export default {
             rules: [...required]
           },
           events: {
-            change: (val) => {
+            change: val => {
               this.formData.orderSmallTypeText = this.orderSmallTypeData.find(item => item.value === val)?.label
             }
           }
@@ -72,7 +69,7 @@ export default {
           name: 'el-input',
           md: 6,
           attributes: {
-            disabled: !!this.id,
+            disabled: !!this.id
           },
           formItemAttributes: {
             label: '工程编号',
@@ -84,7 +81,7 @@ export default {
           name: 'el-input',
           md: 6,
           attributes: {
-            disabled: !!this.id,
+            disabled: !!this.id
           },
           formItemAttributes: {
             label: '工程名称',
@@ -96,7 +93,7 @@ export default {
           name: 'el-input',
           md: 6,
           attributes: {
-            disabled: !!this.id,
+            disabled: !!this.id
           },
           formItemAttributes: {
             label: '销售单号',
@@ -108,7 +105,7 @@ export default {
           name: 'el-input',
           md: 6,
           attributes: {
-            disabled: !!this.id,
+            disabled: !!this.id
           },
           formItemAttributes: {
             label: '销售网点',
@@ -119,10 +116,13 @@ export default {
         {
           name: 'el-radio',
           md: 6,
-          options: [{ value: "M", label: "辅材" }, { value: "P", label: "配件" }],
+          options: [
+            { value: 'M', label: '辅材' },
+            { value: 'P', label: '配件' }
+          ],
           attributes: {
             disabled: !!this.id,
-            placeholder: '请选择',
+            placeholder: '请选择'
           },
           formItemAttributes: {
             label: '费用类型',
@@ -130,18 +130,18 @@ export default {
             rules: [...required]
           },
           events: {
-            change: (val) => {
+            change: val => {
               this.formData.items = []
               this.gettGoodsAloneList()
             }
           }
-        },
+        }
       ]
     }
   },
   created() {
     // 获取网点
-    getWebsit({ type: "C", status: true, isAll: this.id ? true : false }).then(res => {
+    getWebsit({ type: 'C', status: true }).then(res => {
       this.websitList = res.data.map(item => ({
         label: item.name,
         value: item.websitId,
@@ -149,7 +149,7 @@ export default {
       }))
     })
     // 获取工单类型
-    listPageV2({ "pageNum": 1, "pageSize": -1, "params": [{ "param": "a.status", "compare": "=", "value": "true" }] }).then(res => {
+    listPageV2({ pageNum: 1, pageSize: -1, params: [{ param: 'a.status', compare: '=', value: 'true' }] }).then(res => {
       this.orderSmallTypeData = res.data.records.map(item => ({
         value: item.id,
         label: item.orderSmallTypeText
@@ -160,13 +160,19 @@ export default {
     gettGoodsAloneList() {
       this.goodsList = []
       if (this.formData.goodsType) {
-        ({
+        ;({
           M: websitGoodsAloneMList,
           P: websitGoodsAlonePList
-        })[this.formData.goodsType]({ "pageNum": 1, "pageSize": -1, "params": [{ "param": "a.status", "compare": "=", "value": "ON" }] }).then(res => {
-          this.goodsList = res.data.records
-        })
+        }
+          [this.formData.goodsType]({
+            pageNum: 1,
+            pageSize: -1,
+            params: [{ param: 'a.status', compare: '=', value: 'ON' }]
+          })
+          .then(res => {
+            this.goodsList = res.data.records
+          }))
       }
     }
-  },
+  }
 }

+ 160 - 107
src/views/workOrder/penaltyWorkOrder/mixins/pandanxinxi.js

@@ -1,7 +1,7 @@
-import { getWebsit } from "@/api/customerManagement.js"
-import { memberListPageV2 } from "@/api/masterManagement";
+import { getWebsit } from '@/api/customerManagement.js'
+import { memberListPageV2 } from '@/api/masterManagement'
 import { required, mobileRequired, mobile, httpUrl, email } from '@/components/template/rules_verify.js'
-import { listPageV2 } from "@/api/workOrder/orderType";
+import { listPageV2 } from '@/api/workOrder/orderType'
 import ImageUpload from '@/components/file-upload'
 export default {
   data() {
@@ -20,34 +20,46 @@ export default {
             prop: 'workerId'
           },
           render: (h, { row, column, index }) => {
-            return <div class="redbordererr">
-              <el-form-item label="" label-width="0px" prop={`punishOrderWorkers.${index}.${column.columnAttributes.prop}`} rules={required}>
-                <zj-select
-                  value={row[column.columnAttributes.prop]}
-                  onInput={(val) => { row[column.columnAttributes.prop] = val }}
-                  onChange={(val) => {
-                    if (val) {
-                      var data = this.workerList.find(item => item.value == val)
-                      row.workerMobile = data?.data?.workerMobile || ""
-                      row.workerName = data?.label || val
-                    } else {
-                      row.workerName = ""
-                      row.workerMobile = ""
-                    }
-                    this.$nextTick(() => {
-                      this.itemjiaoyanqita(index)
-                    })
-                  }}
-                  placeholder="请选择"
-                  blurNoMatchText={true}
-                  disabled={this.formData.status == "OK"}
-                  clearable={true}
-                  filterable={true}
-                  blurNoMatchInputBorderColor="">
-                  {this.workerList.map((item, index_) => <zj-option key={index_} label={item.label} value={item.value}></zj-option>)}
-                </zj-select>
-              </el-form-item>
-            </div>
+            return (
+              <div class="redbordererr">
+                <el-form-item
+                  label=""
+                  label-width="0px"
+                  prop={`punishOrderWorkers.${index}.${column.columnAttributes.prop}`}
+                  rules={required}
+                >
+                  <zj-select
+                    value={row[column.columnAttributes.prop]}
+                    onInput={val => {
+                      row[column.columnAttributes.prop] = val
+                    }}
+                    onChange={val => {
+                      if (val) {
+                        var data = this.workerList.find(item => item.value == val)
+                        row.workerMobile = data?.data?.workerMobile || ''
+                        row.workerName = data?.label || val
+                      } else {
+                        row.workerName = ''
+                        row.workerMobile = ''
+                      }
+                      this.$nextTick(() => {
+                        this.itemjiaoyanqita(index)
+                      })
+                    }}
+                    placeholder="请选择"
+                    blurNoMatchText={true}
+                    disabled={this.formData.status == 'OK'}
+                    clearable={true}
+                    filterable={true}
+                    blurNoMatchInputBorderColor=""
+                  >
+                    {this.workerList.map((item, index_) => (
+                      <zj-option key={index_} label={item.label} value={item.value}></zj-option>
+                    ))}
+                  </zj-select>
+                </el-form-item>
+              </div>
+            )
           }
         },
         {
@@ -56,22 +68,28 @@ export default {
             prop: 'workerMobile'
           },
           render: (h, { row, column, index }) => {
-            return <div class="redbordererr">
-              <el-form-item label="" label-width="0px" prop={`punishOrderWorkers.${index}.${column.columnAttributes.prop}`} rules={mobileRequired}>
-                <el-input
-                  value={row[column.columnAttributes.prop]}
-                  onInput={(val) => {
-                    row[column.columnAttributes.prop] = val
-                    this.$nextTick(() => {
-                      this.itemjiaoyanqita(index)
-                    })
-                  }}
-                  placeholder="请输入内容"
-                  disabled={this.formData.status == "OK"}
+            return (
+              <div class="redbordererr">
+                <el-form-item
+                  label=""
+                  label-width="0px"
+                  prop={`punishOrderWorkers.${index}.${column.columnAttributes.prop}`}
+                  rules={mobileRequired}
                 >
-                </el-input>
-              </el-form-item>
-            </div>
+                  <el-input
+                    value={row[column.columnAttributes.prop]}
+                    onInput={val => {
+                      row[column.columnAttributes.prop] = val
+                      this.$nextTick(() => {
+                        this.itemjiaoyanqita(index)
+                      })
+                    }}
+                    placeholder="请输入内容"
+                    disabled={this.formData.status == 'OK'}
+                  ></el-input>
+                </el-form-item>
+              </div>
+            )
           }
         },
         {
@@ -80,27 +98,33 @@ export default {
             prop: 'amount'
           },
           render: (h, { row, column, index }) => {
-            return <div class="redbordererr">
-              <el-form-item label="" label-width="0px" prop={`punishOrderWorkers.${index}.${column.columnAttributes.prop}`} rules={required}>
-                <el-input
-                  value={row[column.columnAttributes.prop]}
-                  onInput={(val) => {
-                    row[column.columnAttributes.prop] = val
-                    this.$nextTick(() => {
-                      this.itemjiaoyanqita(index)
-                    })
-                  }}
-                  placeholder="请输入内容"
-                  disabled={this.formData.status == "OK"}
-                  type="number"
+            return (
+              <div class="redbordererr">
+                <el-form-item
+                  label=""
+                  label-width="0px"
+                  prop={`punishOrderWorkers.${index}.${column.columnAttributes.prop}`}
+                  rules={required}
                 >
-                </el-input>
-              </el-form-item>
-            </div>
+                  <el-input
+                    value={row[column.columnAttributes.prop]}
+                    onInput={val => {
+                      row[column.columnAttributes.prop] = val
+                      this.$nextTick(() => {
+                        this.itemjiaoyanqita(index)
+                      })
+                    }}
+                    placeholder="请输入内容"
+                    disabled={this.formData.status == 'OK'}
+                    type="number"
+                  ></el-input>
+                </el-form-item>
+              </div>
+            )
           }
         },
         ...(() => {
-          if (this.formData.status != "OK") {
+          if (this.formData.status != 'OK') {
             return [
               {
                 columnAttributes: {
@@ -108,13 +132,20 @@ export default {
                   width: 100
                 },
                 render: (h, { row, column, index }) => {
-                  return <div style="padding-left:10px">
-                    <el-button type="text" onClick={() => {
-                      this.formData.punishOrderWorkers.splice(index, 1)
-                    }}>删除</el-button>
-                  </div>
+                  return (
+                    <div style="padding-left:10px">
+                      <el-button
+                        type="text"
+                        onClick={() => {
+                          this.formData.punishOrderWorkers.splice(index, 1)
+                        }}
+                      >
+                        删除
+                      </el-button>
+                    </div>
+                  )
                 }
-              },
+              }
             ]
           }
           return []
@@ -128,12 +159,12 @@ export default {
           md: 6,
           attributes: {
             placeholder: '请输入',
-            disabled: this.formData.status == "OK"
+            disabled: this.formData.status == 'OK'
           },
           formItemAttributes: {
             label: '负激励工单号',
             prop: 'orderBaseId',
-            rules: [...required],
+            rules: [...required]
           }
         },
         {
@@ -144,15 +175,15 @@ export default {
             placeholder: '请选择',
             clearable: true,
             filterable: true,
-            disabled: this.formData.status == "OK"
+            disabled: this.formData.status == 'OK'
           },
           formItemAttributes: {
             label: '工单类型',
             prop: 'orderSmallType',
-            rules: [...required],
+            rules: [...required]
           },
           events: {
-            change: (val) => {
+            change: val => {
               if (val) {
                 this.formData.orderSmallTypeText = this.orderSmallTypeData.find(item => item.value == val).label
               } else {
@@ -169,15 +200,15 @@ export default {
             placeholder: '请选择',
             clearable: true,
             filterable: true,
-            disabled: this.formData.status == "OK"
+            disabled: this.formData.status == 'OK'
           },
           formItemAttributes: {
             label: '网点名称',
             prop: 'websitId',
-            rules: [...required],
+            rules: [...required]
           },
           events: {
-            change: (val) => {
+            change: val => {
               this.formData.punishOrderWorkers = []
               this.getWorkers()
               if (val) {
@@ -194,25 +225,30 @@ export default {
           formItemAttributes: {
             label: '负激励工程师',
             prop: 'punishOrderWorkers',
-            rules: [...required],
+            rules: [...required]
           },
           render: (h, { props }) => {
             var { formData } = props
             return (
               <div>
-                {
-                  this.formData.status != "OK" ?
-                    <div>
-                      <el-button size="mini" type="primary" onClick={() => {
+                {this.formData.status != 'OK' ? (
+                  <div>
+                    <el-button
+                      size="mini"
+                      type="primary"
+                      onClick={() => {
                         this.formData.punishOrderWorkers.unshift({
-                          "amount": "",
-                          "workerId": "",
-                          "workerMobile": "",
-                          "workerName": ""
+                          amount: '',
+                          workerId: '',
+                          workerMobile: '',
+                          workerName: ''
                         })
-                      }}>新增</el-button>
-                    </div> : null
-                }
+                      }}
+                    >
+                      新增
+                    </el-button>
+                  </div>
+                ) : null}
                 <zj-table
                   isDrop={true}
                   columns={this.workersColumns}
@@ -228,7 +264,7 @@ export default {
           formItemAttributes: { label: '处罚备注', prop: 'remark' },
           attributes: {
             placeholder: '处罚备注',
-            disabled: this.formData.status == "OK"
+            disabled: this.formData.status == 'OK'
           }
         },
         {
@@ -243,24 +279,31 @@ export default {
           render: (h, { props, onInput }) => {
             var { value } = props
             return (
-              <ImageUpload fileList={this.formData.fileUrls} uid="imgSrc677766_materials_drawing_images" limit={100} isEdit={this.formData.status != "OK"} />
+              <ImageUpload
+                fileList={this.formData.fileUrls}
+                uid="imgSrc677766_materials_drawing_images"
+                limit={100}
+                isEdit={this.formData.status != 'OK'}
+              />
             )
           }
-        },
+        }
       ]
     }
   },
   methods: {
     getorderSmallTypeData() {
-      listPageV2({ "pageNum": 1, "pageSize": -1, "params": [{ "param": "a.status", "compare": "=", "value": "true" }] }).then(res => {
-        this.orderSmallTypeData = res.data.records.map(item => ({
-          value: item.id,
-          label: item.orderSmallTypeText
-        }))
-      })
+      listPageV2({ pageNum: 1, pageSize: -1, params: [{ param: 'a.status', compare: '=', value: 'true' }] }).then(
+        res => {
+          this.orderSmallTypeData = res.data.records.map(item => ({
+            value: item.id,
+            label: item.orderSmallTypeText
+          }))
+        }
+      )
     },
     getWebsitList() {
-      getWebsit({ type: "C", status: true, isAll: true }).then(res => {
+      getWebsit({ type: 'C', status: true }).then(res => {
         this.websitList = res.data.map(item => ({
           label: item.name,
           value: item.websitId,
@@ -270,7 +313,14 @@ export default {
     },
     getWorkers() {
       if (this.formData.websitId) {
-        memberListPageV2({ "pageNum": 1, "pageSize": -1, "params": [{ "param": "b.examine_status", "compare": "=", "value": "OK" }, { "param": "b.websit_id", "compare": "=", "value": this.formData.websitId }] }).then(res => {
+        memberListPageV2({
+          pageNum: 1,
+          pageSize: -1,
+          params: [
+            { param: 'b.examine_status', compare: '=', value: 'OK' },
+            { param: 'b.websit_id', compare: '=', value: this.formData.websitId }
+          ]
+        }).then(res => {
           this.workerList = res.data.records.map(item => {
             var { id, userId, ...data } = item
             return {
@@ -291,11 +341,14 @@ export default {
       }
     },
     itemjiaoyanqita(index) {
-      this.$refs.formRef.validateField([
-        `punishOrderWorkers.${index}.workerId`,
-        `punishOrderWorkers.${index}.workerMobile`,
-        `punishOrderWorkers.${index}.amount`,
-      ], (valid, invalidFields, errLabels) => { })
-    },
-  },
+      this.$refs.formRef.validateField(
+        [
+          `punishOrderWorkers.${index}.workerId`,
+          `punishOrderWorkers.${index}.workerMobile`,
+          `punishOrderWorkers.${index}.amount`
+        ],
+        (valid, invalidFields, errLabels) => {}
+      )
+    }
+  }
 }