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

isExistTool改成字符串

parent d795e7c5
...@@ -1576,10 +1576,8 @@ export default { ...@@ -1576,10 +1576,8 @@ export default {
this.getPemissionScan(); this.getPemissionScan();
}, },
handleUpdateKnifeTemp(code) { handleUpdateKnifeTemp(code) {
console.log('isExistTool', this.knifeTempType, this.tableSelectData[0].isExistTool)
if (this.knifeTempType === '1') { if (this.knifeTempType === '1') {
if(this.tableSelectData[0].isExistTool) { if(this.tableSelectData[0].isExistTool === '1') {
this.$u.api.dModel.checkIsExsitToolWindow({ type: this.knifeTempType, sn: code, taskWorkunitId: this.tableSelectData[0].taskWorkunitId }).then((res) => { this.$u.api.dModel.checkIsExsitToolWindow({ type: this.knifeTempType, sn: code, taskWorkunitId: this.tableSelectData[0].taskWorkunitId }).then((res) => {
if (res.code === 200) { if (res.code === 200) {
if (res.data) { if (res.data) {
......
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