Commit b20345f8 authored by 左玲玲's avatar 左玲玲 😬

优化

parent 8f5da614
...@@ -709,6 +709,10 @@ const one = { ...@@ -709,6 +709,10 @@ const one = {
title: "状态", title: "状态",
key: "statusName", key: "statusName",
}, },
{
title: "完成时间",
key: "finishTime",
},
{ {
title: "工单二维码", title: "工单二维码",
key: "qrCodeUrl", key: "qrCodeUrl",
...@@ -797,14 +801,14 @@ const one = { ...@@ -797,14 +801,14 @@ const one = {
], ],
}, },
{ {
cardTitle: "强制关信息", cardTitle: "强制关信息",
itemData: [ itemData: [
{ {
title: "操作人", title: "关单人",
key: "closeUserName", key: "closeUserName",
}, },
{ {
title: "操作时间", title: "关单时间",
key: "closeTime", key: "closeTime",
} }
], ],
......
...@@ -233,7 +233,7 @@ function Instore(props) { ...@@ -233,7 +233,7 @@ function Instore(props) {
}) })
} }
}), }),
getPrem("equipmentCustomer_deleteById", action, '删除', null, { record.status==0 && getPrem("equipmentCustomer_deleteById", action, '删除', null, {
title: "确认删除?", title: "确认删除?",
onConfirm: () => { onConfirm: () => {
doFetch({ url: "/ngic-workmanship/wmsMaterieInstore/deleteById", params: { id: record.id } }).then(res => { doFetch({ url: "/ngic-workmanship/wmsMaterieInstore/deleteById", params: { id: record.id } }).then(res => {
...@@ -330,12 +330,12 @@ function Instore(props) { ...@@ -330,12 +330,12 @@ function Instore(props) {
} }
}, },
{ {
"title": "关单时间", "title": "完成时间",
"dataIndex": "closeTime", "dataIndex": "finishTime",
"key": "closeTime", "key": "finishTime",
"valueType": "dateRange", "valueType": "dateRange",
formItemProps:{ formItemProps:{
name:"closeTimeList" name:"finishTimeList"
} }
}, },
{ {
......
...@@ -688,6 +688,10 @@ const one = { ...@@ -688,6 +688,10 @@ const one = {
title: "状态", title: "状态",
key: "statusName", key: "statusName",
}, },
{
title: "完成时间",
key: "finishTime",
},
{ {
title: "工单二维码", title: "工单二维码",
key: "qrCodeUrl", key: "qrCodeUrl",
...@@ -768,14 +772,14 @@ const one = { ...@@ -768,14 +772,14 @@ const one = {
], ],
}, },
{ {
cardTitle: "强制关信息", cardTitle: "强制关信息",
itemData: [ itemData: [
{ {
title: "操作人", title: "关单人",
key: "closeUserName", key: "closeUserName",
}, },
{ {
title: "操作时间", title: "关单时间",
key: "closeTime", key: "closeTime",
} }
], ],
......
...@@ -63,7 +63,7 @@ function Outstore(props) { ...@@ -63,7 +63,7 @@ function Outstore(props) {
setdrawprops(s => ({ setdrawprops(s => ({
...s, ...s,
visible: false, visible: false,
fields:{} fields: {}
})) }))
}, },
fields: {}, fields: {},
...@@ -81,7 +81,7 @@ function Outstore(props) { ...@@ -81,7 +81,7 @@ function Outstore(props) {
setdrawprops(s => ({ setdrawprops(s => ({
...s, ...s,
visible: false, visible: false,
fields:{} fields: {}
})) }))
} }
...@@ -233,7 +233,7 @@ function Outstore(props) { ...@@ -233,7 +233,7 @@ function Outstore(props) {
}) })
} }
}), }),
getPrem("equipmentCustomer_deleteById", action, '删除', null, { record.status == 0 && getPrem("equipmentCustomer_deleteById", action, '删除', null, {
title: "确认删除?", title: "确认删除?",
onConfirm: () => { onConfirm: () => {
doFetch({ url: "/ngic-workmanship/wmsMaterieOutstore/deleteById", params: { id: record.id } }).then(res => { doFetch({ url: "/ngic-workmanship/wmsMaterieOutstore/deleteById", params: { id: record.id } }).then(res => {
...@@ -330,12 +330,12 @@ function Outstore(props) { ...@@ -330,12 +330,12 @@ function Outstore(props) {
} }
}, },
{ {
"title": "关单时间", "title": "完成时间",
"dataIndex": "closeTime", "dataIndex": "finishTime",
"key": "closeTime", "key": "finishTime",
"valueType": "dateRange", "valueType": "dateRange",
formItemProps: { formItemProps: {
name: "closeTimeList" name: "finishTimeList"
} }
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment