feat: add shared product group
This commit is contained in:
parent
dc84178e06
commit
795a87312e
4 changed files with 8 additions and 0 deletions
|
|
@ -244,6 +244,7 @@ const formDataGroup = ref<ProductGroupCreate>({
|
|||
detail: '',
|
||||
name: '',
|
||||
code: '',
|
||||
shared: false,
|
||||
registeredBranchId: '',
|
||||
});
|
||||
|
||||
|
|
@ -867,6 +868,7 @@ async function assignFormDataGroup(data: ProductGroup) {
|
|||
detail: data.detail,
|
||||
name: data.name,
|
||||
code: data.code,
|
||||
shared: data.shared,
|
||||
registeredBranchId: data.registeredBranchId,
|
||||
};
|
||||
|
||||
|
|
@ -3046,6 +3048,7 @@ watch(
|
|||
v-model:remark="formDataGroup.remark"
|
||||
v-model:name="formDataGroup.name"
|
||||
v-model:detail="formDataGroup.detail"
|
||||
v-model:shared="formDataGroup.shared"
|
||||
v-model:registered-branch-id="formDataGroup.registeredBranchId"
|
||||
/>
|
||||
</div>
|
||||
|
|
@ -3227,6 +3230,7 @@ watch(
|
|||
v-model:remark="formDataGroup.remark"
|
||||
v-model:name="formDataGroup.name"
|
||||
v-model:code="formDataGroup.code"
|
||||
v-model:shared="formDataGroup.shared"
|
||||
v-model:detail="formDataGroup.detail"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue