Parcourir la source

修改预约开票申请页面

jiangbiao il y a 3 ans
Parent
commit
aad66a137c
1 fichiers modifiés avec 16 ajouts et 19 suppressions
  1. 16 19
      ui/src/views/invoice/approveinvoice/index.vue

+ 16 - 19
ui/src/views/invoice/approveinvoice/index.vue

@@ -108,20 +108,20 @@
             </el-form-item>
           </el-col>
         </el-row>
-        <el-row>
-          <el-col :span="12">
-            <el-form-item label="班长" prop="monitorId">
-              <el-select v-model="form.monitorId" filterable :placeholder="$t('请选择') + $t('班长')">
-                <el-option
-                  v-for="dict in managerOptions"
-                  :key="dict.userId"
-                  :label="dict.nickName"
-                  :value="dict.userId">
-                </el-option>
-              </el-select>
-            </el-form-item>
-          </el-col>
-        </el-row>
+<!--        <el-row>-->
+<!--          <el-col :span="12">-->
+<!--            <el-form-item label="班长" prop="monitorId">-->
+<!--              <el-select v-model="form.monitorId" filterable :placeholder="$t('请选择') + $t('班长')">-->
+<!--                <el-option-->
+<!--                  v-for="dict in managerOptions"-->
+<!--                  :key="dict.userId"-->
+<!--                  :label="dict.nickName"-->
+<!--                  :value="dict.userId">-->
+<!--                </el-option>-->
+<!--              </el-select>-->
+<!--            </el-form-item>-->
+<!--          </el-col>-->
+<!--        </el-row>-->
       </el-form>
       <div slot="footer" class="dialog-footer">
         <el-button type="primary" @click="submitForm">确 定</el-button>
@@ -216,10 +216,7 @@ export default {
         ],
         devEngineerId: [
           {required: true, message: this.$t('装置工程师') + this.$t('不能为空'), trigger: "blur"}
-        ],
-        monitorId: [
-          {required: true, message: this.$t('班长') + this.$t('不能为空'), trigger: "blur"}
-        ],
+        ]
       }
 
     }
@@ -303,7 +300,7 @@ export default {
       if (rows[0].workType === 1 || rows[0].workType === 2 || rows[0].workType === 15) {
         this.isSpecial = true;
       }
-      this.form.invoiceId=rows[0].id;
+      this.form.invoiceId=rows[0].bookingticketId;
       listPostUser({
         // postCode: 'wxjl'
       }).then(response => {