物料增加标签打印功能

This commit is contained in:
yinjinlu-pc\尹金路 2024-11-25 17:14:45 +08:00
parent 2117661802
commit 820a0f0e68

View File

@ -167,6 +167,7 @@
@click="handleDelete(scope.row)"
v-hasPermi="['mes:md:mditem:remove']"
>删除</el-button>
<printLabel :businessId="scope.row.itemId" :businessCode="scope.row.itemCode" labelText="标签打印" businessType = "ITEM"></printLabel>
</template>
</el-table-column>
</el-table>
@ -401,10 +402,11 @@ import Treeselect from "@riophae/vue-treeselect";
import { getBarcodeUrl } from "@/api/mes/wm/barcode";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
import BarcodeImg from "@/components/barcodeImg/index.vue"
import printLabel from "@/components/printerLabel/index.vue"
export default {
name: "MdItem",
dicts: ['sys_yes_no','mes_item_product'],
components: { Treeselect,ItemBom,SOPTab,SIPTab,BarcodeImg },
components: { Treeselect,ItemBom,SOPTab,SIPTab,BarcodeImg,printLabel },
data() {
return {
//