feat: 打印机、商品列表的问题修改
This commit is contained in:
@@ -16,6 +16,8 @@ const modalConfig: IModalConfig<editRequest> = {
|
||||
formAction: function (data) {
|
||||
let obj = { ...data }
|
||||
obj.printType = data.printType.join(',')
|
||||
obj.categoryIds = JSON.stringify(data.categoryIdsArr)
|
||||
obj.categoryList = JSON.stringify(data.categoryIdsArr)
|
||||
return printerApi.edit(obj);
|
||||
},
|
||||
beforeSubmit(data) {
|
||||
@@ -128,6 +130,16 @@ const modalConfig: IModalConfig<editRequest> = {
|
||||
options: options.classifyPrint,
|
||||
initialValue: options.classifyPrint[0].value
|
||||
},
|
||||
|
||||
{
|
||||
type: "custom",
|
||||
slotName: 'classifyPrintData',
|
||||
prop: "categoryIdsArr",
|
||||
label: "",
|
||||
},
|
||||
|
||||
|
||||
|
||||
{
|
||||
type: "radio",
|
||||
label: "打印数量",
|
||||
@@ -149,6 +161,7 @@ const modalConfig: IModalConfig<editRequest> = {
|
||||
options: options.printType,
|
||||
initialValue: options.printType.map(v => v.value)
|
||||
},
|
||||
|
||||
{
|
||||
label: "打印机状态",
|
||||
prop: "status",
|
||||
|
||||
Reference in New Issue
Block a user