Commit 271c9c1d authored by 仇晓婷's avatar 仇晓婷

gongdan

parent 0c702470
...@@ -531,7 +531,7 @@ export default { ...@@ -531,7 +531,7 @@ export default {
}, },
handleselfCheckAll() { handleselfCheckAll() {
this.isselfCheckAll = !this.isselfCheckAll; this.isselfCheckAll = !this.isselfCheckAll;
console.log(this.recorddata) console.log(this.recorddata);
for (let i = 0; i < this.recorddata.length; i++) { for (let i = 0; i < this.recorddata.length; i++) {
let obj = this.recorddata[i]; let obj = this.recorddata[i];
if (obj.fillintype == 1) { if (obj.fillintype == 1) {
...@@ -613,7 +613,8 @@ console.log(this.recorddata) ...@@ -613,7 +613,8 @@ console.log(this.recorddata)
movieid: obj.movieid, movieid: obj.movieid,
Fillintype: obj.fillintype, Fillintype: obj.fillintype,
fill_in_content: obj.selfchecklist.fill_in_content, fill_in_content: obj.selfchecklist.fill_in_content,
fillinstatus: "1" fillinstatus: "1",
dispatch_id: obj.dispatch_id
}; };
recordList.push(qc); recordList.push(qc);
} }
...@@ -633,7 +634,8 @@ console.log(this.recorddata) ...@@ -633,7 +634,8 @@ console.log(this.recorddata)
movieid: obj.movieid, movieid: obj.movieid,
Fillintype: obj.fillintype, Fillintype: obj.fillintype,
fill_in_content: obj.mutualchecklist.fill_in_content, fill_in_content: obj.mutualchecklist.fill_in_content,
fillinstatus: "1" fillinstatus: "1",
dispatch_id: obj.dispatch_id
}; };
recordList.push(qc); recordList.push(qc);
} }
...@@ -650,13 +652,12 @@ console.log(this.recorddata) ...@@ -650,13 +652,12 @@ console.log(this.recorddata)
this.$refs.usercard.loadentry(this.entryModel, fillModel, recordList); this.$refs.usercard.loadentry(this.entryModel, fillModel, recordList);
}, },
selfchecklistcheck(index, e) { selfchecklistcheck(index, e) {
alert(e) alert(e);
this.recorddata[index].selfchecklist.checkstatus = e; this.recorddata[index].selfchecklist.checkstatus = e;
this.recorddata[index].selfchecklist.fill_in_content = e ? "1" : "0"; this.recorddata[index].selfchecklist.fill_in_content = e ? "1" : "0";
}, },
selfchecklistinput(index, e) { selfchecklistinput(index, e) {
this.recorddata[index].selfchecklist.fill_in_content = e;
this.recorddata[index].selfchecklist.fill_in_content = e
}, },
mutualchecklistcheck(index, e) { mutualchecklistcheck(index, e) {
...@@ -664,7 +665,7 @@ console.log(this.recorddata) ...@@ -664,7 +665,7 @@ console.log(this.recorddata)
this.recorddata[index].mutualchecklist.fill_in_content = e ? "1" : "0"; this.recorddata[index].mutualchecklist.fill_in_content = e ? "1" : "0";
}, },
mutualchecklistinput(index, e) { mutualchecklistinput(index, e) {
this.recorddata[index].mutualchecklist.fill_in_content = e this.recorddata[index].mutualchecklist.fill_in_content = e;
}, },
seizurechecklistcheck(index, e) { seizurechecklistcheck(index, e) {
this.recorddata[index].seizurechecklist.checkstatus = e; this.recorddata[index].seizurechecklist.checkstatus = e;
...@@ -678,7 +679,6 @@ console.log(this.recorddata) ...@@ -678,7 +679,6 @@ console.log(this.recorddata)
this.$refs.sendCheck.loadentry(this.entryModel); this.$refs.sendCheck.loadentry(this.entryModel);
}, },
SendCheckRecord() { SendCheckRecord() {
this.sendCheckRecordModal = true; this.sendCheckRecordModal = true;
......
...@@ -134,7 +134,8 @@ export default { ...@@ -134,7 +134,8 @@ export default {
}, },
handleClose() {}, handleClose() {},
loadentry(entryModel, fillModel, recordList) { loadentry(entryModel, fillModel, recordList) {
this.user.dispatch_id = entryModel.id;
this.user.dispatch_id = recordList[0].dispatch_id
this.user.execute_id = entryModel.executeId; this.user.execute_id = entryModel.executeId;
this.user.order_id = entryModel.order_id; this.user.order_id = entryModel.order_id;
this.user.routingHeaderId = entryModel.routingHeaderId; this.user.routingHeaderId = entryModel.routingHeaderId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment