update 托盘-载砖详情

This commit is contained in:
lb
2023-03-30 11:12:29 +08:00
parent 4a8694ca55
commit 0268af8557
5 changed files with 34 additions and 17 deletions

View File

@@ -72,7 +72,7 @@ export default function () {
fetchData: () => this.$http.get("/pms/car/page", { params: { page: 1, limit: 999 } }),
rules: { required: true, message: "必填项不能为空", trigger: "blur" },
elparams: {
fliterable: true
disabled: true,
}
},
{
@@ -94,16 +94,17 @@ export default function () {
prop: "pos",
// options: getDictDataList(),
rules: { required: true, message: "必填项不能为空", trigger: "blur" },
// elparams: {
// fliterable: true
// }
elparams: {
// fliterable: true
}
},
{
label: "查看载砖详情",
button: true,
onClick: (id) => {
onClick: function (id) { // 必须用 function 形式
console.log(`查看载砖详情`, id)
this.$emit({ type: 'to-car-payload', data: id })
this.$emit('emit-data', { type: 'to-car-payload', data: id })
}
},
],

View File

@@ -3,6 +3,7 @@
:table-config="tableConfig"
:head-config="headFormConfigs"
:dialog-configs="dialogConfigs"
:car-payload-dialog-configs="carPayloadDialogConfigs"
:list-query-extra="[
/** { pos: [] } **/
]"
@@ -24,9 +25,10 @@ export default {
};
},
data() {
const { tableConfig, headFormConfigs, urls, dialogConfigs } = initConfig.call(this);
const { tableConfig, headFormConfigs, urls, carPayloadDialogConfigs, dialogConfigs } = initConfig.call(this);
return {
tableConfig,
carPayloadDialogConfigs,
headFormConfigs,
allUrls: urls,
dialogConfigs,