批量入库、刻字工序
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<div class="search-item_3">
|
||||
<button class="button button--primary" @click="_bypda">查询</button>
|
||||
<button class="button button--primary" :class="{'button--defalut': pkId === ''}" @click="toSure">确认上料</button>
|
||||
<button class="button button--primary" :disabled="disabled1" @click="_kzsendVechile">空框送回</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -43,7 +44,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { bypda } from '@config/getData2.js'
|
||||
import { bypda, kzsendVechile } from '@config/getData2.js'
|
||||
export default {
|
||||
name: 'letteringprocess',
|
||||
data () {
|
||||
@@ -54,7 +55,8 @@ export default {
|
||||
page: 1,
|
||||
size: '99',
|
||||
busy: false,
|
||||
desc: ''
|
||||
desc: '',
|
||||
disabled1: false
|
||||
}
|
||||
},
|
||||
created () {
|
||||
@@ -110,6 +112,18 @@ export default {
|
||||
spec: this.pkObj.material_spec
|
||||
}
|
||||
})
|
||||
},
|
||||
async _kzsendVechile () {
|
||||
this.disabled1 = true
|
||||
try {
|
||||
let res = await kzsendVechile()
|
||||
if (res.code === 200) {
|
||||
this.toast(res.msg)
|
||||
}
|
||||
this.disabled1 = false
|
||||
} catch (e) {
|
||||
this.disabled1 = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user