Browse Source

已打印页面增加PrintType

master
liuyunfeng 1 year ago
parent
commit
8489763532
  1. 12
      vue/src/views/pg-fis/basedate/alreadyPrint/index.vue
  2. 4
      vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue
  3. 2
      vue/static/config.js

12
vue/src/views/pg-fis/basedate/alreadyPrint/index.vue

@ -500,6 +500,12 @@ export default {
prop: "hostSN2", prop: "hostSN2",
width: 120, width: 120,
}); });
tempsTabs.push({
label: "打印类型",
prop: "printType",
width: 120,
});
// tempsTabs.push({ // tempsTabs.push({
// label: "", // label: "",
// prop: "printBillNum", // prop: "printBillNum",
@ -693,6 +699,10 @@ export default {
} }
return moment(date).format("YYYY-MM-DD HH:mm:ss"); return moment(date).format("YYYY-MM-DD HH:mm:ss");
} }
if (column.property === "printType") {
return { 1: "顺序打印", 2: "补账打印" }[row[column.property]];
}
// if (column.property === "canNotPrint") { // if (column.property === "canNotPrint") {
// return { true: "", false: "" }[row[column.property]]; // return { true: "", false: "" }[row[column.property]];
// } // }
@ -739,7 +749,7 @@ export default {
} else { } else {
this.listQuery.BusinessType = 1 this.listQuery.BusinessType = 1
} }
this.listQuery.PrintType = 1; this.listQuery.PrintType = null;
} }
console.log("M100查询条件:" + JSON.stringify(this.listQuery)); console.log("M100查询条件:" + JSON.stringify(this.listQuery));

4
vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue

@ -811,7 +811,7 @@ export default {
}); });
return; return;
} else { } else {
console.log("超时提醒-接口传过来的值:" + JSON.stringify(response.item)); //console.log("-" + JSON.stringify(response.item));
if (response.item !== null) { if (response.item !== null) {
this.tipper = "" this.tipper = ""
@ -975,6 +975,7 @@ export default {
}, },
// //
handleDrawerOpen(param) { handleDrawerOpen(param) {
debugger
this.drawer = true; this.drawer = true;
var parentId = param.assemblyID; //id var parentId = param.assemblyID; //id
this.customerInfos = [ this.customerInfos = [
@ -1167,6 +1168,7 @@ export default {
.then((response) => { .then((response) => {
this.list = response.items; this.list = response.items;
this.totalCount = response.totalCount; this.totalCount = response.totalCount;
debugger
setTimeout(() => { setTimeout(() => {
// //
this.listLoading = false; this.listLoading = false;

2
vue/static/config.js

@ -35,7 +35,7 @@ if (process.env.NODE_ENV === "development") {
// 发布环境 // 发布环境
configJSON = { configJSON = {
base: { base: {
//ip: "http://192.168.0.140", // ip: "http://192.168.0.140",
// auth_port: "8066", // auth_port: "8066",
// public_port: "8092", // public_port: "8092",
// backend_port: "8092", // backend_port: "8092",

Loading…
Cancel
Save