whj il y a 1 an
Parent
commit
75b7f39400

+ 2 - 1
src/views/preparation/preparation/modules/DispatchForm.vue

@@ -162,7 +162,7 @@ export default {
       this.visible = true
       this.model = record
       this.modalTitle = '审核派单'
-      this.nodeMap = DictCache.getChildrenList(DictCache.TYPE.PREPARATION_NODE).filter(item => this.model.nodeNum > item.value)
+      this.nodeMap = DictCache.getChildrenList(DictCache.TYPE.PREPARATION_NODE).filter(item => this.model.nodeNum >= item.value)
       const { form: { setFieldsValue } } = this
       this.$nextTick(() => {
         setFieldsValue(Object.assign(pick(record, [
@@ -194,6 +194,7 @@ export default {
       this.visible = false
       this.confirmLoading = false
       this.verifyStatus = 1
+      this.verifyRemark = '通过'
       this.form.resetFields()
       if (this.BaseTool.Object.isNotBlank(values)) {
         this.$emit('ok')

+ 2 - 1
src/views/preparation/preparation/modules/FeeVerifyForm.vue

@@ -113,7 +113,7 @@ export default {
       this.visible = true
       this.model = record
       this.modalTitle = '费用审核'
-      this.nodeMap = DictCache.getChildrenList(DictCache.TYPE.PREPARATION_NODE).filter(item => this.model.nodeNum > item.value)
+      this.nodeMap = DictCache.getChildrenList(DictCache.TYPE.PREPARATION_NODE).filter(item => this.model.nodeNum >= item.value)
       const { form: { setFieldsValue } } = this
       this.$nextTick(() => {
         setFieldsValue(Object.assign(pick(record, [
@@ -146,6 +146,7 @@ export default {
       this.visible = false
       this.confirmLoading = false
       this.verifyStatus = 1
+      this.verifyRemark = '通过'
       this.form.resetFields()
       if (this.BaseTool.Object.isNotBlank(values)) {
         this.$emit('ok')

+ 2 - 1
src/views/preparation/preparation/modules/VerifyForm.vue

@@ -105,7 +105,7 @@ export default {
     base (record) {
       this.visible = true
       this.model = record
-      this.nodeMap = DictCache.getChildrenList(DictCache.TYPE.PREPARATION_NODE).filter(item => this.model.nodeNum > item.value)
+      this.nodeMap = DictCache.getChildrenList(DictCache.TYPE.PREPARATION_NODE).filter(item => this.model.nodeNum >= item.value)
       console.log(this.nodeMap)
       if (record.status === DictCache.VALUE.REPAIR_PREPARATION_STATUS.NOT_ALLOCATED) {
         this.modalTitle = '申请部门主管审核'
@@ -149,6 +149,7 @@ export default {
       this.visible = false
       this.confirmLoading = false
       this.verifyStatus = 1
+      this.verifyRemark = '通过'
       this.form.resetFields()
       if (this.BaseTool.Object.isNotBlank(values)) {
         this.$emit('ok')