tijao
This commit is contained in:
parent
1d7c81ab3c
commit
c03dda3960
|
@ -74,7 +74,7 @@
|
|||
|
||||
<el-table-column align="center" label="操作" width="130px">
|
||||
<template slot-scope="scope">
|
||||
<el-link v-if="scope.row.state == 1" @click="handleNeed(scope)"
|
||||
<el-link @click="handleNeed(scope)"
|
||||
>领料</el-link
|
||||
>
|
||||
</template>
|
||||
|
@ -627,6 +627,7 @@ export default {
|
|||
from: [],
|
||||
workdata: {},
|
||||
wproductdata: {},
|
||||
workData:{},
|
||||
|
||||
};
|
||||
},
|
||||
|
@ -881,18 +882,21 @@ export default {
|
|||
record_data: _this.field1,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
this.workData.step=this.step;
|
||||
this.workData.wproducts=this.wproducts;
|
||||
this.workData.input=this.input;
|
||||
this.workData.output=this.output;
|
||||
this.workData.forms=this.from;
|
||||
this.workData.remark=this.remark;
|
||||
if (this.subproduction_plan != "") {
|
||||
this.wproductdata.subproduction_plan = this.subproduction_plan;
|
||||
}
|
||||
console.log(this.remark);
|
||||
|
||||
|
||||
submitWork({
|
||||
step: this.step,
|
||||
subproduction_plan: this.subproduction_plan,
|
||||
wproducts: this.wproducts,
|
||||
input: this.input,
|
||||
output: this.output,
|
||||
forms: this.from,
|
||||
remark: this.remark,
|
||||
}).then((res) => {
|
||||
submitWork(this.workData).then((res) => {
|
||||
if (res.code >= 200) {
|
||||
this.dialogVisiblework = false;
|
||||
this.$message.success("成功!");
|
||||
|
|
Loading…
Reference in New Issue