刘璐珈

This commit is contained in:
Vergil
2020-02-26 18:12:42 +08:00
parent 00a2116efe
commit 0b6cb6f55a
12 changed files with 460 additions and 254 deletions

View File

@@ -22,7 +22,7 @@
</el-select>
<el-input v-model="Partpaint" placeholder="零件号" clearable size="small" style="width: 180px;margin:0px 10px;"/>
<el-button type="primary" plain class="el-icon-search" size="small" style="margin: 0px 10px;" @click="pageCurrent = 1;pageSize = 50;getTableData()">查询</el-button>
<el-button :disabled="Name===0" type="success" plain class="el-icon-finished" size="small" style="margin-left: 220px" @click="submit">完成</el-button>
<el-button :disabled="Name===1" type="success" plain class="el-icon-finished" size="small" style="margin-left: 220px" @click="submit">完成</el-button>
</el-card>
<el-row>
<el-card style="width: 850px; margin-left: 0px;display: inline-block;" >
@@ -283,7 +283,6 @@ export default {
this.processSerialNumber = ''
this.radio = true
this.tableData1 = []
this.Name = 0
this.row2 = row
gettabledata1(row.工艺计划流水号).then(response => {
if (response.data.length !== 0) {
@@ -346,9 +345,7 @@ export default {
},
getRow(row) {
this.processSerialNumber = row.工序流水号
console.log(row.完成日期, 222)
row.完成日期 ? this.Name = 0 : this.Name = 1
console.log(this.Name, 111)
row.完成日期 ? this.Name = 1 : this.Name = 0
},
handleSizeChange(val) {
this.pageSize = val