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

入库

parent 4bb54179
...@@ -11,7 +11,7 @@ export default { ...@@ -11,7 +11,7 @@ export default {
// localhost:8000/api/** -> https://preview.pro.ant.design/api/** // localhost:8000/api/** -> https://preview.pro.ant.design/api/**
"/wms/": { "/wms/": {
// 要代理的地址 // 要代理的地址
target: "http://192.168.40.18:18040/", //39:18040 23/wms/ //60 翔 //18 target: "http://192.168.40.18/wms/", //39:28040 18/wms/
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
"^/wms": "", "^/wms": "",
......
...@@ -14,26 +14,29 @@ const EditUpload = ({ record, fid, storeId }) => { ...@@ -14,26 +14,29 @@ const EditUpload = ({ record, fid, storeId }) => {
if (!value) { if (!value) {
return return
} }
setInitialState(s => ({ let newlist = Object.keys(value)?.map?.(it => {
...s, let id = it;
submit: { let newArr = value[id]?.filter(it => typeof (it.id) == "number") ?? [];
id: fid, return {
materialList: Object.keys(value)?.map?.(it => { id,
let id = it; uploadList: newArr.map(its => {
let newArr = value[id]?.filter(it=>it.id) ?? [];
return { return {
id, storePositionId: its?.storePositionId,
uploadList: newArr.map(its => { instroeNum: its?.instroeNum,
return { remark: its?.remark
storePositionId: its?.storePositionId,
instroeNum: its?.instroeNum,
remark: its?.remark
}
})
} }
}) })
} }
})) }) ?? [];
setInitialState(s => {
return ({
...s,
submit: {
id: fid,
materialList: (s.submit && s?.submit?.materialList) ? s?.submit?.materialList?.filter(it=>newlist.map(item=>item.id).indexOf(it.id)==-1)?.concat(newlist)?.filter(it=>it.uploadList?.length>0) : []
}
})
})
}, [value]) }, [value])
return <EditableProTable return <EditableProTable
...@@ -63,7 +66,7 @@ const EditUpload = ({ record, fid, storeId }) => { ...@@ -63,7 +66,7 @@ const EditUpload = ({ record, fid, storeId }) => {
editable: (text, record, index) => { editable: (text, record, index) => {
return !record.materieOutstoreDetailId return !record.materieOutstoreDetailId
}, },
valueType:"digit" valueType: "digit"
}, },
{ {
title: "备注", title: "备注",
...@@ -79,7 +82,7 @@ const EditUpload = ({ record, fid, storeId }) => { ...@@ -79,7 +82,7 @@ const EditUpload = ({ record, fid, storeId }) => {
valueType: "option", valueType: "option",
width: 70, width: 70,
render: (text, record, _, action) => [ render: (text, record, _, action) => [
<a key="delete" onClick={() => { }}> typeof (record.id) == "number" && <a key="delete" onClick={() => { }}>
删除 删除
</a>, </a>,
], ],
...@@ -98,10 +101,12 @@ const EditUpload = ({ record, fid, storeId }) => { ...@@ -98,10 +101,12 @@ const EditUpload = ({ record, fid, storeId }) => {
return [defaultDoms.delete]; return [defaultDoms.delete];
}, },
onValuesChange: async (records, recordList) => { onValuesChange: async (records, recordList) => {
setvalue(s => ({ setvalue(s => {
...s, return ({
[record.id]: recordList ...s,
})); [record.id]: recordList
})
});
}, },
}} }}
pagination={false} pagination={false}
...@@ -215,7 +220,7 @@ const one = { ...@@ -215,7 +220,7 @@ const one = {
"title": <span>入库数量 <b style={{ color: "red" }}>*</b></span>, "title": <span>入库数量 <b style={{ color: "red" }}>*</b></span>,
"dataIndex": "instroeNum", "dataIndex": "instroeNum",
"key": "instroeNum", "key": "instroeNum",
valueType:"digit", valueType: "digit",
"formItemProps": () => { "formItemProps": () => {
return { return {
rules: [{ required: true, message: '此项为必填项' }], rules: [{ required: true, message: '此项为必填项' }],
...@@ -358,7 +363,7 @@ const one = { ...@@ -358,7 +363,7 @@ const one = {
rules: [{ required: true, message: '此项为必填项' }], rules: [{ required: true, message: '此项为必填项' }],
}; };
}, },
valueType:"digit" valueType: "digit"
}, },
{ {
"title": "单位", "title": "单位",
...@@ -501,7 +506,7 @@ const one = { ...@@ -501,7 +506,7 @@ const one = {
rules: [{ required: true, message: '此项为必填项' }], rules: [{ required: true, message: '此项为必填项' }],
}; };
}, },
valueType:"digit" valueType: "digit"
}, },
{ {
"title": "单位", "title": "单位",
...@@ -644,7 +649,7 @@ const one = { ...@@ -644,7 +649,7 @@ const one = {
rules: [{ required: true, message: '此项为必填项' }], rules: [{ required: true, message: '此项为必填项' }],
}; };
}, },
valueType:"digit" valueType: "digit"
}, },
{ {
"title": "单位", "title": "单位",
...@@ -700,14 +705,16 @@ const one = { ...@@ -700,14 +705,16 @@ const one = {
{ {
title: "创建时间", title: "创建时间",
key: "createTime", key: "createTime",
},{ }, {
title: "状态", title: "状态",
key: "statusName", key: "statusName",
}, },
{ {
title: "工单二维码", title: "工单二维码",
key: "qrCodeUrl", key: "qrCodeUrl",
type:"img" type: "img",
width: 100,
height: 100
}, },
], ],
}, },
......
...@@ -12,6 +12,7 @@ import DrawInitForm from "@/components/DrawInitForm"; ...@@ -12,6 +12,7 @@ import DrawInitForm from "@/components/DrawInitForm";
import getPrem from '@/utils/getPrem';//权限判断fn import getPrem from '@/utils/getPrem';//权限判断fn
import { useReactToPrint } from 'react-to-print'; import { useReactToPrint } from 'react-to-print';
import { useCallback } from "react"; import { useCallback } from "react";
import { useModel } from 'umi';
const keytoval = { const keytoval = {
"one": 1, "one": 1,
"two": 2, "two": 2,
...@@ -53,6 +54,7 @@ const keytoval = { ...@@ -53,6 +54,7 @@ const keytoval = {
] ]
function Instore(props) { function Instore(props) {
const { initialState, setInitialState } = useModel("@@initialState");
const [activeTabKey, onTabChange] = useState("1"); const [activeTabKey, onTabChange] = useState("1");
let [drawprops, setdrawprops] = useState({ let [drawprops, setdrawprops] = useState({
title: "", title: "",
...@@ -212,6 +214,12 @@ function Instore(props) { ...@@ -212,6 +214,12 @@ function Instore(props) {
totalParams: { id: record.id }, totalParams: { id: record.id },
extra:null extra:null
})) }))
setInitialState(s => {
return ({
...s,
submit: {}
})
})
}), }),
getPrem("equipmentCustomer_deleteById", action, '关单', null, { getPrem("equipmentCustomer_deleteById", action, '关单', null, {
title: "确认关单?", title: "确认关单?",
......
...@@ -10,41 +10,47 @@ const EditUpload = ({ record, fid, storeId }) => { ...@@ -10,41 +10,47 @@ const EditUpload = ({ record, fid, storeId }) => {
[record.id]: record.downloadList [record.id]: record.downloadList
}); });
const { initialState, setInitialState } = useModel("@@initialState"); const { initialState, setInitialState } = useModel("@@initialState");
console.log('====================================');
console.log(storeId);
console.log('====================================');
useEffect(() => { useEffect(() => {
if (!value) { if (!value) {
return return
} }
setInitialState(s => ({ console.log(value);
...s,
submits: { let newlist = Object.keys(value)?.map?.(it => {
id: fid, let id = it;
materialList: Object.keys(value)?.map?.(it => { let newArr = value[id]?.filter(it => typeof (it.id) == "number") ?? [];
let id = it; return {
id,
downloadList: newArr.map(its => {
return { return {
id, storeId: its?.storeId,
downloadList: value[id]?.map(its => { outstroeNum: its?.outstroeNum,
return { remark: its?.remark,
storePositionId: its?.storePositionId, materieControlNo: its?.materieControlNo
outstroeNum: its?.outstroeNum,
remark: its?.remark,
materieControlNo: its?.materieControlNo
}
})
} }
}) })
} }
})) }) ?? [];
setInitialState(s => {
console.log(newlist);
return ({
...s,
submits: {
id: fid,
materialList: (s.submits && s?.submits?.materialList) ? s?.submits?.materialList?.filter(it => newlist.map(item => item.id).indexOf(it.id) == -1)?.concat(newlist)?.filter(it => it.downloadList?.length > 0) : []
}
})
})
}, [value]) }, [value])
return <EditTable return <EditTable
rowKey="id"
maxLength={1000} maxLength={1000}
linkconfig={{ linkconfig={{
urlchangeval: { urlchangeval: {
database: (params) => doFetch({ url: "/ngic-workmanship/wmsMaterieStore/queryStoreOne", params }), database: (params) => doFetch({ url: "/ngic-workmanship/wmsMaterieStockStore/queryByMaterieAndStoreId", params }),
params: { "storePositionId": "linked", "materieControlNo": "linked" }, params: { "storeId": "linked",materieId:record.materieId},
effectresult: { effectresult: {
"supplierNo": "supplierNo", "supplierNo": "supplierNo",
"supplierName": "supplierName", "supplierName": "supplierName",
...@@ -57,7 +63,7 @@ const EditUpload = ({ record, fid, storeId }) => { ...@@ -57,7 +63,7 @@ const EditUpload = ({ record, fid, storeId }) => {
{ {
title: "库位名称", title: "库位名称",
dataIndex: "storePositionName", dataIndex: "storePositionName",
key: "storePositionId", key: "storeId",
search: false, search: false,
valueType: "select", valueType: "select",
request: async () => { request: async () => {
...@@ -142,7 +148,8 @@ const one = { ...@@ -142,7 +148,8 @@ const one = {
"name": [ "name": [
"materieOutstoreNo" "materieOutstoreNo"
], ],
"required": false "required": false,
placeholder: "不填写系统自动生成"
}, },
"storeId": { "storeId": {
"value": null, "value": null,
...@@ -192,7 +199,8 @@ const one = { ...@@ -192,7 +199,8 @@ const one = {
effectresult: { effectresult: {
"productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值 "productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值
"productionUnitName": "productionUnitName", "productionUnitName": "productionUnitName",
"usableNum": "usableNum" "usableNum": "usableNum",
"outstroeNum": "outstroeNum"
} }
} }
}, },
...@@ -263,7 +271,8 @@ const one = { ...@@ -263,7 +271,8 @@ const one = {
"name": [ "name": [
"materieOutstoreNo" "materieOutstoreNo"
], ],
"required": false "required": false,
placeholder: "不填写系统自动生成"
}, },
"storeId": { "storeId": {
"value": null, "value": null,
...@@ -313,7 +322,8 @@ const one = { ...@@ -313,7 +322,8 @@ const one = {
effectresult: { effectresult: {
"productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值 "productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值
"productionUnitName": "productionUnitName", "productionUnitName": "productionUnitName",
"usableNum": "usableNum" "usableNum": "usableNum",
"outstroeNum": "outstroeNum"
} }
} }
}, },
...@@ -384,7 +394,8 @@ const one = { ...@@ -384,7 +394,8 @@ const one = {
"name": [ "name": [
"materieOutstoreNo" "materieOutstoreNo"
], ],
"required": false "required": false,
placeholder: "不填写系统自动生成"
}, },
"storeId": { "storeId": {
"value": null, "value": null,
...@@ -434,7 +445,8 @@ const one = { ...@@ -434,7 +445,8 @@ const one = {
effectresult: { effectresult: {
"productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值 "productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值
"productionUnitName": "productionUnitName", "productionUnitName": "productionUnitName",
"usableNum": "usableNum" "usableNum": "usableNum",
"outstroeNum": "outstroeNum"
} }
} }
}, },
...@@ -505,7 +517,8 @@ const one = { ...@@ -505,7 +517,8 @@ const one = {
"name": [ "name": [
"materieOutstoreNo" "materieOutstoreNo"
], ],
"required": false "required": false,
placeholder: "不填写系统自动生成"
}, },
"storeId": { "storeId": {
"value": null, "value": null,
...@@ -555,7 +568,8 @@ const one = { ...@@ -555,7 +568,8 @@ const one = {
effectresult: { effectresult: {
"productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值 "productionUnit": "productionUnit",//key 为列表更新值 value为response 返回值
"productionUnitName": "productionUnitName", "productionUnitName": "productionUnitName",
"usableNum": "usableNum" "usableNum": "usableNum",
"outstroeNum": "outstroeNum"
} }
} }
}, },
...@@ -652,6 +666,17 @@ const one = { ...@@ -652,6 +666,17 @@ const one = {
title: "创建时间", title: "创建时间",
key: "createTime", key: "createTime",
}, },
{
title: "状态",
key: "statusName",
},
{
title: "工单二维码",
key: "qrCodeUrl",
type: "img",
width: 100,
height: 100
},
], ],
}, },
{ {
...@@ -866,6 +891,10 @@ const one = { ...@@ -866,6 +891,10 @@ const one = {
title: "创建时间", title: "创建时间",
key: "createTime", key: "createTime",
}, },
{
title: "状态",
key: "statusName"
}
], ],
}, },
{ {
......
...@@ -11,7 +11,7 @@ import { doFetch } from "@/utils/doFetch"; ...@@ -11,7 +11,7 @@ import { doFetch } from "@/utils/doFetch";
import DrawInitForm from "@/components/DrawInitForm"; import DrawInitForm from "@/components/DrawInitForm";
import getPrem from '@/utils/getPrem';//权限判断fn import getPrem from '@/utils/getPrem';//权限判断fn
import { useReactToPrint } from 'react-to-print'; import { useReactToPrint } from 'react-to-print';
import { useModel } from 'umi';
const keytoval = { const keytoval = {
"one": 1, "one": 1,
...@@ -20,7 +20,7 @@ const keytoval = { ...@@ -20,7 +20,7 @@ const keytoval = {
"four": 4 "four": 4
}, items = [ }, items = [
{ {
key: 'one', key: 'one',
label: ( label: (
<a> <a>
生产领料出库 生产领料出库
...@@ -53,7 +53,8 @@ const keytoval = { ...@@ -53,7 +53,8 @@ const keytoval = {
}, },
] ]
function Instore(props) { function Outstore(props) {
const { initialState, setInitialState } = useModel("@@initialState");
const [activeTabKey, onTabChange] = useState("1"); const [activeTabKey, onTabChange] = useState("1");
let [drawprops, setdrawprops] = useState({ let [drawprops, setdrawprops] = useState({
title: "", title: "",
...@@ -65,7 +66,7 @@ function Instore(props) { ...@@ -65,7 +66,7 @@ function Instore(props) {
})) }))
}, },
fields: {}, fields: {},
width:1200 width: 1200
}), }),
actionRef = useRef(), actionRef = useRef(),
ChildRef = null, ChildRef = null,
...@@ -174,8 +175,8 @@ function Instore(props) { ...@@ -174,8 +175,8 @@ function Instore(props) {
"dataIndex": "createTime", "dataIndex": "createTime",
"key": "createTime", "key": "createTime",
"valueType": "dateRange", "valueType": "dateRange",
formItemProps:{ formItemProps: {
name:"createTimeList" name: "createTimeList"
} }
}, },
{ {
...@@ -201,7 +202,7 @@ function Instore(props) { ...@@ -201,7 +202,7 @@ function Instore(props) {
"render": (text, record, _, action) => { "render": (text, record, _, action) => {
return [ return [
getPrem("equipmentCustomer_save", action, '下架采集', async () => { getPrem("equipmentCustomer_save", action, '下架采集', async () => {
let extra = defaultFields.dooutside(record.id,record.storeId); let extra = defaultFields.dooutside(record.id, record.storeId);
setdrawprops(s => ({ setdrawprops(s => ({
...s, ...s,
visible: true, visible: true,
...@@ -211,9 +212,14 @@ function Instore(props) { ...@@ -211,9 +212,14 @@ function Instore(props) {
...extra, ...extra,
totalPath: "/ngic-workmanship/wmsMaterieOutstore/getOutStoreInfoById", totalPath: "/ngic-workmanship/wmsMaterieOutstore/getOutStoreInfoById",
totalParams: { id: record.id }, totalParams: { id: record.id },
extra:null extra: null
})) }))
setInitialState(s => {
return ({
...s,
submits: {}
})
})
}), }),
getPrem("equipmentCustomer_deleteById", action, '关单', null, { getPrem("equipmentCustomer_deleteById", action, '关单', null, {
title: "确认关单?", title: "确认关单?",
...@@ -317,8 +323,8 @@ function Instore(props) { ...@@ -317,8 +323,8 @@ function Instore(props) {
"dataIndex": "createTime", "dataIndex": "createTime",
"key": "createTime", "key": "createTime",
"valueType": "dateRange", "valueType": "dateRange",
formItemProps:{ formItemProps: {
name:"createTimeList" name: "createTimeList"
} }
}, },
{ {
...@@ -326,8 +332,8 @@ function Instore(props) { ...@@ -326,8 +332,8 @@ function Instore(props) {
"dataIndex": "closeTime", "dataIndex": "closeTime",
"key": "closeTime", "key": "closeTime",
"valueType": "dateRange", "valueType": "dateRange",
formItemProps:{ formItemProps: {
name:"closeTimeList" name: "closeTimeList"
} }
}, },
{ {
...@@ -361,7 +367,7 @@ function Instore(props) { ...@@ -361,7 +367,7 @@ function Instore(props) {
fields: defaultFields[e.key], fields: defaultFields[e.key],
outstoreType: keytoval[e.key], outstoreType: keytoval[e.key],
val: "add", //类型 val: "add", //类型
extra:null extra: null
})) }))
}} }}
items={items} items={items}
...@@ -397,8 +403,9 @@ function Instore(props) { ...@@ -397,8 +403,9 @@ function Instore(props) {
{...drawprops} {...drawprops}
submitData={async (value) => { submitData={async (value) => {
if (drawprops.val == "add") { if (drawprops.val == "add") {
value.materialList = value.materialList?.map(it=>{ value.materialList = value.materialList?.map(it => {
delete it.usableNum; delete it.usableNum;
delete it.id;
return it return it
})//usableNum })//usableNum
let res = await doFetch({ url: "/ngic-workmanship/wmsMaterieOutstore/saveOutStore", params: { ...value, outstoreType: drawprops.outstoreType } }) let res = await doFetch({ url: "/ngic-workmanship/wmsMaterieOutstore/saveOutStore", params: { ...value, outstoreType: drawprops.outstoreType } })
...@@ -412,4 +419,4 @@ function Instore(props) { ...@@ -412,4 +419,4 @@ function Instore(props) {
); );
} }
export default Instore; export default Outstore;
\ No newline at end of file \ No newline at end of file
...@@ -182,7 +182,7 @@ const Deviceprovide = (props) => { ...@@ -182,7 +182,7 @@ const Deviceprovide = (props) => {
}} }}
okText="确定" okText="确定"
cancelText="取消" cancelText="取消"
disabled={!getPrem("equipmentSupplier_updatestatus", "ifs") || row.sourceType==1} disabled={!getPrem("equipmentSupplier_updatestatus", "ifs") || row.sourceType == 1}
> >
< Switch checked={row.status == 1 ? true : false} checkedChildren="开启" unCheckedChildren="关闭" defaultChecked={false} /> < Switch checked={row.status == 1 ? true : false} checkedChildren="开启" unCheckedChildren="关闭" defaultChecked={false} />
</Popconfirm> </Popconfirm>
...@@ -217,7 +217,7 @@ const Deviceprovide = (props) => { ...@@ -217,7 +217,7 @@ const Deviceprovide = (props) => {
key: "edit" key: "edit"
}); });
}), }),
getPrem("equipmentSupplier_deleteById", action, '删除', null, { record.sourceType != 1 && getPrem("equipmentSupplier_deleteById", action, '删除', null, {
title: "确认删除该供应商?", title: "确认删除该供应商?",
onConfirm: () => { onConfirm: () => {
run({ url: "/ngic-auth/sysSupplier/deleteById", params: { id: record.id } }) run({ url: "/ngic-auth/sysSupplier/deleteById", params: { id: record.id } })
...@@ -277,9 +277,9 @@ const Deviceprovide = (props) => { ...@@ -277,9 +277,9 @@ const Deviceprovide = (props) => {
let data = res?.data?.data || {}; let data = res?.data?.data || {};
for (let i in defaultFields) { for (let i in defaultFields) {
defaultFields[i].value = data[i]; defaultFields[i].value = data[i];
if (i == "status" && curitem.sourceType==1) { if (i == "status" && curitem.sourceType == 1) {
defaultFields[i].disabled = true; defaultFields[i].disabled = true;
}else{ } else {
defaultFields[i].disabled = false; defaultFields[i].disabled = false;
} }
} }
......
...@@ -25,32 +25,24 @@ const initState = { ...@@ -25,32 +25,24 @@ const initState = {
}, },
sendToArr = [ sendToArr = [
{ {
"label": "指定人员", "label": "可操作人员",
"value": 1 "value": 1
}, },
{
"label": "可指定人员",
"value": 2
},
{ {
"label": "创建人", "label": "创建人",
"value": 3 "value": 2
},
{
"label": "(指定人员)上级领导",
"value": 4
}, },
{ {
"label": "(上个通知人员)上级领导", "label": "(上个通知人员)上级领导",
"value": 5 "value": 3
}, },
{ {
"label": "选择角色", "label": "选择角色",
"value": 6 "value": 4
}, },
{ {
"label": "选择人员", "label": "选择人员",
"value": 7 "value": 5
} }
], ],
unitArr = [ unitArr = [
...@@ -359,7 +351,7 @@ const Formpage = (props) => { ...@@ -359,7 +351,7 @@ const Formpage = (props) => {
for (let j in tableField) { for (let j in tableField) {
tableField[j].value = record[j]; tableField[j].value = record[j];
if (j == "targetIdList") { if (j == "targetIdList") {
if (record.sendTo != 6 && record.sendTo != 7) { if (record.sendTo != 4 && record.sendTo != 5) {
tableField[j].hides = true tableField[j].hides = true
} else { } else {
let database = getformdatabase(record.sendTo) let database = getformdatabase(record.sendTo)
...@@ -392,12 +384,12 @@ const Formpage = (props) => { ...@@ -392,12 +384,12 @@ const Formpage = (props) => {
const { sendTo, targetIdList, sendProcess, initialUnit, initialTime, intervalTime, intervalUnit, sendNum } = values; const { sendTo, targetIdList, sendProcess, initialUnit, initialTime, intervalTime, intervalUnit, sendNum } = values;
let targetNames = []; let targetNames = [];
let all = async () => { let all = async () => {
if (sendTo == 6) { if (sendTo == 4) {
let data = await roleList({}); let data = await roleList({});
return { return {
newArr: data?.data?.dataList || [] newArr: data?.data?.dataList || []
} }
} else if (sendTo == 7) { } else if (sendTo == 5) {
let data = await currentUserList({}); let data = await currentUserList({});
return { return {
newArr: data?.data?.dataList || [] newArr: data?.data?.dataList || []
...@@ -528,10 +520,10 @@ const Formpage = (props) => { ...@@ -528,10 +520,10 @@ const Formpage = (props) => {
function getformdatabase(val) { function getformdatabase(val) {
let database; let database;
switch (val) { switch (val) {
case 6: case 4:
database = roleList database = roleList
break; break;
case 7: case 5:
database = currentUserList database = currentUserList
break; break;
...@@ -649,7 +641,7 @@ const Formpage = (props) => { ...@@ -649,7 +641,7 @@ const Formpage = (props) => {
if (j == "targetIdList") { if (j == "targetIdList") {
tableFormRef.setFieldsValue({ "targetIdList": [] }); tableFormRef.setFieldsValue({ "targetIdList": [] });
tableField[j].value = []; tableField[j].value = [];
if (changedValues[i] != 6 && changedValues[i] != 7) { if (changedValues[i] != 4 && changedValues[i] != 5) {
tableField[j].hides = true tableField[j].hides = true
} else { } else {
let database = getformdatabase(changedValues[i]); let database = getformdatabase(changedValues[i]);
......
...@@ -127,32 +127,24 @@ tableField={ ...@@ -127,32 +127,24 @@ tableField={
"required": true, "required": true,
"options": [ "options": [
{ {
"label": "指定人员", "label": "可操作人员",
"value": 1 "value": 1
}, },
{
"label": "可指定人员",
"value": 2
},
{ {
"label": "创建人", "label": "创建人",
"value": 3 "value": 2
},
{
"label": "(指定人员)上级领导",
"value": 4
}, },
{ {
"label": "(上个通知人员)上级领导", "label": "(上个通知人员)上级领导",
"value": 5 "value": 3
}, },
{ {
"label": "选择角色", "label": "选择角色",
"value": 6 "value": 4
}, },
{ {
"label": "选择人员", "label": "选择人员",
"value": 7 "value": 5
} }
] ]
}, },
......
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