|
@@ -121,7 +121,7 @@
|
121
|
121
|
|
122
|
122
|
<el-table-column label="操作" align="center" width="300px">
|
123
|
123
|
<template slot-scope="scope">
|
124
|
|
-
|
|
124
|
+
|
125
|
125
|
<el-tooltip
|
126
|
126
|
class="item"
|
127
|
127
|
effect="dark"
|
|
@@ -215,7 +215,7 @@
|
215
|
215
|
<el-row :gutter="12" style="margin-top: 10px">
|
216
|
216
|
<el-table :data="warehousingOutInfo.warehousingOutData" :class="signAndWeighBoxPatients" style="width: 100%"
|
217
|
217
|
border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
|
218
|
|
-
|
|
218
|
+
|
219
|
219
|
>
|
220
|
220
|
<el-table-column min-width="35" align="center">
|
221
|
221
|
<template slot="header" slot-scope="scope">
|
|
@@ -286,7 +286,7 @@
|
286
|
286
|
<div style="color: #589ff8" @click="jump(scope.row.id)">使用明细</div>
|
287
|
287
|
</template>
|
288
|
288
|
</el-table-column>
|
289
|
|
-
|
|
289
|
+
|
290
|
290
|
|
291
|
291
|
|
292
|
292
|
</el-table>
|
|
@@ -308,7 +308,7 @@
|
308
|
308
|
<div class="filter-container">
|
309
|
309
|
<span style="font-size: 18px;color: #606266">商品使用明细</span>
|
310
|
310
|
</div>
|
311
|
|
-
|
|
311
|
+
|
312
|
312
|
<div class="cell clearfix">
|
313
|
313
|
<span style="width: 300px;color: #606266">商品类型: {{type_name}} </span>
|
314
|
314
|
<span style="width: 300px;color: #606266">规格名称: {{specification_name}}</span>
|
|
@@ -365,12 +365,12 @@
|
365
|
365
|
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
366
|
366
|
</span>
|
367
|
367
|
</el-dialog>
|
368
|
|
-
|
|
368
|
+
|
369
|
369
|
|
370
|
370
|
|
371
|
371
|
<!-- 编辑 -->
|
372
|
|
-
|
373
|
|
-
|
|
372
|
+
|
|
373
|
+
|
374
|
374
|
</div>
|
375
|
375
|
</template>
|
376
|
376
|
|
|
@@ -414,7 +414,7 @@ export default {
|
414
|
414
|
(nowDay < 10 ? "0" + nowDay : nowDay);
|
415
|
415
|
this.GetConfigInfo();
|
416
|
416
|
this.GetWarehouseOut();
|
417
|
|
-
|
|
417
|
+
|
418
|
418
|
this.fetchAllAdminUsers();
|
419
|
419
|
},
|
420
|
420
|
data() {
|
|
@@ -562,7 +562,7 @@ export default {
|
562
|
562
|
} else {
|
563
|
563
|
this.GetWarehouseOut();
|
564
|
564
|
}
|
565
|
|
- this.GetWarehouseOut();
|
|
565
|
+
|
566
|
566
|
},
|
567
|
567
|
endTimeChange(val) {
|
568
|
568
|
var time = this.getTimestamp(val) - this.getTimestamp(this.start_time);
|
|
@@ -608,7 +608,7 @@ export default {
|
608
|
608
|
}
|
609
|
609
|
},
|
610
|
610
|
handleEdit: function(index, row) {
|
611
|
|
-
|
|
611
|
+
|
612
|
612
|
this.$router.push({
|
613
|
613
|
name: "stockOutDetail",
|
614
|
614
|
query: { id: row.id, type: this.type,warehouse_out_time:row.warehouse_out_time }
|
|
@@ -706,19 +706,19 @@ export default {
|
706
|
706
|
.catch(() => {});
|
707
|
707
|
},
|
708
|
708
|
|
709
|
|
-
|
710
|
709
|
|
711
|
|
-
|
|
710
|
+
|
|
711
|
+
|
712
|
712
|
//新增
|
713
|
|
- handleSearch(id,row){
|
|
713
|
+ handleSearch(id,row){
|
714
|
714
|
console.log("row2233r5",row)
|
715
|
715
|
this.warehousingOutInfo.info = []
|
716
|
716
|
this.warehousingOutInfo.warehousingOutData = []
|
717
|
717
|
this.GetOrderDetailOne(id)
|
718
|
718
|
this.GetTotalCount(row.warehouse_out_time)
|
719
|
|
-
|
|
719
|
+
|
720
|
720
|
},
|
721
|
|
-
|
|
721
|
+
|
722
|
722
|
//获取出库单详情数据
|
723
|
723
|
GetOrderDetailOne(id) {
|
724
|
724
|
const params = {
|
|
@@ -738,7 +738,7 @@ export default {
|
738
|
738
|
// this.handleSpanTempArr()
|
739
|
739
|
}
|
740
|
740
|
})
|
741
|
|
- },
|
|
741
|
+ },
|
742
|
742
|
|
743
|
743
|
getTypeName: function(id) {
|
744
|
744
|
let name = ''
|
|
@@ -775,19 +775,19 @@ export default {
|
775
|
775
|
return this.manufacturer[i].manufacturer_name
|
776
|
776
|
}
|
777
|
777
|
}
|
778
|
|
- },
|
|
778
|
+ },
|
779
|
779
|
|
780
|
780
|
jump(id){
|
781
|
781
|
this.userList = []
|
782
|
782
|
this.GetOrderDetail(id)
|
783
|
|
-
|
|
783
|
+
|
784
|
784
|
},
|
785
|
785
|
|
786
|
786
|
GetOrderDetail: function(order_id) {
|
787
|
787
|
const params = {
|
788
|
788
|
'id': order_id
|
789
|
789
|
}
|
790
|
|
-
|
|
790
|
+
|
791
|
791
|
getWarehouseOutUser(params).then(response => {
|
792
|
792
|
if (response.data.state == 0) {
|
793
|
793
|
this.$message.error(response.data.msg)
|
|
@@ -815,7 +815,7 @@ export default {
|
815
|
815
|
},
|
816
|
816
|
|
817
|
817
|
editRecord(){
|
818
|
|
-
|
|
818
|
+
|
819
|
819
|
},
|
820
|
820
|
deleteRecord(){
|
821
|
821
|
|
|
@@ -836,7 +836,7 @@ export default {
|
836
|
836
|
},
|
837
|
837
|
|
838
|
838
|
getOutStockCount(id){
|
839
|
|
- var count = 0
|
|
839
|
+ var count = 0
|
840
|
840
|
for(let i=0;i<this.stockCount.length;i++){
|
841
|
841
|
if(id == this.stockCount[i].good_id){
|
842
|
842
|
count = this.stockCount[i].count
|