This commit is contained in:
@@ -90,6 +90,10 @@ export default {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
template: {
|
||||
type: String,
|
||||
default: null
|
||||
},
|
||||
hint: {
|
||||
type: String,
|
||||
default: null
|
||||
@@ -214,10 +218,11 @@ export default {
|
||||
|
||||
if (vm.variant != null) {
|
||||
pickListParams["listVariant"] = vm.variant;
|
||||
//variantSegment = `&variant=${vm.variant}`;
|
||||
}
|
||||
// let pickListParams =
|
||||
// "?ayaType=" + vm.ayaType + "&preId=" + vm.value + variantSegment;
|
||||
|
||||
if (vm.template != null) {
|
||||
pickListParams["template"] = vm.template;
|
||||
}
|
||||
|
||||
vm.getList(pickListParams);
|
||||
}
|
||||
@@ -313,6 +318,9 @@ export default {
|
||||
if (vm.variant != null) {
|
||||
pickListParams["listVariant"] = vm.variant;
|
||||
}
|
||||
if (vm.template != null) {
|
||||
pickListParams["template"] = vm.template;
|
||||
}
|
||||
}
|
||||
try {
|
||||
let res = await window.$gz.api.upsert("pick-list/list", pickListParams);
|
||||
@@ -421,7 +429,9 @@ export default {
|
||||
}
|
||||
if (vm.variant != null) {
|
||||
pickListParams["listVariant"] = vm.variant;
|
||||
//urlParams += `&variant=${vm.variant}`;
|
||||
}
|
||||
if (vm.template != null) {
|
||||
pickListParams["template"] = vm.template;
|
||||
}
|
||||
this.getList(pickListParams);
|
||||
//------------
|
||||
|
||||
Reference in New Issue
Block a user