浏览代码

修改仓库设置

mxx 3 年之前
父节点
当前提交
118bfc0d85

+ 1 - 1
src/views/houseSelfCollect/acquisitionManagement.vue

@@ -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() {

+ 3 - 1
src/views/houseSelfCollect/acquisitionManagementAdd.vue

@@ -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)