Commit 96ee62f7 authored by 前端-许佳敏's avatar 前端-许佳敏

修改订单时,不可修改下单模式

parent 39730bde
......@@ -47,7 +47,7 @@ export enum LAYOUT_TYPE {
export const isDev = process.env.NODE_ENV === "development"
// 暂时将权限访问关闭
// export const isDev = true
// export const isDev = false
export const Environment_Status = {
0: "所有",
......
......@@ -300,6 +300,13 @@ const PurchaseOrderDetail:React.FC<PurchaseOrderDetailProps> = (props) => {
TheInvoiceList
}}
effects={($, ctx) => {
if (id) {
ctx.setFieldState('orderModel', state => {
state.props["x-component-props"] = {
disabled: true
}
})
}
// 监听商品总价的变更, 此处逻辑需优化
$('sumPrice').subscribe(payload => {
setProductSumPrice(payload)
......
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