Explorar o código

05/26 14:48

维修单+费用组成清单清单
mo %!s(int64=5) %!d(string=hai) anos
pai
achega
8841511e55
Modificáronse 1 ficheiros con 11 adicións e 3 borrados
  1. 11 3
      src/views/repairManager/repairList.vue

+ 11 - 3
src/views/repairManager/repairList.vue

@@ -185,13 +185,21 @@
                   v-if="activeRow"
                   :rows="3"
                   v-model="activeRow.description"
-                  :disabled="activeRow&&activeRow.finishTime"></el-input>
+                  :disabled="activeRow&&Boolean(activeRow.finishTime)"></el-input>
+        <el-form-item label="收费组成:"
+                      style="margin-bottom:5px;">
+          <el-input type='textarea'
+                    v-if="activeRow"
+                    :rows="3"
+                    v-model="activeRow.feeList"
+                    :disabled="true"></el-input>
 
+        </el-form-item>
       </el-form>
       <span slot="footer"
             class="dialog-footer">
         <el-button type="danger"
-                   v-if="!(activeRow&&activeRow.finishTime)"
+                   v-if="!(activeRow&&Boolean(activeRow.finishTime))"
                    v-permission="'studentRepair/repairSuccess'"
                    @click="repairEnd('save',activeRow)">保存</el-button>
         <el-button type="primary"
@@ -320,8 +328,8 @@ export default {
       this.getList()
     },
     showDetail (row) {
-      this.repairVisible = true;
       this.activeRow = row;
+      this.repairVisible = true;
     },
     repairEnd (str, row) {
       let repairStatus = null;