| | |
| | | if (!isNullOrEmpty(params['objParams'].value['CODE'])) { |
| | | sqlcmd += `And PROD_CODE = '${params['objParams'].value['CODE']}'`; |
| | | } |
| | | if (!isNullOrEmpty(params['selectedNodes'][0].cust)) { |
| | | sqlcmd += `And CUST_CODE = '${params['selectedNodes'][0].cust}'`; |
| | | } |
| | | sqlcmd += `And ISNULL(CUST_CODE, '') = ISNULL('${params['selectedNodes'][0].cust}', '')`; |
| | | |
| | | if (!isNullOrEmpty(params['selectedNodes'][0].id)) { |
| | | sqlcmd += |
| | | params['selectedNodes'][0].type == 'Action' |
| | |
| | | ItemColumns: TemplateBasColumn, //弹出框中表格字段结构 |
| | | schemas: [], //查询条件字段结构 |
| | | others: { WORK_ORDER: OrderNo }, //需要带到弹出窗口中的数据 |
| | | alertConfig: { |
| | | showAlert: false, |
| | | message: '销售订单备注', |
| | | description: '', |
| | | }, |
| | | searchInfo: { |
| | | TABLE_NAME: 'BAS_LABEL_VAR_WO', //实体名称 |
| | | LabelId: record.LABEL_CODE, //模板ID |
| | |
| | | const openCrudModal = args[0]; |
| | | // const OrderNo = args[2]; |
| | | const ProdCode = args[2]; |
| | | const WoRecord = args[4]; |
| | | openCrudModal(true, { |
| | | isUpdate: true, //是否更新操作 |
| | | entityName: 'ProdRouteBinding', //是哪个页面 |
| | |
| | | ItemColumns: TemplateBasColumn, //弹出框中表格字段结构 |
| | | schemas: [], //查询条件字段结构 |
| | | others: { WORK_ORDER: '', PROD_CODE: ProdCode }, //需要带到弹出窗口中的数据 |
| | | alertConfig: { |
| | | showAlert: false, |
| | | message: '销售订单备注', |
| | | description: '', |
| | | }, |
| | | searchInfo: { |
| | | TABLE_NAME: 'BAS_LABEL_VAR_WO', //实体名称 |
| | | LabelId: params['record'].LABEL_ID, //模板ID |