rev:合同台账修改
This commit is contained in:
@@ -236,7 +236,7 @@ export default {
|
||||
this.receiveDialog = true
|
||||
},
|
||||
openRemarkDaing(row) {
|
||||
this.openParam = row.id
|
||||
this.openParam = row
|
||||
this.remarkDaing = true
|
||||
},
|
||||
downdtl() {
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
<el-form
|
||||
ref="form"
|
||||
:inline="true"
|
||||
:model="form"
|
||||
:model="form1"
|
||||
:rules="rules"
|
||||
size="mini"
|
||||
label-width="85px"
|
||||
label-suffix=":"
|
||||
>
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-form-item label="备注" prop="remark1">
|
||||
<label slot="label">备 注:</label>
|
||||
<el-input
|
||||
v-model.trim="form.remark"
|
||||
v-model.trim="form1.remark1"
|
||||
style="width: 380px;"
|
||||
rows="2"
|
||||
type="textarea"
|
||||
@@ -54,14 +54,14 @@ export default {
|
||||
default: false
|
||||
},
|
||||
openParam: {
|
||||
type: String
|
||||
type: Object
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
fullscreenLoading: false,
|
||||
dialogVisible: false,
|
||||
form: {}
|
||||
form1: {}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
@@ -73,15 +73,15 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
close() {
|
||||
this.form = {}
|
||||
this.form1 = {}
|
||||
this.$emit('update:dialogShow', false)
|
||||
this.$emit('tableChanged', this.rows)
|
||||
},
|
||||
open() {
|
||||
this.form.id = this.openParam
|
||||
this.form1 = this.openParam
|
||||
},
|
||||
saveRemark() {
|
||||
crudOrderproc.saveRemark(this.form).then(res => {
|
||||
crudOrderproc.saveRemark(this.form1).then(res => {
|
||||
this.crud.notify('操作成功', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
this.close()
|
||||
this.crud.toQuery()
|
||||
|
||||
Reference in New Issue
Block a user