Commit 8b4c208f authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

修改需求报价单的bug

parent 44fe2d02
......@@ -274,7 +274,7 @@ const Deatail: React.FC<{}> = () => {
useEffect(() => {
let _title = pageStatus === PageStatus.PREVIEW ? '查看' : id ? '编辑' : '新建'
setHeaderTitle(`${_title}物流单`)
PublicApi.getLogisticsSelectListCompany().then(res => {
PublicApi.getLogisticsSelectListCompany({cooperateType: 1}).then(res => {
let list = []
res.data.forEach(item => {
list.push({ value: item.id, label: item.name })
......
......@@ -622,8 +622,8 @@ const Detail: React.FC<{}> = () => {
//品类
if (data.productCategory) {
console.log(10086, '============')
setcustomerCategoryId([data.productCategory.id])
initCreatePro(data.productCategory.id, false)//生产弹窗
setcustomerCategoryId([data.productCategory.key])
initCreatePro(data.productCategory.key, false)//生产弹窗
}
......
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