Browse Source

成品 仓库2022年4月19日 sxm

master
[li_she] 4 years ago
parent
commit
2a17ea5e65
  1. 2
      src/router/index.js
  2. 2
      src/views/modules/common/file-list-view.vue
  3. 2
      src/views/modules/common/file-list.vue
  4. 2
      src/views/modules/finishedProductWarehouse/expirationTimeModification.vue
  5. 2
      src/views/modules/rawMaterials/expirationTimeList.vue
  6. 12
      src/views/modules/report/user_customer_report.vue
  7. 20
      src/views/modules/shopOrder/shopOrder/shopOrder.vue

2
src/router/index.js

@ -38,7 +38,7 @@ const mainRoutes = {
{ path: '/theme', component: _import('common/theme'), name: 'theme', meta: { title: '主题' } },
{ path: '/demo-echarts', component: _import('demo/echarts'), name: 'demo-echarts', meta: { title: 'demo-echarts', isTab: true } },
// { path: '/demo-ueditor', component: _import('demo/ueditor'), name: 'demo-ueditor', meta: { title: 'demo-ueditor', isTab: true } }
{ path: '/customer_report_show', component: _import('modules/report/customer_report_show'), name: 'report', meta: { title: '自定义报表展示', isTab: true } },//2022-04-20 自定义报表路径
{ path: '/customer_report_show', component: _import('modules/report/customer_report_show'), name: 'report', meta: { title: '自定义报表展示' } },//2022-04-20 自定义报表路径
],
beforeEnter (to, from, next) {
let token =Vue.cookie.get('token')

2
src/views/modules/common/file-list-view.vue

@ -99,7 +99,7 @@ export default {
},
mounted() {
this.$nextTick(() => {
this.height = (window.innerHeight - 260)+"px";
this.height = (window.innerHeight*0.82);
})
},
activated() {

2
src/views/modules/common/file-list.vue

@ -112,7 +112,7 @@ export default {
},
mounted() {
this.$nextTick(() => {
this.height = (window.innerHeight - 180);
this.height = (window.innerHeight*0.82);
})
},
activated() {

2
src/views/modules/finishedProductWarehouse/expirationTimeModification.vue

@ -144,7 +144,7 @@ export default {
functionId: this.$route.meta.menuId,
tableId: "105002002ETM",
languageCode: this.$i18n.locale,
showDefault: true,
showDefault: false,
queryData: {
day: '',
rollno: '',

2
src/views/modules/rawMaterials/expirationTimeList.vue

@ -118,7 +118,7 @@ export default {
functionId: this.$route.meta.menuId,
tableId: "105001003ETM",
languageCode: this.$i18n.locale,
showDefault: true,
showDefault: false,
queryData: {
day: '',
rollno: '',

12
src/views/modules/report/user_customer_report.vue

@ -223,13 +223,19 @@ export default {
});
},
/*打开新的查询页面*/
openCustomerReportPage(currentRow){
//
let customerReport= this.$refs.customerReport;
debugger;
//
customerReport.setAttribute('href', window.location.origin+'/#/customer_report_show'+"?reportId="+currentRow.reportId);
// this.$router.push({
// path: 'report-customer_report_show',
// query: {
// reportId: currentRow.reportId,
// }
// })
// //
customerReport.setAttribute('href', window.location.origin+'/#/customer-report-show?reportId='+currentRow.reportId);
//
customerReport.click();
},

20
src/views/modules/shopOrder/shopOrder/shopOrder.vue

@ -34,6 +34,7 @@
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 0px;">
<el-button @click="updateModal" type="primary" style="margin-left: 2px;margin-top: 0px">{{'编辑'}}</el-button>
<el-button @click="deleteData" type="primary" style="margin-left: 2px;margin-top: 0px">{{'删除'}}</el-button>
<el-button @click="printOrder()" type="primary" style="margin-left: 2px;margin-top: 0px">{{'打印'}}</el-button>
</el-form>
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 10px;">
<el-form-item :label="'订单类型:'">
@ -1670,6 +1671,25 @@
})
},
methods: {
//
printOrder(){
const LODOP = this.getLodop()
if (LODOP) {
LODOP.SET_LICENSES("", "13F0BE83846277CB60918577C6281375", "", "");
LODOP.PRINT_INIT("ToolInstanceID");
LODOP.SET_PRINT_PAGESIZE(0, 80, 40, "");
LODOP.SET_PRINT_STYLE("FontSize", 12);
LODOP.NewPage();
LODOP.PRINT_INIT('') //
LODOP.SET_PRINT_PAGESIZE(0, 2400, 1400, "");
LODOP.PRINT_DESIGN();
//LODOP.PREVIEW();
// LODOP.PRINT();
console.log("操作成功!")
}
},
getBaseData(val){
if (this.tagNo === 16){
this.updateData.orderType = val.OrderType

Loading…
Cancel
Save