From 2e5fe5427d6db393e0495598ff43d90a052f4791 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 28 四月 2024 14:06:42 +0800 Subject: [PATCH] 2024-04-28 --- src/menu/components/module/invoice/index.jsx | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/menu/components/module/invoice/index.jsx b/src/menu/components/module/invoice/index.jsx index 6902bb1..48d84b3 100644 --- a/src/menu/components/module/invoice/index.jsx +++ b/src/menu/components/module/invoice/index.jsx @@ -45,7 +45,7 @@ subtype: card.subtype, wrap: { name: '鍙戠エ', width: card.width || 24, datatype: 'static' }, style: { paddingLeft: '20px', paddingRight: '20px', paddingTop: '10px', paddingBottom: '10px' }, - setting: { interType: 'system' }, + setting: { interType: 'system', primaryKey: 'ID' }, columns: [], scripts: [], buyer: { @@ -105,6 +105,8 @@ // ['绋庣巼', 'tax_rate', 'Decimal(18,2)'], ['涓�鑸撼绋庝汉绋庣巼', 'general_tax_rate', 'Decimal(18,2)'], ['灏忚妯$撼绋庝汉寰佹敹鐜�', 'small_tax_rate', 'Decimal(18,2)'], + ['鏄惁浜彈浼樻儬鏀跨瓥', 'free_tax_mark'], + ['浼樻儬鏀跨瓥绫诲瀷', 'vat_special_management'], ] details.forEach((cell, index) => { @@ -112,6 +114,8 @@ }) let cols = [ + ['ID', 'ID'], + ['寮�绁ㄧ敵璇峰崟鍙�', 'io'], ['鍙戠エ绉嶇被', 'invoice_type'], ['璐拱鏂瑰悕绉�', 'from_to_name'], ['璐拱鏂圭◣鍙�', 'from_to_tax_no'], @@ -132,6 +136,7 @@ ['鏀舵浜�', 'payee'], ['澶嶆牳浜�', 'reviewer'], ['寮�绁ㄤ汉', 'drawer'], + ['琛屽彿', 'invoice_lp'], ['鍟嗗搧缂栫爜', 'productcode'], ['鍟嗗搧鍚嶇О', 'productname'], ['瑙勬牸鍨嬪彿', 'spec'], @@ -152,9 +157,6 @@ this.updateComponent(_card) } else { let _card = fromJS(card).toJS() - - // _card.billSaveBtn = _card.billSaveBtn || {type: 'billsave', intertype: 'system', label: '淇濆瓨鍗曟嵁'} - // _card.billOutBtn = _card.billOutBtn || {type: 'billout', intertype: 'custom', label: '鎻愪氦寮�绁�', procMode: 'system'} this.setState({ card: _card -- Gitblit v1.8.0