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
orderClick(type) {
//
if (this.data.status == 'PENDING') {
if (this.$store.state.user.dept.parentId != this.data.factoryAreaNumber) {
this.$modal.showToast('当前人员厂区与工单来源的厂区不一致')
return;
}
if (this.$store.state.user.dept.classType != this.data.type) {
this.$modal.showToast('当前人员班组与工单类型不一致')
return;
}
}
// if (this.data.status == 'PENDING') {
// if (this.$store.state.user.dept.parentId != this.data.factoryAreaNumber) {
// this.$modal.showToast('')
// return;
// }
// if (this.$store.state.user.dept.classType != this.data.type) {
// this.$modal.showToast('')
// return;
// }
// }
const data = {

Loading…
Cancel
Save