This commit is contained in:
liushuai
2020-05-20 18:08:00 +08:00
parent 56c42f1a52
commit 6e4a26aeed
7 changed files with 107 additions and 84 deletions

View File

@@ -66,7 +66,7 @@
<el-button type="text" size="mini" icon="el-icon-edit" @click="handleEdit(scope.row)"/>
</div>
<div style="display: inline-block">
<el-button :disabled="scope.row.单据状态==='成交'" type="text" size="mini" icon="el-icon-delete" style="margin-left:10px" @click="handleDelete(scope.row)"/>
<el-button :disabled="scope.row.单据状态==='成交' || scope.row.单据状态 === '到货'" type="text" size="mini" icon="el-icon-delete" style="margin-left:10px" @click="handleDelete(scope.row)"/>
</div>
</template>
</el-table-column>
@@ -375,7 +375,7 @@ export default {
},
// 点击表2 查询表3
searchProcess(row) {
row.单据状态 === '成交' ? this.jinyong = true : this.jinyong = false
row.单据状态 === '成交' || row.单据状态 === '到货' ? this.jinyong = true : this.jinyong = false
this.loading = true
this.List3 = []
this.Number = row.外协加工任务单流水号