csx hace 6 años
padre
commit
fc68554ee1

+ 3 - 3
src/xt_pages/stock/cancelStockOrder.vue Ver fichero

@@ -11,7 +11,7 @@
11 11
     <div class="app-container">
12 12
 
13 13
 
14
-      <div class="cell clearfix" style="margin-top:20px">
14
+      <div class="cell clearfix" >
15 15
         <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
16 16
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
17 17
       </div>
@@ -37,7 +37,7 @@
37 37
         <el-table
38 38
           :data="cancelStockDate"
39 39
           :class="signAndWeighBoxPatients"
40
-          style="width: 100%" border
40
+          border
41 41
           highlight-current-row
42 42
           ref="multipleTable"
43 43
           @selection-change="select"
@@ -87,7 +87,7 @@
87 87
                 <el-button
88 88
                   size="mini"
89 89
                   type="primary"
90
-                  icon="el-icon-edit"
90
+                  icon="el-icon-edit-outline"
91 91
                   @click="handleEdit(scope.$index, scope.row)">
92 92
                 </el-button>
93 93
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/cancelStockOrderAdd.vue Ver fichero

@@ -111,7 +111,7 @@
111 111
                   <el-button
112 112
                     size="mini"
113 113
                     type="danger"
114
-                    icon="el-icon-remove-outline"
114
+                    icon="el-icon-delete"
115 115
                     @click="handleDelete(scope.$index, scope.row)">
116 116
                   </el-button>
117 117
                 </el-tooltip>

+ 1 - 1
src/xt_pages/stock/cancelStockOrderEdit.vue Ver fichero

@@ -85,7 +85,7 @@
85 85
                 <el-button
86 86
                   size="mini"
87 87
                   type="danger"
88
-                  icon="el-icon-remove-outline"
88
+                  icon="el-icon-delete"
89 89
                   @click="handleDelete(scope.$index, scope.row)">
90 90
                 </el-button>
91 91
               </el-tooltip>

+ 2 - 2
src/xt_pages/stock/otherCancelStockOrder.vue Ver fichero

@@ -10,7 +10,7 @@
10 10
 
11 11
     <div class="app-container">
12 12
 
13
-      <div class="cell clearfix" style="margin-top:20px">
13
+      <div class="cell clearfix">
14 14
         <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
15 15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16 16
       </div>
@@ -86,7 +86,7 @@
86 86
                 <el-button
87 87
                   size="mini"
88 88
                   type="primary"
89
-                  icon="el-icon-edit"
89
+                  icon="el-icon-edit-outline"
90 90
                   @click="handleEdit(scope.$index, scope.row)">
91 91
                 </el-button>
92 92
               </el-tooltip>

+ 2 - 2
src/xt_pages/stock/otherSalesReturnOrder.vue Ver fichero

@@ -10,7 +10,7 @@
10 10
 
11 11
     <div class="app-container">
12 12
 
13
-      <div class="cell">
13
+      <div class="cell clearfix">
14 14
         <el-input style="width: 400px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
15 15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16 16
       </div>
@@ -87,7 +87,7 @@
87 87
               <el-button
88 88
                 size="mini"
89 89
                 type="primary"
90
-                icon="el-icon-edit"
90
+                icon="el-icon-edit-outline"
91 91
                 @click="handleEdit(scope.$index, scope.row)">
92 92
               </el-button>
93 93
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/otherStockInOrder.vue Ver fichero

@@ -86,7 +86,7 @@
86 86
               <el-button
87 87
                 size="small"
88 88
                 type="primary"
89
-                icon="el-icon-edit"
89
+                icon="el-icon-edit-outline"
90 90
                 @click="handleEdit(scope.$index, scope.row)">
91 91
               </el-button>
92 92
             </el-tooltip>

+ 1 - 1
src/xt_pages/stock/otherStockOutOrder.vue Ver fichero

@@ -82,7 +82,7 @@
82 82
               <el-button
83 83
                 size="mini"
84 84
                 type="primary"
85
-                icon="el-icon-edit"
85
+                icon="el-icon-edit-outline"
86 86
                 @click="handleEdit(scope.$index, scope.row)">
87 87
               </el-button>
88 88
             </el-tooltip>

+ 1 - 1
src/xt_pages/stock/salesReturnEdit.vue Ver fichero

@@ -87,7 +87,7 @@
87 87
                   <el-button
88 88
                     size="mini"
89 89
                     type="danger"
90
-                    icon="el-icon-remove-outline"
90
+                    icon="el-icon-delete"
91 91
                     @click="handleDelete(scope.$index, scope.row)">
92 92
                   </el-button>
