Commit c8c0af9b authored by 沈翠玲's avatar 沈翠玲

增加无需刀模

parent a39066ea
......@@ -528,7 +528,7 @@
<el-row>
<el-col :span="24" style="color: red;">
<el-form-item label="可用刀模" prop="quantity" style="color: red;">
{{availableToolCount}}套
{{availableToolCount ? availableToolCount+'套' : '无需刀模'}}
</el-form-item>
</el-col>
<el-col :span="24">
......@@ -926,7 +926,7 @@ export default {
workunitId: null
};
getavailableToolCount(this.selectedRows[0].taskWorkunitId).then(res => {
if(res.data) {
if(res.data && Number(res.data) > 0) {
this.availableToolCount = res.data
} else {
this.availableToolCount = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment