This commit is contained in:
shilixia 2021-11-10 15:14:31 +08:00
parent aeb36c2bea
commit ae49320b5f
2 changed files with 5 additions and 7 deletions

View File

@ -553,7 +553,7 @@
if (valid) {
const isEdit = this.dialogType === "edit";
if (isEdit) {
this.recordform.step=this.stepid;
this.recordform.material=this.material;
this.recordform.type=2;
updaterecordform(this.recordform.id, this.recordform).then((res) => {
if (res.code >= 200) {
@ -563,7 +563,7 @@
}
});
} else {
this.recordform.step=this.stepid
this.recordform.material=this.material;
this.recordform.type=2;
createrecordform(this.recordform).then((res) => {
if (res.code >= 200) {

View File

@ -11,7 +11,7 @@
<el-table
:data="subproductionplanList.results"
border
fit
stripe
style="width: 100%"
height="300"
@ -74,10 +74,8 @@
<el-table-column label="生产进度">
<template slot-scope="scope">{{ scope.row.main_count_real }}/{{scope.row.main_count}}</template>
</el-table-column>
<el-table-column label="创建时间">
<template slot-scope="scope">{{ scope.row.create_time }}</template>
</el-table-column>
<el-table-column align="center" label="操作" width="220px">
<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