Browse Source

厂区和接单人员厂区验证去掉

master
zhang_li 8 months ago
parent
commit
033a74b690
  1. 20
      src/pages/repairOrder/detail.vue

20
src/pages/repairOrder/detail.vue

@ -318,16 +318,16 @@
// APP // APP
orderClick(type) { orderClick(type) {
// //
if (this.data.status == 'PENDING') { // if (this.data.status == 'PENDING') {
if (this.$store.state.user.dept.parentId != this.data.factoryAreaNumber) { // if (this.$store.state.user.dept.parentId != this.data.factoryAreaNumber) {
this.$modal.showToast('当前人员厂区与工单来源的厂区不一致') // this.$modal.showToast('')
return; // return;
} // }
if (this.$store.state.user.dept.classType != this.data.type) { // if (this.$store.state.user.dept.classType != this.data.type) {
this.$modal.showToast('当前人员班组与工单类型不一致') // this.$modal.showToast('')
return; // return;
} // }
} // }
const data = { const data = {

Loading…
Cancel
Save