93 93
                 </el-tooltip>

+ 2 - 2
src/xt_pages/stock/salesReturnOrder.vue Ver fichero

@@ -10,7 +10,7 @@
10 10
 
11 11
     <div class="app-container">
12 12
 
13
-      <div class="cell" >
13
+      <div class="cell clearfix" >
14 14
         <el-input style="width: 400px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
15 15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16 16
       </div>
@@ -85,7 +85,7 @@
85 85
               <el-button
86 86
                 size="mini"
87 87
                 type="primary"
88
-                icon="el-icon-edit"
88
+                icon="el-icon-edit-outline"
89 89
                 @click="handleEdit(scope.$index, scope.row)">
90 90
               </el-button>
91 91
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/salesReturnOrderAdd.vue Ver fichero

@@ -116,7 +116,7 @@
116 116
                 <el-button
117 117
                   size="mini"
118 118
                   type="danger"
119
-                  icon="el-icon-remove-outline"
119
+                  icon="el-icon-delete"
120 120
                   @click="handleDelete(scope.$index, scope.row)">
121 121
                 </el-button>
122 122
               </el-tooltip>

+ 1 - 1
src/xt_pages/stock/stockInOrder.vue Ver fichero

@@ -8,7 +8,7 @@
8 8
     </div>
9 9
 
10 10
     <div class="app-container">
11
-    <div class="cell">
11
+    <div class="cell clearfix">
12 12
       <el-input   style="width: 400px;" v-model="searchKey" class="filter-item"  placeholder="单据日期/单据编码/制单人/供应商" />
13 13
       <el-button  class="filter-item" type="primary" icon="el-icon-search" @click="search" >搜索</el-button>
14 14
     </div>

+ 23 - 17
src/xt_pages/stock/stockInOrderAdd.vue Ver fichero

@@ -47,11 +47,11 @@
47 47
 
48 48
 
49 49
             <el-form :rules="tableRules" :model="recordInfo" ref="tableForm">
50
-              <el-table :data="recordInfo.recordData" :class="signAndWeighBoxPatients" style="width: 100%" border
50
+              <el-table   id="oictable" :data="recordInfo.recordData" :class="signAndWeighBoxPatients" border style="width: 100%"
51 51
                         max-height="450" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
52 52
               >
53 53
 
54
-                <el-table-column min-width="35" align="center">
54
+                <el-table-column  align="center" width="200">
55 55
 
56 56
                   <template slot="header" slot-scope="scope">
57 57
                     <span>物品类型<span style="color: red">*</span></span>
@@ -65,7 +65,7 @@
65 65
                     </el-form-item>
66 66
                   </template>
67 67
                 </el-table-column>
68
-                <el-table-column min-width="35" align="center">
68
+                <el-table-column align="center" width="200">
69 69
                   <template slot="header" slot-scope="scope">
70 70
                     <span>规格名称<span style="color: red">*</span></span>
71 71
                   </template>
@@ -81,7 +81,7 @@
81 81
                 </el-table-column>
82 82
 
83 83
 
84
-                <el-table-column min-width="23" align="center">
84
+                <el-table-column  align="center" width="150">
85 85
                   <template slot="header" slot-scope="scope">
86 86
                     <span>单价<span style="color: red">*</span></span>
87 87
                   </template>
@@ -89,14 +89,14 @@
89 89
                     <!--<el-input type="number" v-model="scope.row.price"  @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
90 90
                     <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price'
91 91
                                   style="padding-top: 17px">
92
-                      <el-input type="number" v-model="scope.row.price"></el-input>
92
+                      <el-input placeholder="请输入单价"  type="number" v-model="scope.row.price"></el-input>
93 93
                     </el-form-item>
94 94
 
95 95
 
96 96
                   </template>
97 97
                 </el-table-column>
98 98
 
99
-                <el-table-column min-width="23" align="center">
99
+                <el-table-column  align="center"  width="180">
100 100
                   <template slot="header" slot-scope="scope">
101 101
                     <span>入库数量<span style="color: red">*</span></span>
102 102
                   </template>
@@ -106,18 +106,18 @@
106 106
 
107 107
                     <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'"
108 108
                                   :rules='tableRules.warehousing_count' style="padding-top: 17px">
109
-                      <el-input type="number" v-model="scope.row.warehousing_count"></el-input>
109
+                      <el-input placeholder="请输入入库数量"  type="number" v-model="scope.row.warehousing_count"></el-input>
110 110
                     </el-form-item>
111 111
                   </template>
112 112
                 </el-table-column>
113 113
 
