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