|
@@ -52,19 +52,20 @@ export default {
|
|
|
return {
|
|
|
confirmLoading: false,
|
|
|
form: this.$form.createForm(this),
|
|
|
- visible: false
|
|
|
+ visible: false,
|
|
|
+ modal: {}
|
|
|
// 下拉框map
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
|
- this.getUser()
|
|
|
},
|
|
|
methods: {
|
|
|
base (record) {
|
|
|
this.visible = true
|
|
|
const { form: { setFieldsValue } } = this
|
|
|
// 日期处理
|
|
|
-
|
|
|
+ this.modal = record
|
|
|
+ console.log(record)
|
|
|
this.$nextTick(() => {
|
|
|
setFieldsValue(Object.assign(pick(record, [
|
|
|
'id'
|
|
@@ -79,6 +80,7 @@ export default {
|
|
|
this.confirmLoading = false
|
|
|
return
|
|
|
}
|
|
|
+ values.sbIds = this.modal.sbIds
|
|
|
console.log(values)
|
|
|
VerifyFillGatherTask(values).then(res => {
|
|
|
this.$message.success('审核成功!')
|