114
-                <el-table-column label="总价" min-width="20" align="center">
114
+                <el-table-column label="总价" align="center" width="150">
115 115
                   <template slot-scope="scope">
116 116
                     {{calculate(scope.row.price*scope.row.warehousing_count)}}
117 117
                   </template>
118 118
                 </el-table-column>
119 119
 
120
-                <el-table-column align="center" min-width="25">
120
+                <el-table-column align="center"  width="150">
121 121
                   <template slot="header" slot-scope="scope">
122 122
                     <span>批号<span style="color: red">*</span></span>
123 123
                   </template>
@@ -126,12 +126,12 @@
126 126
 
127 127
                     <el-form-item :prop="'recordData.' + scope.$index + '.number'" :rules='tableRules.number'
128 128
                                   style="padding-top: 17px">
129
-                      <el-input v-model="scope.row.number"></el-input>
129
+                      <el-input placeholder="请输入批号" v-model="scope.row.number"></el-input>
130 130
                     </el-form-item>
131 131
 
132 132
                   </template>
133 133
                 </el-table-column>
134
-                <el-table-column label="生产日期" min-width="43" align="center">
134
+                <el-table-column label="生产日期"  align="center" width="250">
135 135
                   <template slot-scope="scope">
136 136
                     <!--{{scope.row.product_date | parseTime("{y}-{m}-{d}")}}-->
137 137
                     <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.product_date"
@@ -140,7 +140,7 @@
140 140
 
141 141
                   </template>
142 142
                 </el-table-column>
143
-                <el-table-column label="有效日期" min-width="43" align="center">
143
+                <el-table-column label="有效日期"  align="center" width="250">
144 144
                   <template slot-scope="scope">
145 145
                     <!--{{ scope.row.expiry_date | parseTime("{y}-{m}-{d}")}}-->
146 146
                     <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.expiry_date"
@@ -149,14 +149,14 @@
149 149
 
150 150
                   </template>
151 151
                 </el-table-column>
152
-                <el-table-column label="备注" min-width="20" align="center">
152
+                <el-table-column label="备注"  align="center" width="150">
153 153
                   <template slot-scope="scope">
154
-                    <el-input v-model="scope.row.remark"></el-input>
154
+                    <el-input placeholder="请输入备注"   v-model="scope.row.remark"></el-input>
155 155
                   </template>
156 156
                 </el-table-column>
157 157
 
158
-                <el-table-column label="操作" align="center" min-width="40">
159
-                  <template slot-scope="scope">
158
+                <el-table-column label="操作" align="center" fixed="right"  width="150">
159
+                  <template slot-scope="scope" >
160 160
                     <el-tooltip class="item" effect="dark" content="新增" placement="top">
161 161
 
162 162
                     <el-button
@@ -171,7 +171,7 @@
171 171
                     <el-button
172 172
                       size="mini"
173 173
                       type="danger"
174
-                      icon="el-icon-remove-outline"
174
+                      icon="el-icon-delete"
175 175
                       @click="handleDelete(scope.$index, scope.row)">
176 176
                     </el-button>
177 177
                     </el-tooltip>
@@ -601,6 +601,12 @@
601 601
   }
602 602
 </script>
603 603
 
604
+<style>
605
+  #oictable ::-webkit-scrollbar {
606
+    height: 15px;
607
+  }
608
+</style>
609
+
604 610
 <style rel="stylesheet/css" lang="scss" scoped>
