@@ -254,7 +254,7 @@
// this.tableData = response.records
// this.getList()
localStorage.setItem('pricePrintList', JSON.stringify(response.detailPrints));
- window.location.href = "../../../static/print.html?name=" + row.goodsName
+ window.open( "../../../static/print.html?name=" + row.goodsName)
})
},
validate() {
@@ -137,7 +137,7 @@
</el-table>
</div>
<div class="bottom-btn">
- <div v-if="baseInfoForm.status=='审核中'" class="left">当前价格尚未通过审核,建议审核通过后进行打印</div>
+ <div v-if="baseInfoForm.status=='审核中'||!isShowTip" class="left">当前价格尚未通过审核,建议审核通过后进行打印</div>
<div class="right">
<el-button class="submit" @click="closeCount">关闭</el-button>
<el-button class="submit" @click="print">打印</el-button>
@@ -170,6 +170,7 @@
data() {
return {
+ isShowTip:false,
price: 0,
left: [],
right: [],
@@ -834,6 +835,7 @@
.toPromise()
.then((response) => {
this.isCountShow = false
+ this.isShowTip = true
.catch((req) => {
this.$message.warning(req.message)