update DialogWithMenu在编辑时的初始化逻辑“
This commit is contained in:
@@ -101,7 +101,8 @@ export default function () {
|
||||
options: [],
|
||||
refreshOptionsAfterConfirm: true,
|
||||
elparams: { clearable: true, filterable: true, placeholder: "请选择砖型" },
|
||||
fetchData: () => this.$http.get("/pms/shape/listUnR", { params: { wsId: 2, externalCode: '', key: '' } }),
|
||||
// 下面参数的 techId 是为 /pms/xxx/listUnR 接口定制的,默认为 -1,新增时使用,编辑时传对应的 工艺id
|
||||
fetchData: (techId = -1) => this.$http.get("/pms/shape/listUnR", { params: { wsId: 4, externalCode: '', key: '', techId } }),
|
||||
},
|
||||
],
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user