605 611
   .information {
606 612
     border: 1px #dcdfe6 solid;

+ 37 - 32
src/xt_pages/stock/stockInOrderEdit.vue Ver fichero

@@ -24,57 +24,57 @@
24 24
 
25 25
 
26 26
         <el-form  :rules="tableRules" :model="recordInfo" ref="tableForm">
27
-          <el-table :data="recordInfo.recordData" :class="signAndWeighBoxPatients" style="width: 100%" border
27
+          <el-table id="oictable" :data="recordInfo.recordData" :class="signAndWeighBoxPatients" style="width: 100%" border
28 28
                     max-height="450" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
29 29
           >
30 30
 
31
-            <el-table-column min-width="35" align="center">
31
+            <el-table-column  align="center" width="200" >
32 32
 
33 33
               <template slot="header" slot-scope="scope">
34 34
                 <span>物品类型<span style="color: red">*</span></span>
35 35
               </template>
36 36
 
37
-              <template slot-scope="scope" >
38
-                <!--<span @click="showDialog(scope.$index, scope.row)" v-if="scope.row.good_type_id == 0" style="color:#c5c8cf">请输入类型</span>-->
39
-                <!--<span @click="showDialog(scope.$index, scope.row)" v-if="scope.row.good_type_id != 0">{{typeName(scope.row.good_type_id)}}</span>-->
40
-
41
-                <el-form-item  style="padding-top: 15px">
42
-                  <el-input placeholder="请输入物品类型"  v-model="scope.row.good_type_id" :value="typeName(scope.row.good_type_id)" @focus="showDialog(scope.$index, scope.row)" ></el-input>
37
+              <template slot-scope="scope">
38
+                <el-form-item style="padding-top: 15px">
39
+                  <el-input placeholder="请输入物品类型" v-model="scope.row.good_type_id"
40
+                            :value="typeName(scope.row.good_type_id)"
41
+                            @focus="showDialog(scope.$index, scope.row)"></el-input>
43 42
                 </el-form-item>
44
-
45 43
               </template>
46 44
             </el-table-column>
47
-            <el-table-column min-width="35" align="center">
45
+            <el-table-column align="center" width="200">
48 46
               <template slot="header" slot-scope="scope">
49 47
                 <span>规格名称<span style="color: red">*</span></span>
50 48
               </template>
51 49
               <template slot-scope="scope">
52 50
 
53
-                <el-form-item  style="padding-top: 15px">
54
-                  <el-input placeholder="请输入规格名称"  v-model="scope.row.good_id" :value="specificationName(scope.row.good_id)" @focus="showDialog(scope.$index, scope.row)" ></el-input>
51
+                <el-form-item style="padding-top: 15px">
52
+                  <el-input placeholder="请输入规格名称" v-model="scope.row.good_id"
53
+                            :value="specificationName(scope.row.good_id)"
54
+                            @focus="showDialog(scope.$index, scope.row)"></el-input>
55 55
                 </el-form-item>
56 56
 
57 57
               </template>
58 58
             </el-table-column>
59 59
 
60 60
 
61
-            <el-table-column  min-width="23" align="center">
61
+
62
+            <el-table-column  align="center" width="150">
62 63
               <template slot="header" slot-scope="scope">
63 64
                 <span>单价<span style="color: red">*</span></span>
64 65
               </template>
65 66
               <template slot-scope="scope">
66 67
                 <!--<el-input type="number" v-model="scope.row.price"  @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
67
-                <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price' style="padding-top: 17px">
68
-                  <el-input type="number"  v-model="scope.row.price" ></el-input>
68
+                <el-form-item :prop="'recordData.' + scope.$index + '.price'" :rules='tableRules.price'
69
+                              style="padding-top: 17px">
70
+                  <el-input placeholder="请输入单价"  type="number" v-model="scope.row.price"></el-input>
69 71
                 </el-form-item>
70 72
 
71 73
 
72
-
73
-
74 74
               </template>
75 75
             </el-table-column>
76 76
 
77
-            <el-table-column  min-width="23" align="center">
77
+            <el-table-column  align="center"  width="180">
78 78
               <template slot="header" slot-scope="scope">
79 79
                 <span>入库数量<span style="color: red">*</span></span>
80 80
               </template>
@@ -82,32 +82,32 @@
82 82
                 <!--{{scope.row.warehousing_count}}-->
83 83
                 <!--<el-input type="number" v-model="scope.row.warehousing_count"   @blur="handleBlur(scope.$index, scope.row)"></el-input>-->
84 84
 
85
-                <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'" :rules='tableRules.warehousing_count' style="padding-top: 17px">
86
-                  <el-input type="number"  v-model="scope.row.warehousing_count" ></el-input>
85
+                <el-form-item :prop="'recordData.' + scope.$index + '.warehousing_count'"
86
+                              :rules='tableRules.warehousing_count' style="padding-top: 17px">
87
+                  <el-input placeholder="请输入入库数量"  type="number" v-model="scope.row.warehousing_count"></el-input>
87 88
                 </el-form-item>
88 89
               </template>
89 90
             </el-table-column>
90
-
91
-            <el-table-column label="总价" min-width="20" align="center">
91
+            <el-table-column label="总价" align="center" width="150">
92 92
               <template slot-scope="scope">
93 93
                 {{calculate(scope.row.price*scope.row.warehousing_count)}}
94 94
               </template>
95 95
             </el-table-column>
96 96
 
97
-            <el-table-column  align="center" min-width="25">
97
+            <el-table-column align="center"  width="150">
98 98
               <template slot="header" slot-scope="scope">
99 99
                 <span>批号<span style="color: red">*</span></span>
100 100
               </template>
101 101
               <template slot-scope="scope">
102 102
                 <!--<el-input  v-model="scope.row.numbers"></el-input>-->
103
-
104
-                <el-form-item :prop="'recordData.' + scope.$index + '.number'" :rules='tableRules.number' style="padding-top: 17px">
105
-                  <el-input  v-model="scope.row.number" ></el-input>
103
+                <el-form-item :prop="'recordData.' + scope.$index + '.number'" :rules='tableRules.number'
104
+                              style="padding-top: 17px">
105
+                  <el-input placeholder="请输入批号" v-model="scope.row.number"></el-input>
106 106
                 </el-form-item>
107
-
108 107
               </template>
109 108
             </el-table-column>
110
-            <el-table-column label="生产日期" min-width="40" align="center">
109
+
110
+            <el-table-column label="生产日期" width="250" align="center">
111 111
               <template slot-scope="scope" >
112 112
                 <!--{{scope.row.product_date | parseTime("{y}-{m}-{d}")}}-->
113 113
                 <el-date-picker prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.product_date"
@@ -116,7 +116,7 @@
116 116
 
117 117
               </template>
118 118
             </el-table-column>
119
-            <el-table-column label="有效日期" min-width="40" align="center">
119
+            <el-table-column label="有效日期" width="250" align="center">
120 120
               <template slot-scope="scope">
121 121
                 <!--{{ scope.row.expiry_date | parseTime("{y}-{m}-{d}")}}-->
122 122
                 <el-date-picker  prefix-icon="el-icon-date" style="width: 145px" v-model="scope.row.expiry_date"
@@ -125,13 +125,13 @@
125 125
 
126 126
               </template>
127 127
             </el-table-column>
128
-            <el-table-column label="备注" min-width="20" align="center">
128
+            <el-table-column label="备注" width="150" align="center">
129 129
               <template slot-scope="scope">
130 130
                 <el-input  v-model="scope.row.remark"></el-input>
131 131
               </template>
132 132
             </el-table-column>
133 133
 
134
-            <el-table-column label="操作" align="center" min-width="40">
134
+            <el-table-column label="操作" align="center" width="150">
135 135
               <template slot-scope="scope">
136 136
                 <el-tooltip class="item" effect="dark" content="新增" placement="top">
137 137
 
@@ -147,7 +147,7 @@
147 147
                   <el-button
148 148
                     size="mini"
149 149
                     type="danger"
150
-                    icon="el-icon-remove-outline"
150
+                    icon="el-icon-delete"
151 151
                     @click="handleDelete(scope.$index, scope.row)">
152 152
                   </el-button>
153 153
                 </el-tooltip>
@@ -472,6 +472,11 @@ export default {
472 472
 
473 473
   }
474 474
 </script>
475
+<style>
476
+  #oictable ::-webkit-scrollbar {
477
+    height: 15px;
478
+  }
479
+</style>
475 480
 
