zjxpcyc 6 år sedan
förälder
incheckning
9f6b67dc0f

+ 2
- 2
src/pages/system/library/borrow/bookreturn.vue Visa fil

1
 <template>
1
 <template>
2
   <div class="subPage edit-book" :style="{ padding: '20px' }">
2
   <div class="subPage edit-book" :style="{ padding: '20px' }">
3
     <div v-if="!active">
3
     <div v-if="!active">
4
-      <el-form>
4
+      <el-form style="text-align: center;">
5
         <el-form-item>
5
         <el-form-item>
6
-          <el-input v-model="customerInfo" placeholder="会员手机号或条形码" :style="{ width: '200px' }"></el-input>
6
+          <el-input v-model="customerInfo" placeholder="会员手机号或条形码" :style="{ width: '400px' }"></el-input>
7
         </el-form-item>
7
         </el-form-item>
8
         <el-form-item :style="{ paddingTop: '20px' }">
8
         <el-form-item :style="{ paddingTop: '20px' }">
9
           <el-button type="primary" @click="nextStep()">下一步</el-button>
9
           <el-button type="primary" @click="nextStep()">下一步</el-button>

+ 22
- 2
src/pages/system/library/borrow/borrow.vue Visa fil

1
 <template>
1
 <template>
2
   <div class="subPage edit-book" :style="{ padding: '20px' }">
2
   <div class="subPage edit-book" :style="{ padding: '20px' }">
3
     <div v-if="!active">
3
     <div v-if="!active">
4
-      <el-form>
4
+      <el-form style="text-align: center;">
5
         <el-form-item>
5
         <el-form-item>
6
-          <el-input v-model="customerInfo" placeholder="会员手机号或条形码" :style="{ width: '200px' }"></el-input>
6
+          <el-input v-model="customerInfo" placeholder="会员手机号或条形码" :style="{ width: '400px' }"></el-input>
7
         </el-form-item>
7
         </el-form-item>
8
         <el-form-item :style="{ paddingTop: '20px' }">
8
         <el-form-item :style="{ paddingTop: '20px' }">
9
           <el-button type="primary" @click="nextStep()">下一步</el-button>
9
           <el-button type="primary" @click="nextStep()">下一步</el-button>
13
     <div v-else>
13
     <div v-else>
14
 
14
 
15
       <!-- 用户信息区 -->
15
       <!-- 用户信息区 -->
16
+<<<<<<< HEAD
16
       <div :style="{ marginBottom: '20px', paddingBottom: '20px', borderBottom: '1px solid #eee' }">
17
       <div :style="{ marginBottom: '20px', paddingBottom: '20px', borderBottom: '1px solid #eee' }">
17
         <el-row :gutter="20">
18
         <el-row :gutter="20">
18
           <el-col :span="4">
19
           <el-col :span="4">
32
           </el-col>
33
           </el-col>
33
         </el-row>
34
         </el-row>
34
       </div>
35
       </div>
36
+=======
37
+      <el-form label-width="100px" inline>
38
+        <el-form-item label="姓名">
39
+          <span>{{ borrowHistory.CustomerName }}</span>
40
+        </el-form-item>
41
+        <el-form-item label="手机号">
42
+          <span>{{ borrowHistory.CustomerPhone }}</span>
43
+        </el-form-item>
44
+        <el-form-item label="在借数量">
45
+          <span>{{ borrowHistory.CustomerPhone }}</span>
46
+        </el-form-item>
47
+        <el-form-item label="逾期数量">
48
+          <span>{{ borrowHistory.CustomerPhone }}</span>
49
+        </el-form-item>
50
+        <el-form-item label="历史是否有逾期">
51
+          <span>{{ borrowHistory.CustomerPhone === 1 ? '是' : '否' }}</span>
52
+        </el-form-item>
53
+      </el-form>
54
+>>>>>>> 2f5bd0fb8b8c339e52c3b1bb4a54c9b1ec57ac07
35
 
55
 
36
       <!-- 过滤条件 -->
56
       <!-- 过滤条件 -->
37
       <el-form inline>
57
       <el-form inline>

+ 1
- 0
src/store/library/index.js Visa fil

295
         ajax({
295
         ajax({
296
           ...api.book.borrow,
296
           ...api.book.borrow,
297
           urlData: payload,
297
           urlData: payload,
298
+          urlData: { ...payload },
298
         }).then(() => {
299
         }).then(() => {
299
           resolve()
300
           resolve()
300
         })
301
         })