Browse Source

生成出库单

branch_ccpg_220107
44673626 3 years ago
parent
commit
e8f19f469c
  1. 39
      vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue
  2. 20
      vue/src/views/ux/billManage/vwOutOrder/detail.vue
  3. 4
      vue/src/views/ux/billManage/vwOutOrder/index.vue
  4. 4
      vue/static/tableFieldForSearch.json

39
vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue

@ -810,6 +810,10 @@ export default {
name: "",
type: "",
},
listBillQuery: {
version: "",
guids: [],
},
page: 1,
JobversionValue: "",
JobversionValueVerson: "",
@ -870,7 +874,7 @@ export default {
tempsTabs.push({
label: "单据流水号",
prop: "taskId",
width: 85,
width: 120,
});
tempsTabs.push({
label: "模块名称",
@ -894,8 +898,8 @@ export default {
});
tempsTabs.push({
label: "状态",
prop: "FileName",
width: 100,
prop: "fileName",
width: 150,
});
return tempsTabs;
},
@ -905,13 +909,13 @@ export default {
this.multipleSelection = val;
},
handleConfirm(row) {
// if (this.multipleSelection.length == 0) {
// this.$message({
// message: "",
// type: "warning",
// });
// return;
// }
if (this.multipleSelection.length == 0) {
this.$message({
message: "至少选择一行!",
type: "warning",
});
return;
}
var params = [];
let myalert = ""; //使
if (row) {
@ -933,12 +937,12 @@ export default {
})
.then(() => {
this.$axios
.gets("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params)
.posts("/api/settleaccount/wmsjitoutput/WmsJitOutPutAudit", params)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
title: "成功",
message: "生成成功",
message: "操作成功",
type: "success",
duration: 2000,
});
@ -975,14 +979,21 @@ export default {
});
myalert = "选中项";
}
this.listBillQuery.guids = params;
this.listBillQuery.version = this.JobversionValue;
console.log("出库单条件:" + JSON.stringify(this.listBillQuery));
this.$confirm("是否确认出库" + myalert + "?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
alert(this.JobversionValue);
this.$axios
.gets("/api/settleaccount/wmsjitoutput/WmsJitOutPut", params)
.posts(
"/api/settleaccount/wmsjitoutput/WmsJitOutPut",
this.listBillQuery
)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
@ -1422,7 +1433,7 @@ export default {
getList() {
this.listLoading = true;
//
this.listQuery.name = "大众发票与结算核对明细表";
this.listQuery.name = "准时化结算核对明细";
this.listQuery.type = this.JobversionValue;
this.$axios
.posts("/api/settleaccount/Job/list", this.listQuery)

20
vue/src/views/ux/billManage/vwOutOrder/detail.vue

@ -152,13 +152,14 @@ export default {
Filters: [
{
logic: 0,
column: "",
column: "Enabled",
action: 0,
value: "",
value: "true",
}, //
],
SkipCount: 0,
MaxResultCount: 15
MaxResultCount: 15,
billNum: "",
},
listOutPutQuery: {
version: "",
@ -170,7 +171,7 @@ export default {
formTitle: "",
drawer: false,
showExcelImport: false,
tableHeight: document.documentElement.clientHeight - 260,
tableHeight: document.documentElement.clientHeight - 210,
isEdit: false,
};
},
@ -218,6 +219,7 @@ export default {
tempsTabs.push({ label: "零件描述", prop: "materialDesc", width: 250 });
tempsTabs.push({ label: "物料组", prop: "materialGroup", width: 220 });
tempsTabs.push({ label: "数量", prop: "wmsBillNum", width: 100 });
tempsTabs.push({ label: "状态", prop: "state", width: 100 });
return tempsTabs;
},
},
@ -400,15 +402,7 @@ export default {
} else {
this.listQuery.SkipCount = (this.page - 1) * 15;
}
this.listQuery.Filters = [];
let filter = {
logic: 0,
column: "billNum",
action: 0,
value: this.customerInfo.parentId,
};
this.listQuery.Filters.push(filter);
//this.listQuery.ParentId = this.customerInfo.parentId;
this.listQuery.billNum = this.customerInfo.parentId;
console.log("查询条件:" + JSON.stringify(this.listQuery));
this.$axios
.posts(

4
vue/src/views/ux/billManage/vwOutOrder/index.vue

@ -234,8 +234,8 @@ export default {
}
return moment(date).format("YYYY-MM-DD HH:mm:ss");
}
if (column.property == "documentStatus") {
return { 0: "新建", 1: "进行中", 5: "完成", 9: "取消" }[
if (column.property == "state") {
return { 0: "已提交", 1: "已出库", 2: "不能出库" }[
row[column.property]
];
}

4
vue/static/tableFieldForSearch.json

@ -2910,11 +2910,11 @@
{
"fieldId": 3,
"formType": "text",
"name": "单据号",
"name": "零件号",
"type": 1,
"value": "",
"fieldType": 1,
"fieldName": "wmsBillNum",
"fieldName": "materialCode",
"setting": []
},
{

Loading…
Cancel
Save