biaoge
This commit is contained in:
parent
aeb36c2bea
commit
ae49320b5f
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue