fix:“物料标签”统一改为“打签”
This commit is contained in:
parent
a3b12bad68
commit
33844efb7c
|
|
@ -187,7 +187,7 @@ export default {
|
|||
resetQuery() {
|
||||
this.query = {};
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row){
|
||||
let that = this;
|
||||
that.wmId = row.id;
|
||||
|
|
|
|||
|
|
@ -61,11 +61,11 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="更新时间" prop="update_time">
|
||||
</el-table-column>
|
||||
<el-table-column width="140">
|
||||
<el-table-column width="80">
|
||||
<template #default="scope">
|
||||
<!-- <el-button type="primary" link v-if="project_code == 'gx'" @click="mbCheck(scope.row)">检验</el-button>
|
||||
<el-button type="success" link v-if="project_code == 'gx'" @click="mbCheckList(scope.row)">检验记录</el-button> -->
|
||||
<el-button type="text" @click="printMaterial(scope.row,'mb')">物料标签</el-button>
|
||||
<el-button type="text" @click="printMaterial(scope.row,'mb')">打签</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</scTable>
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
width="120"
|
||||
>
|
||||
<template #default="scope">
|
||||
<el-link :underline="false" @click="printMaterial(scope.row,'wpr')" type="primary">打印标签</el-link>
|
||||
<el-link :underline="false" @click="printMaterial(scope.row,'wpr')" type="primary">打签</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</scTable>
|
||||
|
|
@ -441,7 +441,7 @@ export default {
|
|||
that.getCheckList();
|
||||
})
|
||||
},
|
||||
//打印物料标签
|
||||
//打印打签
|
||||
printMaterial(row,type){
|
||||
let that = this;
|
||||
let printer_name=localStorage.getItem("printer_name");
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@
|
|||
type="primary"
|
||||
v-if="mioObj.type == 'do_out'"
|
||||
@click="printMaterial(scope.row,'mioitem')"
|
||||
>物料标签</el-link>
|
||||
>打签</el-link>
|
||||
<el-link
|
||||
type="primary"
|
||||
v-if="mioObj.state == 20&&mioObj.type == 'sale_out'"
|
||||
|
|
@ -275,7 +275,7 @@
|
|||
width="120"
|
||||
>
|
||||
<template #default="scope">
|
||||
<el-link :underline="false" v-if="mioObj.type == 'do_out'" @click="printMaterial(scope.row,'wpr')" type="primary">打印标签</el-link>
|
||||
<el-link :underline="false" v-if="mioObj.type == 'do_out'" @click="printMaterial(scope.row,'wpr')" type="primary">打签</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</scTable>
|
||||
|
|
@ -601,9 +601,9 @@ export default {
|
|||
this.$message.error("导入失败,请重新尝试");
|
||||
});
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row,type){
|
||||
console.log('打印物料标签',row);
|
||||
console.log('打签',row);
|
||||
let that = this;
|
||||
let is_mainso = this.url_code.includes('mainso');
|
||||
if(that.printer_name!==''&&that.printer_name!==null&&that.printer_name!==undefined){
|
||||
|
|
|
|||
|
|
@ -362,7 +362,7 @@ export default {
|
|||
var that = this;
|
||||
that.params.material = that.selectObj.id;
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row,type){
|
||||
let that = this;
|
||||
if(that.printer_name!==''&&that.printer_name!==null&&that.printer_name!==undefined){
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@
|
|||
width="120"
|
||||
>
|
||||
<template #default="scope">
|
||||
<el-link :underline="false" @click="printMaterial(scope.row,'wm')" type="primary">物料标签</el-link>
|
||||
<el-link :underline="false" @click="printMaterial(scope.row,'wm')" type="primary">打签</el-link>
|
||||
<el-link :underline="false" v-if="scope.row.material_&&scope.row.material_.tracking==10&&scope.row.state!==20" @click="tableCheckList(scope.row)" type="primary">检验记录</el-link>
|
||||
<el-link
|
||||
v-if="scope.row.material_&&scope.row.material_.tracking==10&&scope.row.state!==20"
|
||||
|
|
@ -219,7 +219,7 @@
|
|||
width="120"
|
||||
>
|
||||
<template #default="scope">
|
||||
<el-link :underline="false" @click="printMaterial(scope.row,'wpr')" type="primary">物料标签</el-link>
|
||||
<el-link :underline="false" @click="printMaterial(scope.row,'wpr')" type="primary">打签</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</scTable>
|
||||
|
|
@ -550,7 +550,7 @@ export default {
|
|||
this.$refs.handoverDialog.open("add",row,20);
|
||||
});
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row,type){
|
||||
let that = this;
|
||||
if(that.printer_name!==''&&that.printer_name!==null&&that.printer_name!==undefined){
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@
|
|||
width="120"
|
||||
>
|
||||
<template #default="scope">
|
||||
<el-link :underline="false" @click="printMaterial(scope.row,'wm')" type="primary">物料标签</el-link>
|
||||
<el-link :underline="false" @click="printMaterial(scope.row,'wm')" type="primary">打签</el-link>
|
||||
<el-link :underline="false" v-if="scope.row.material_&&scope.row.material_.tracking==10&&scope.row.state!==20" @click="tableCheckList(scope.row)" type="primary">检验记录</el-link>
|
||||
<el-link
|
||||
v-if="scope.row.material_&&scope.row.material_.tracking==10&&scope.row.state!==20"
|
||||
|
|
@ -230,7 +230,7 @@
|
|||
width="120"
|
||||
>
|
||||
<template #default="scope">
|
||||
<el-link :underline="false" @click="printMaterial(scope.row,'wpr')" type="primary">物料标签</el-link>
|
||||
<el-link :underline="false" @click="printMaterial(scope.row,'wpr')" type="primary">打签</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</scTable>
|
||||
|
|
@ -574,7 +574,7 @@ export default {
|
|||
this.dialog.save = false;
|
||||
this.$refs.table.refresh();
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row,type){
|
||||
let that = this;
|
||||
if(that.printer_name!==''&&that.printer_name!==null&&that.printer_name!==undefined){
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column width="90">
|
||||
<template #default="scope">
|
||||
<el-button @click="printMaterial(scope.row)" type="text">物料标签</el-button>
|
||||
<el-button @click="printMaterial(scope.row)" type="text">打签</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</scTable>
|
||||
|
|
@ -499,7 +499,7 @@ export default {
|
|||
handlePrint(){
|
||||
this.printVisible = true;
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row){
|
||||
let that = this;
|
||||
that.wmId = row.id;
|
||||
|
|
|
|||
|
|
@ -987,7 +987,7 @@ export default {
|
|||
let that = this;
|
||||
that.printVisible = true;
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row){
|
||||
let that = this;
|
||||
that.apiObjPrint.req({tid:row.id}).then((res) => {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@
|
|||
>
|
||||
<template #default="scope">
|
||||
<el-button v-if="mode=='ins'&&mgroupName=='毛坯检测后打码'" @click="QRCode(scope.row)" type="success">二维码</el-button>
|
||||
<el-button @click="printMaterial(scope.row)" type="primary">打印标签</el-button>
|
||||
<el-button @click="printMaterial(scope.row)" type="primary">打签</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
|
@ -252,7 +252,7 @@ export default {
|
|||
}
|
||||
})
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row){
|
||||
let that = this;
|
||||
if(that.printer_name!==''&&that.printer_name!==null&&that.printer_name!==undefined){
|
||||
|
|
|
|||
|
|
@ -343,7 +343,7 @@ export default {
|
|||
that.printVisible = true;
|
||||
})
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row){
|
||||
let that = this;
|
||||
that.$API.cm.labelmat.fromWm.req({tid:row.id}).then((res) => {
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@
|
|||
width="100"
|
||||
>
|
||||
<template #default="scope">
|
||||
<el-button @click="printMaterial(scope.row)" type="text">物料标签</el-button>
|
||||
<el-button @click="printMaterial(scope.row)" type="text">打签</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</scTable>
|
||||
|
|
@ -145,7 +145,7 @@ export default {
|
|||
handleQuery() {
|
||||
this.$refs.table.queryData(this.query);
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row){
|
||||
let that = this;
|
||||
if(that.printer_name!==''&&that.printer_name!==null&&that.printer_name!==undefined){
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@
|
|||
v-if="scope.row.defect_name == null"
|
||||
>检验记录
|
||||
</el-button> -->
|
||||
<el-button @click="printMaterial(scope.row)" type="text">物料标签</el-button>
|
||||
<el-button @click="printMaterial(scope.row)" type="text">打签</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</scTable>
|
||||
|
|
@ -444,7 +444,7 @@ export default {
|
|||
this.dialog.save = false;
|
||||
this.$refs.table.refresh();
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row){
|
||||
let that = this;
|
||||
if(that.printer_name!==''&&that.printer_name!==null&&that.printer_name!==undefined){
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@
|
|||
@click="tableCheckList(scope.row)"
|
||||
v-if="scope.row.state == 10||scope.row.state == 34"
|
||||
>检验记录</el-button>
|
||||
<el-button @click="printMaterial(scope.row)" type="text">物料标签</el-button>
|
||||
<el-button @click="printMaterial(scope.row)" type="text">打签</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</scTable>
|
||||
|
|
@ -441,7 +441,7 @@ export default {
|
|||
this.dialog.save = false;
|
||||
this.$refs.table.refresh();
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row){
|
||||
let that = this;
|
||||
if(that.printer_name!==''&&that.printer_name!==null&&that.printer_name!==undefined){
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column width="90" v-if="cate=='do_in'|| cate=='do_out'">
|
||||
<template #default="scope">
|
||||
<el-button @click="printMaterial(scope.row)" type="text">物料标签</el-button>
|
||||
<el-button @click="printMaterial(scope.row)" type="text">打签</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</scTable>
|
||||
|
|
@ -554,7 +554,7 @@ export default {
|
|||
handlePrint(){
|
||||
this.printVisible = true;
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row){
|
||||
let that = this;
|
||||
that.wmId = row.id;
|
||||
|
|
|
|||
|
|
@ -691,7 +691,7 @@ export default {
|
|||
let that = this;
|
||||
that.printVisible = true;
|
||||
},
|
||||
//打印物料标签
|
||||
//打签
|
||||
printMaterial(row){
|
||||
let that = this;
|
||||
that.wmId = row.id;
|
||||
|
|
|
|||
Loading…
Reference in New Issue