|
@@ -138,8 +138,15 @@ const config = computed(() => {
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
+ label: "规格型号",
|
|
|
+ prop: "productSpec",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ attrs: {
|
|
|
label: "单位",
|
|
|
prop: "productUnit",
|
|
|
+ width: 80,
|
|
|
},
|
|
|
render(unit) {
|
|
|
return proxy.dictDataEcho(unit, productUnit.value);
|
|
@@ -149,12 +156,14 @@ const config = computed(() => {
|
|
|
attrs: {
|
|
|
label: "申购数量",
|
|
|
prop: "count",
|
|
|
+ width: 100,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "已采购数量",
|
|
|
prop: "purchaseCount",
|
|
|
+ width: 100,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -175,6 +184,7 @@ const config = computed(() => {
|
|
|
attrs: {
|
|
|
label: "采购状态",
|
|
|
prop: "status",
|
|
|
+ width: 100,
|
|
|
},
|
|
|
render(status) {
|
|
|
return status == 15 ? "待采购" : status == 20 ? "已采购" : "部分采购";
|
|
@@ -184,6 +194,7 @@ const config = computed(() => {
|
|
|
attrs: {
|
|
|
label: "申购人",
|
|
|
prop: "subcribeName",
|
|
|
+ width: 100,
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -197,7 +208,7 @@ const config = computed(() => {
|
|
|
attrs: {
|
|
|
label: "操作",
|
|
|
width: "80",
|
|
|
- align: "right",
|
|
|
+ align: "center",
|
|
|
},
|
|
|
renderHTML(row) {
|
|
|
return [
|