biaoge
This commit is contained in:
parent
aeb36c2bea
commit
ae49320b5f
|
@ -553,7 +553,7 @@
|
||||||
if (valid) {
|
if (valid) {
|
||||||
const isEdit = this.dialogType === "edit";
|
const isEdit = this.dialogType === "edit";
|
||||||
if (isEdit) {
|
if (isEdit) {
|
||||||
this.recordform.step=this.stepid;
|
this.recordform.material=this.material;
|
||||||
this.recordform.type=2;
|
this.recordform.type=2;
|
||||||
updaterecordform(this.recordform.id, this.recordform).then((res) => {
|
updaterecordform(this.recordform.id, this.recordform).then((res) => {
|
||||||
if (res.code >= 200) {
|
if (res.code >= 200) {
|
||||||
|
@ -563,7 +563,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.recordform.step=this.stepid
|
this.recordform.material=this.material;
|
||||||
this.recordform.type=2;
|
this.recordform.type=2;
|
||||||
createrecordform(this.recordform).then((res) => {
|
createrecordform(this.recordform).then((res) => {
|
||||||
if (res.code >= 200) {
|
if (res.code >= 200) {
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<el-table
|
<el-table
|
||||||
:data="subproductionplanList.results"
|
:data="subproductionplanList.results"
|
||||||
border
|
border
|
||||||
fit
|
|
||||||
stripe
|
stripe
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
height="300"
|
height="300"
|
||||||
|
@ -74,10 +74,8 @@
|
||||||
<el-table-column label="生产进度">
|
<el-table-column label="生产进度">
|
||||||
<template slot-scope="scope">{{ scope.row.main_count_real }}/{{scope.row.main_count}}</template>
|
<template slot-scope="scope">{{ scope.row.main_count_real }}/{{scope.row.main_count}}</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="创建时间">
|
|
||||||
<template slot-scope="scope">{{ scope.row.create_time }}</template>
|
<el-table-column align="center" label="操作" width="130px">
|
||||||
</el-table-column>
|
|
||||||
<el-table-column align="center" label="操作" width="220px">
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-link v-if="scope.row.state == 1" @click="handleNeed(scope)"
|
<el-link v-if="scope.row.state == 1" @click="handleNeed(scope)"
|
||||||
>领料</el-link
|
>领料</el-link
|
||||||
|
|
Loading…
Reference in New Issue