bugfix 0706 doc

This commit is contained in:
lb
2023-07-06 16:41:09 +08:00
parent d55614cd6d
commit a33636ef05
10 changed files with 108 additions and 43 deletions

View File

@@ -215,7 +215,7 @@ export default function () {
urls: {
base: "/pms/bom",
page: "/pms/bom/pageVersion",
syncUrl: "/pms/bom/bomSync",
syncUrl: "/pms/trans/bomSync",
copyUrl: "/pms/bom/copy",
subase: "/pms/bomMaterial",
subpage: "/pms/bomMaterial/page",

View File

@@ -43,6 +43,18 @@ export default function () {
placeholder: "请输入窑车号",
},
},
{
prop: 'orderId',
label: '订单号',
fieldOptionLabel: 'code',
customLabel: 'cate',
select: [],
fn: () => this.$http.post("/pms/order/pageView", { page: 1, limit: 999 }),
bind: {
placeholder: '请选择订单号',
filterable: true
}
},
{
button: {
type: "primary",

View File

@@ -5,6 +5,7 @@
**/
-->
<template>
<!-- v-loading="overlayVisible" -->
<section class="list-section-with-head">
<BaseSearchForm
:id="$attrs.id"
@@ -226,11 +227,12 @@ export default {
}
})
.catch((errMsg) => {
// this.$message({
// message: errMsg,
// type: "error",
// duration: 2000,
// });
console.log('ere...')
this.$message({
message: errMsg,
type: "error",
duration: 2000,
});
});
break;
}
@@ -332,7 +334,8 @@ export default {
if (res.code === 0) {
this.$message.success("删除成功!");
// 获取数据
if (currenPageListLength == 1) this.listQuery.page = this.listQuery.page > 1 ? this.listQuery.page - 1 : 1;
if (currenPageListLength == 1)
this.listQuery.page = this.listQuery.page > 1 ? this.listQuery.page - 1 : 1;
this.getAList(Object.assign({}, this.listQuery, this.extraSearchConditions, this.params));
}
});

View File

@@ -101,7 +101,7 @@ export default {
{ width: 80, prop: "orderCate", label: "订单子号" },
{ prop: "bomCode", label: "配方" },
{ prop: "shapeCode", label: "砖型" },
{ width: 80, prop: "qty", label: "订单数量" },
{ width: 80, prop: "qty", label: "数量" },
{ width: 72, prop: "goodqty", label: "合格数" },
{ width: 72, prop: "badqty", label: "废砖数" },
],

View File

@@ -14,6 +14,7 @@ export default function () {
{ prop: "description", label: "长描述" },
{ prop: "shortDesc", label: "短描述" },
{ prop: "remark", label: "备注" },
{ prop: "toggle-attachment-dialog", label: "查看附件", actionName: 'toggle-attachment-dialog', buttonContent: '查看附件', subcomponent: TableTextComponent },
{ prop: "createTime", label: "添加时间", filter: timeFilter },
{
prop: "operations",