|
@@ -83,64 +83,64 @@ export default function useColumns() {
|
|
item: { key: "source", title: "单据来源" },
|
|
item: { key: "source", title: "单据来源" },
|
|
attr: {
|
|
attr: {
|
|
is: "el-input",
|
|
is: "el-input",
|
|
- readonly: true,
|
|
|
|
|
|
+ disabled: true,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
item: { key: "puCode", title: "集采编号" },
|
|
item: { key: "puCode", title: "集采编号" },
|
|
attr: {
|
|
attr: {
|
|
is: "el-input",
|
|
is: "el-input",
|
|
- readonly: true,
|
|
|
|
|
|
+ disabled: true,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
item: { key: "createTime", title: "创建时间" },
|
|
item: { key: "createTime", title: "创建时间" },
|
|
attr: {
|
|
attr: {
|
|
is: "el-input",
|
|
is: "el-input",
|
|
- readonly: true,
|
|
|
|
|
|
+ disabled: true,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
item: { key: "customerName", title: "客户" },
|
|
item: { key: "customerName", title: "客户" },
|
|
attr: {
|
|
attr: {
|
|
is: "el-input",
|
|
is: "el-input",
|
|
- readonly: true,
|
|
|
|
|
|
+ disabled: true,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
item: { key: "materialCode", title: "物料编码" },
|
|
item: { key: "materialCode", title: "物料编码" },
|
|
attr: {
|
|
attr: {
|
|
is: "el-input",
|
|
is: "el-input",
|
|
- readonly: true,
|
|
|
|
|
|
+ disabled: true,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
item: { key: "materialName", title: "物料" },
|
|
item: { key: "materialName", title: "物料" },
|
|
attr: {
|
|
attr: {
|
|
is: "el-input",
|
|
is: "el-input",
|
|
- readonly: true,
|
|
|
|
|
|
+ disabled: true,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
item: { key: "usedQty", title: "已用量" },
|
|
item: { key: "usedQty", title: "已用量" },
|
|
attr: {
|
|
attr: {
|
|
is: "el-input",
|
|
is: "el-input",
|
|
- readonly: true,
|
|
|
|
|
|
+ disabled: true,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
item: { key: "reservedQty", title: "预留数量" },
|
|
item: { key: "reservedQty", title: "预留数量" },
|
|
attr: {
|
|
attr: {
|
|
is: "el-input",
|
|
is: "el-input",
|
|
- readonly: true,
|
|
|
|
|
|
+ disabled: true,
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
item: { key: "qty", title: "可用量" },
|
|
item: { key: "qty", title: "可用量" },
|
|
attr: {
|
|
attr: {
|
|
- is: "el-input",
|
|
|
|
- type: "number",
|
|
|
|
- min: "0",
|
|
|
|
|
|
+ is: "el-input-number",
|
|
|
|
+ min: 0,
|
|
|
|
+ controlsPosition: "right",
|
|
}
|
|
}
|
|
},
|
|
},
|
|
]
|
|
]
|