|
@@ -41,7 +41,6 @@
|
|
|
:loading="loading"
|
|
|
@selection-change="handleSelectionChange"
|
|
|
>
|
|
|
-
|
|
|
<div slot="toolbar" class="inner-toolbar">
|
|
|
<div class="toolbar-btns">
|
|
|
<el-button
|
|
@@ -66,7 +65,7 @@
|
|
|
>批量打印</el-button
|
|
|
>
|
|
|
</div>
|
|
|
-<!--
|
|
|
+ <!--
|
|
|
<div class="toolbar-search" style="display: flex; align-items: center">
|
|
|
|
|
|
<span>商品编号/条码:</span>
|
|
@@ -222,8 +221,11 @@
|
|
|
<div class="tips-t" v-for="(item, index) in codeList" :key="index">
|
|
|
<div>
|
|
|
<!-- <div class="qrcode-pic" ref="codeItem" ></div> -->
|
|
|
+ <div class="numOrder">
|
|
|
+
|
|
|
+ </div>
|
|
|
<div style="margin-top: 10px; font-size: 20px; text-align: center">
|
|
|
- {{ item }}
|
|
|
+ <barcode :value="item" format="CODE128"></barcode>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -276,9 +278,10 @@ export default {
|
|
|
// 新增窗口选中的值
|
|
|
snMultipleSelection: [],
|
|
|
title: "",
|
|
|
- statusList:[],
|
|
|
+ statusList: [],
|
|
|
// 高级搜索数据
|
|
|
advancedForm: {},
|
|
|
+ barcodeValue: "",
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -287,6 +290,9 @@ export default {
|
|
|
// this.GET_StationAllList()
|
|
|
this.GET_AdministratorList();
|
|
|
},
|
|
|
+ watch: {
|
|
|
+
|
|
|
+},
|
|
|
computed: {
|
|
|
...mapGetters(["user"]),
|
|
|
},
|
|
@@ -334,8 +340,11 @@ export default {
|
|
|
},
|
|
|
// 打印
|
|
|
PrintIng(row) {
|
|
|
- this.PrintVisible = true;
|
|
|
- this.codeList.push(row.sn_code);
|
|
|
+ this.barcodeValue = row.sn_code;
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.codeList.push(row.sn_code);
|
|
|
+ this.PrintVisible = true;
|
|
|
+ });
|
|
|
},
|
|
|
// 删除
|
|
|
handleDelectWarehous() {
|
|
@@ -473,7 +482,7 @@ export default {
|
|
|
searchEvent(data) {
|
|
|
this.params = {
|
|
|
...this.params,
|
|
|
- ...this.advancedForm
|
|
|
+ ...this.advancedForm,
|
|
|
};
|
|
|
this.params.page_no = 1;
|
|
|
this.GET_WarehouseList();
|
|
@@ -490,7 +499,7 @@ export default {
|
|
|
.catch(() => {
|
|
|
this.loading = false;
|
|
|
});
|
|
|
- API_Setting.getPage({ dictType: "sn_code_status" }).then((res) => {
|
|
|
+ API_Setting.getPage({ dictType: "sn_code_status" }).then((res) => {
|
|
|
this.statusList = res.data;
|
|
|
});
|
|
|
},
|
|
@@ -553,4 +562,8 @@ export default {
|
|
|
margin-left: 20px;
|
|
|
}
|
|
|
}
|
|
|
+.numOrder {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
</style>
|