476 481
 <style rel="stylesheet/css" lang="scss" scoped>
477 482
   .information {

+ 1 - 16
src/xt_pages/stock/stockOutOrder.vue Ver fichero

@@ -78,7 +78,7 @@
78 78
             <el-button
79 79
               size="mini"
80 80
               type="primary"
81
-              icon="el-icon-edit"
81
+              icon="el-icon-edit-outline"
82 82
               @click="handleEdit(scope.$index, scope.row)">
83 83
             </el-button>
84 84
             </el-tooltip>
@@ -451,7 +451,6 @@ export default {
451 451
 }
452 452
 </style>
453 453
 
454
-=======
455 454
 
456 455
 
457 456
 
@@ -494,17 +493,3 @@ export default {
494 493
 
495 494
 
496 495
 
497
-
498
-
499
-
500
-
501
-
502
-
503
-
504
-
505
-
506
-
507
-
508
-
509
-
510
->>>>>>> .theirs

+ 1 - 1
src/xt_pages/stock/stockOutOrderAdd.vue Ver fichero

@@ -136,7 +136,7 @@
136 136
                   <el-button
137 137
                     size="mini"
138 138
                     type="danger"
139
-                    icon="el-icon-remove-outline"
139
+                    icon="el-icon-delete"
140 140
                     @click="handleDelete(scope.$index, scope.row)">
141 141
                   </el-button>
142 142
                 </el-tooltip>

+ 1 - 1
src/xt_pages/stock/stockOutOrderEdit.vue Ver fichero

@@ -108,7 +108,7 @@
108 108
                   <el-button
109 109
                     size="mini"
110 110
                     type="danger"
111
-                    icon="el-icon-remove-outline"
111
+                    icon="el-icon-delete"
112 112
                     @click="handleDelete(scope.$index, scope.row)">
113 113
                   </el-button>
114 114
                 </el-tooltip>