kts-component-invoice-operate 3.2.247 → 3.2.249
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.d.ts +2 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.d.ts +6 -0
- package/dist/Invoice/ui/default/MeiTanModal/index.d.ts +4 -0
- package/dist/index.esm.js +330 -17
- package/dist/index.js +329 -16
- package/package.json +1 -1
- package/src/Invoice/Invoice-digtal/_test/importGoods/index.tsx +713 -1
- package/src/Invoice/Invoice-digtal/index.md +6 -7
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.ts +2 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +17 -1
- package/src/Invoice/InvoiceController/fns/importGoodsDrawer.ts +9 -2
- package/src/Invoice/_test/importGoods/index.tsx +180 -57
- package/src/Invoice/index.md +5 -5
- package/src/Invoice/index.tsx +3 -0
- package/src/Invoice/ui/default/EndowCodeDrawer/index.tsx +23 -15
- package/src/Invoice/ui/default/ImportGoodsDrawer/index.tsx +7 -1
- package/src/Invoice/ui/default/MeiTanModal/index.less +40 -0
- package/src/Invoice/ui/default/MeiTanModal/index.tsx +166 -0
package/dist/index.js
CHANGED
|
@@ -1186,6 +1186,40 @@ var GoodsListState = /*#__PURE__*/_createClass(function GoodsListState() {
|
|
|
1186
1186
|
this.addComparisonIndex = void 0;
|
|
1187
1187
|
this.drag = new Drag();
|
|
1188
1188
|
this.isValidateGood = true;
|
|
1189
|
+
this.isValidateMeiTan = true;
|
|
1190
|
+
this.meiTanGoodIndex = [];
|
|
1191
|
+
|
|
1192
|
+
this.verifyMeiTanFn = /*#__PURE__*/function () {
|
|
1193
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(record) {
|
|
1194
|
+
var taxClassificationCode;
|
|
1195
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
1196
|
+
while (1) {
|
|
1197
|
+
switch (_context.prev = _context.next) {
|
|
1198
|
+
case 0:
|
|
1199
|
+
taxClassificationCode = record.taxClassificationCode;
|
|
1200
|
+
|
|
1201
|
+
if (!(taxClassificationCode === '1020101000000000000' || taxClassificationCode === '1020102000000000000' || taxClassificationCode === '1020199000000000000')) {
|
|
1202
|
+
_context.next = 3;
|
|
1203
|
+
break;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
return _context.abrupt("return", true);
|
|
1207
|
+
|
|
1208
|
+
case 3:
|
|
1209
|
+
return _context.abrupt("return", false);
|
|
1210
|
+
|
|
1211
|
+
case 4:
|
|
1212
|
+
case "end":
|
|
1213
|
+
return _context.stop();
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
}, _callee);
|
|
1217
|
+
}));
|
|
1218
|
+
|
|
1219
|
+
return function (_x) {
|
|
1220
|
+
return _ref.apply(this, arguments);
|
|
1221
|
+
};
|
|
1222
|
+
}();
|
|
1189
1223
|
});
|
|
1190
1224
|
|
|
1191
1225
|
var FreightListState = /*#__PURE__*/_createClass(function FreightListState() {
|
|
@@ -10270,7 +10304,8 @@ var importGoodsDrawer = /*#__PURE__*/(function () {
|
|
|
10270
10304
|
between.lineAmountIncludeTax = record.lineAmountIncludeTax;
|
|
10271
10305
|
between.lineAmountExcludeTax = record.lineAmountExcludeTax;
|
|
10272
10306
|
between.taxRate = record.taxRate;
|
|
10273
|
-
between.taxAmount = record.taxAmount;
|
|
10307
|
+
between.taxAmount = record.taxAmount;
|
|
10308
|
+
between.mtzlDm = undefined; // 设置编辑货物
|
|
10274
10309
|
|
|
10275
10310
|
editGood = s.goodsListState.editGood = _objectSpread2(_objectSpread2({}, s.goodsListState.editGood), between);
|
|
10276
10311
|
|
|
@@ -10301,22 +10336,41 @@ var importGoodsDrawer = /*#__PURE__*/(function () {
|
|
|
10301
10336
|
|
|
10302
10337
|
|
|
10303
10338
|
if (!s.goodsListState.isTaxIncluded) {
|
|
10304
|
-
_context.next =
|
|
10339
|
+
_context.next = 30;
|
|
10305
10340
|
break;
|
|
10306
10341
|
}
|
|
10307
10342
|
|
|
10308
|
-
_context.next =
|
|
10343
|
+
_context.next = 28;
|
|
10309
10344
|
return updateUnitPriceExcludingTax(controller, s.goodsListState.form, record);
|
|
10310
10345
|
|
|
10311
|
-
case
|
|
10312
|
-
_context.next =
|
|
10346
|
+
case 28:
|
|
10347
|
+
_context.next = 32;
|
|
10313
10348
|
break;
|
|
10314
10349
|
|
|
10315
|
-
case
|
|
10316
|
-
_context.next =
|
|
10350
|
+
case 30:
|
|
10351
|
+
_context.next = 32;
|
|
10317
10352
|
return updateUnitPriceTax(controller, s.goodsListState.form, record);
|
|
10318
10353
|
|
|
10319
|
-
case
|
|
10354
|
+
case 32:
|
|
10355
|
+
if (!s.goodsListState.isValidateMeiTan) {
|
|
10356
|
+
_context.next = 38;
|
|
10357
|
+
break;
|
|
10358
|
+
}
|
|
10359
|
+
|
|
10360
|
+
_context.next = 35;
|
|
10361
|
+
return s.goodsListState.verifyMeiTanFn(record);
|
|
10362
|
+
|
|
10363
|
+
case 35:
|
|
10364
|
+
_context.t0 = _context.sent;
|
|
10365
|
+
|
|
10366
|
+
if (!(_context.t0 === true)) {
|
|
10367
|
+
_context.next = 38;
|
|
10368
|
+
break;
|
|
10369
|
+
}
|
|
10370
|
+
|
|
10371
|
+
s.goodsListState.meiTanGoodIndex = [editGood.$index];
|
|
10372
|
+
|
|
10373
|
+
case 38:
|
|
10320
10374
|
case "end":
|
|
10321
10375
|
return _context.stop();
|
|
10322
10376
|
}
|
|
@@ -29876,7 +29930,8 @@ var DrawerBody$2 = function DrawerBody() {
|
|
|
29876
29930
|
|
|
29877
29931
|
editGood = s.goodsListState.editGood = _objectSpread2(_objectSpread2({}, s.goodsListState.editGood), {}, {
|
|
29878
29932
|
itemModelName: undefined,
|
|
29879
|
-
itemModelNameSelf: undefined
|
|
29933
|
+
itemModelNameSelf: undefined,
|
|
29934
|
+
mtzlDm: undefined
|
|
29880
29935
|
}, between);
|
|
29881
29936
|
|
|
29882
29937
|
if (editGood.taxRate) {
|
|
@@ -29926,6 +29981,25 @@ var DrawerBody$2 = function DrawerBody() {
|
|
|
29926
29981
|
return updateUnitPriceTax(controller, s.goodsListState.form, record);
|
|
29927
29982
|
|
|
29928
29983
|
case 28:
|
|
29984
|
+
if (!s.goodsListState.isValidateMeiTan) {
|
|
29985
|
+
_context2.next = 34;
|
|
29986
|
+
break;
|
|
29987
|
+
}
|
|
29988
|
+
|
|
29989
|
+
_context2.next = 31;
|
|
29990
|
+
return s.goodsListState.verifyMeiTanFn(record);
|
|
29991
|
+
|
|
29992
|
+
case 31:
|
|
29993
|
+
_context2.t1 = _context2.sent;
|
|
29994
|
+
|
|
29995
|
+
if (!(_context2.t1 === true)) {
|
|
29996
|
+
_context2.next = 34;
|
|
29997
|
+
break;
|
|
29998
|
+
}
|
|
29999
|
+
|
|
30000
|
+
s.goodsListState.meiTanGoodIndex = [editGood.$index];
|
|
30001
|
+
|
|
30002
|
+
case 34:
|
|
29929
30003
|
case "end":
|
|
29930
30004
|
return _context2.stop();
|
|
29931
30005
|
}
|
|
@@ -30812,7 +30886,9 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
30812
30886
|
good.taxRate = values.taxRate;
|
|
30813
30887
|
good.taxFreeType = values.taxFreeType;
|
|
30814
30888
|
good.favouredPolicyMark = values.favouredPolicyMark;
|
|
30815
|
-
good.favouredPolicyName = values.favouredPolicyName;
|
|
30889
|
+
good.favouredPolicyName = values.favouredPolicyName;
|
|
30890
|
+
good.mtzlDm = undefined; //设置成空
|
|
30891
|
+
// 无论是否含税,都保持价税合计不变
|
|
30816
30892
|
|
|
30817
30893
|
good.taxAmount = countTaxAmount(good.lineAmountIncludeTax || 0, s.goodsListState.deduction, values.taxRate);
|
|
30818
30894
|
|
|
@@ -30827,10 +30903,30 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
30827
30903
|
|
|
30828
30904
|
good.goodsTaxRateList = goodsTaxRateList;
|
|
30829
30905
|
});
|
|
30830
|
-
s.goodsListState.goodsList = s.goodsListState.goodsList.slice();
|
|
30906
|
+
s.goodsListState.goodsList = s.goodsListState.goodsList.slice(); // 煤炭类判断
|
|
30907
|
+
|
|
30908
|
+
if (!s.goodsListState.isValidateMeiTan) {
|
|
30909
|
+
_context15.next = 9;
|
|
30910
|
+
break;
|
|
30911
|
+
}
|
|
30912
|
+
|
|
30913
|
+
_context15.next = 6;
|
|
30914
|
+
return s.goodsListState.verifyMeiTanFn(values);
|
|
30915
|
+
|
|
30916
|
+
case 6:
|
|
30917
|
+
_context15.t0 = _context15.sent;
|
|
30918
|
+
|
|
30919
|
+
if (!(_context15.t0 === true)) {
|
|
30920
|
+
_context15.next = 9;
|
|
30921
|
+
break;
|
|
30922
|
+
}
|
|
30923
|
+
|
|
30924
|
+
s.goodsListState.meiTanGoodIndex = s.goodsListState.endowCode.endowcodeGoodIndex.slice();
|
|
30925
|
+
|
|
30926
|
+
case 9:
|
|
30831
30927
|
s.goodsListState.endowCode.endowcodeGoodIndex = [];
|
|
30832
30928
|
|
|
30833
|
-
case
|
|
30929
|
+
case 10:
|
|
30834
30930
|
case "end":
|
|
30835
30931
|
return _context15.stop();
|
|
30836
30932
|
}
|
|
@@ -31200,6 +31296,223 @@ function AddComparisonDrawer() {
|
|
|
31200
31296
|
// })
|
|
31201
31297
|
// }
|
|
31202
31298
|
|
|
31299
|
+
var css_248z$A = ".kts-invoice-operate-meitan-modal {\n display: flex;\n flex-direction: column;\n}\n.kts-invoice-operate-meitan-modal .kts-invoice-operate-meitan-title {\n line-height: 30px;\n}\n.kts-invoice-operate-meitan-modal .kts-invoice-operate-meitan-title .kts-invoice-operate-meitan-title2 {\n margin-left: 24px;\n}\n.kts-invoice-operate-meitan-modal .kts-invoice-operate-meitan-content {\n margin-top: 20px;\n padding: 20px;\n background-color: #f9fafd;\n}\n.kts-invoice-operate-meitan-modal .kts-invoice-operate-meitan-content .content-item {\n background-color: #fff;\n margin: 20px 24px;\n padding: 20px;\n}\n.kts-invoice-operate-meitan-modal .ktsAntX-space-item {\n margin: 5px 0;\n}\n.kts-invoice-operate-meitan-modal .ktsAntX-form-item-explain {\n margin-top: 20px;\n}\n.kts-invoice-operate-meitan-button {\n display: flex!important;\n justify-content: center;\n align-items: center;\n padding: 2px 20px!important;\n}\n";
|
|
31300
|
+
styleInject(css_248z$A);
|
|
31301
|
+
|
|
31302
|
+
var MeiTanModal = (function () {
|
|
31303
|
+
var controller = Invoice.useInvoiceController();
|
|
31304
|
+
|
|
31305
|
+
var _Form$useForm = ktsComponentsAntdX4.Form.useForm(),
|
|
31306
|
+
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
31307
|
+
form = _Form$useForm2[0];
|
|
31308
|
+
|
|
31309
|
+
var _React$useState = React__default['default'].useState(null),
|
|
31310
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
31311
|
+
mainOption = _React$useState2[0],
|
|
31312
|
+
setMainOption = _React$useState2[1];
|
|
31313
|
+
|
|
31314
|
+
var _React$useState3 = React__default['default'].useState(null),
|
|
31315
|
+
_React$useState4 = _slicedToArray(_React$useState3, 2),
|
|
31316
|
+
subOption = _React$useState4[0],
|
|
31317
|
+
setSubOption = _React$useState4[1]; // 监听煤炭种类变化
|
|
31318
|
+
|
|
31319
|
+
|
|
31320
|
+
var mtzlDm = ktsComponentsAntdX4.Form.useWatch('mtzlDm', form);
|
|
31321
|
+
var visible = controller.useMemo(function (s) {
|
|
31322
|
+
return s.goodsListState.meiTanGoodIndex && s.goodsListState.meiTanGoodIndex.length > 0;
|
|
31323
|
+
}, []);
|
|
31324
|
+
var onClose = React__default['default'].useCallback(function () {
|
|
31325
|
+
controller.pipeline( /*#__PURE__*/function () {
|
|
31326
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(s) {
|
|
31327
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
31328
|
+
while (1) {
|
|
31329
|
+
switch (_context.prev = _context.next) {
|
|
31330
|
+
case 0:
|
|
31331
|
+
s.goodsListState.meiTanGoodIndex = [];
|
|
31332
|
+
form.setFieldsValue({
|
|
31333
|
+
mtzlDm: undefined
|
|
31334
|
+
});
|
|
31335
|
+
setMainOption(null);
|
|
31336
|
+
setSubOption(null);
|
|
31337
|
+
|
|
31338
|
+
case 4:
|
|
31339
|
+
case "end":
|
|
31340
|
+
return _context.stop();
|
|
31341
|
+
}
|
|
31342
|
+
}
|
|
31343
|
+
}, _callee);
|
|
31344
|
+
}));
|
|
31345
|
+
|
|
31346
|
+
return function (_x) {
|
|
31347
|
+
return _ref.apply(this, arguments);
|
|
31348
|
+
};
|
|
31349
|
+
}())();
|
|
31350
|
+
}, [controller]); // 提交表单
|
|
31351
|
+
|
|
31352
|
+
var onSubmit = function onSubmit() {
|
|
31353
|
+
form.submit();
|
|
31354
|
+
}; // 表单
|
|
31355
|
+
|
|
31356
|
+
|
|
31357
|
+
var onFinish = function onFinish(values) {
|
|
31358
|
+
// console.log('煤炭种类:', values);
|
|
31359
|
+
controller.pipeline( /*#__PURE__*/function () {
|
|
31360
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(s) {
|
|
31361
|
+
var _s$goodsListState$mei;
|
|
31362
|
+
|
|
31363
|
+
var mtzl, goods, editGood, editGoodIndex;
|
|
31364
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
31365
|
+
while (1) {
|
|
31366
|
+
switch (_context2.prev = _context2.next) {
|
|
31367
|
+
case 0:
|
|
31368
|
+
mtzl = subOption || mainOption || undefined; //values.mtzlDm;
|
|
31369
|
+
|
|
31370
|
+
console.log('煤炭种类', mtzl);
|
|
31371
|
+
goods = ((_s$goodsListState$mei = s.goodsListState.meiTanGoodIndex) === null || _s$goodsListState$mei === void 0 ? void 0 : _s$goodsListState$mei.map(function (e) {
|
|
31372
|
+
return s.goodsListState.goodsMap.get(e);
|
|
31373
|
+
})) || [];
|
|
31374
|
+
editGood = s.goodsListState.editGood;
|
|
31375
|
+
editGoodIndex = editGood === null || editGood === void 0 ? void 0 : editGood.$index;
|
|
31376
|
+
goods.forEach(function (g) {
|
|
31377
|
+
if (!g) return;
|
|
31378
|
+
|
|
31379
|
+
if (g.lineAttribute === LineAttributeType$1.被折扣行 || g.lineAttribute === LineAttributeType$1.正常) {
|
|
31380
|
+
g.mtzlDm = mtzl;
|
|
31381
|
+
|
|
31382
|
+
if (editGood && editGoodIndex === g.$index) {
|
|
31383
|
+
// 编辑行
|
|
31384
|
+
editGood.mtzlDm = mtzl;
|
|
31385
|
+
}
|
|
31386
|
+
}
|
|
31387
|
+
});
|
|
31388
|
+
s.goodsListState.goodsList = s.goodsListState.goodsList.slice();
|
|
31389
|
+
onClose();
|
|
31390
|
+
|
|
31391
|
+
case 8:
|
|
31392
|
+
case "end":
|
|
31393
|
+
return _context2.stop();
|
|
31394
|
+
}
|
|
31395
|
+
}
|
|
31396
|
+
}, _callee2);
|
|
31397
|
+
}));
|
|
31398
|
+
|
|
31399
|
+
return function (_x2) {
|
|
31400
|
+
return _ref2.apply(this, arguments);
|
|
31401
|
+
};
|
|
31402
|
+
}())();
|
|
31403
|
+
}; // 自定义校验规则
|
|
31404
|
+
|
|
31405
|
+
|
|
31406
|
+
var validateOption = function validateOption(_, value, callback) {
|
|
31407
|
+
console.log('自定义校验规则:', value);
|
|
31408
|
+
|
|
31409
|
+
if (!value) {
|
|
31410
|
+
return Promise.reject(new Error('请选择选项')); // callback('请选择选项');
|
|
31411
|
+
}
|
|
31412
|
+
|
|
31413
|
+
if (value === '0200' && !subOption) {
|
|
31414
|
+
return Promise.reject(new Error('请选择长协煤的子选项'));
|
|
31415
|
+
}
|
|
31416
|
+
|
|
31417
|
+
return Promise.resolve();
|
|
31418
|
+
};
|
|
31419
|
+
|
|
31420
|
+
var handleMainOptionChange = function handleMainOptionChange(e) {
|
|
31421
|
+
var value = e.target.value;
|
|
31422
|
+
setMainOption(value);
|
|
31423
|
+
|
|
31424
|
+
if (value === '0100' || value === '0300') {
|
|
31425
|
+
//form.setFieldsValue({ mtzlDm: value });
|
|
31426
|
+
setSubOption(null);
|
|
31427
|
+
}
|
|
31428
|
+
};
|
|
31429
|
+
|
|
31430
|
+
var handleSubOptionChange = function handleSubOptionChange(e) {
|
|
31431
|
+
var value = e.target.value;
|
|
31432
|
+
setSubOption(value);
|
|
31433
|
+
form.validateFields();
|
|
31434
|
+
};
|
|
31435
|
+
|
|
31436
|
+
return /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Modal, {
|
|
31437
|
+
title: "\u6E29\u99A8\u63D0\u793A",
|
|
31438
|
+
destroyOnClose: true,
|
|
31439
|
+
width: 700,
|
|
31440
|
+
onCancel: onClose,
|
|
31441
|
+
visible: visible,
|
|
31442
|
+
footer: /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Space, {
|
|
31443
|
+
align: 'end',
|
|
31444
|
+
style: {
|
|
31445
|
+
paddingRight: 20
|
|
31446
|
+
}
|
|
31447
|
+
}, /*#__PURE__*/React__default['default'].createElement(ktsXui.Button, {
|
|
31448
|
+
onClick: onClose,
|
|
31449
|
+
className: 'kts-invoice-operate-meitan-button'
|
|
31450
|
+
}, "\u53D6\u6D88"), /*#__PURE__*/React__default['default'].createElement(ktsXui.Button, {
|
|
31451
|
+
type: "primary",
|
|
31452
|
+
onClick: onSubmit,
|
|
31453
|
+
className: 'kts-invoice-operate-meitan-button'
|
|
31454
|
+
}, "\u786E\u5B9A"))
|
|
31455
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
31456
|
+
className: 'kts-invoice-operate-meitan-modal'
|
|
31457
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
31458
|
+
className: 'kts-invoice-operate-meitan-title'
|
|
31459
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", null, "\u5C0A\u656C\u7684\u7EB3\u7A0E\u4EBA:"), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
31460
|
+
className: 'kts-invoice-operate-meitan-title2'
|
|
31461
|
+
}, "\u60A8\u9009\u62E9\u4E86\u201C\u7164\u70AD\u201D\u7C7B\u5546\u54C1\u7F16\u7801\uFF0C\u8BF7\u6839\u636E\u771F\u5B9E\u4E1A\u52A1\u60C5\u51B5\u9009\u62E9 \u201C\u7164\u70AD\u79CD\u7C7B\u201D\uFF1A")), /*#__PURE__*/React__default['default'].createElement("div", {
|
|
31462
|
+
className: 'kts-invoice-operate-meitan-content'
|
|
31463
|
+
}, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Form, {
|
|
31464
|
+
form: form,
|
|
31465
|
+
layout: "vertical",
|
|
31466
|
+
initialValues: {
|
|
31467
|
+
mtzlDm: null
|
|
31468
|
+
},
|
|
31469
|
+
onFinish: onFinish
|
|
31470
|
+
}, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Form.Item, {
|
|
31471
|
+
name: "mtzlDm",
|
|
31472
|
+
label: "",
|
|
31473
|
+
rules: [// { required: true , message: '请选择煤炭种类' },
|
|
31474
|
+
{
|
|
31475
|
+
validator: validateOption
|
|
31476
|
+
}]
|
|
31477
|
+
}, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Radio.Group, {
|
|
31478
|
+
value: mainOption,
|
|
31479
|
+
onChange: handleMainOptionChange
|
|
31480
|
+
}, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Space, {
|
|
31481
|
+
direction: "vertical"
|
|
31482
|
+
}, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Radio, {
|
|
31483
|
+
value: "0100"
|
|
31484
|
+
}, "\u653F\u5E9C\u4FDD\u4F9B\u7164"), /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Radio, {
|
|
31485
|
+
value: "0200"
|
|
31486
|
+
}, "\u957F\u534F\u7164"), mainOption === '0200' && /*#__PURE__*/React__default['default'].createElement("div", {
|
|
31487
|
+
className: 'content-item'
|
|
31488
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
31489
|
+
style: {
|
|
31490
|
+
marginBottom: 8,
|
|
31491
|
+
color: '#666',
|
|
31492
|
+
fontSize: 14
|
|
31493
|
+
}
|
|
31494
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
31495
|
+
style: {
|
|
31496
|
+
color: 'red'
|
|
31497
|
+
}
|
|
31498
|
+
}, "*"), "\u8BF7\u9009\u62E9\u534F\u8BAE\u671F\u9650\uFF1A"), /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Radio.Group, {
|
|
31499
|
+
value: subOption,
|
|
31500
|
+
onChange: handleSubOptionChange
|
|
31501
|
+
}, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Space, {
|
|
31502
|
+
direction: "vertical"
|
|
31503
|
+
}, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Radio, {
|
|
31504
|
+
value: "0201"
|
|
31505
|
+
}, "\u534F\u8BAE\u671F\u4E0D\u8DB3\u534A\u5E74"), /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Radio, {
|
|
31506
|
+
value: "0202"
|
|
31507
|
+
}, "\u534F\u8BAE\u671F\u5728\u534A\u5E74\u81F3\u4E00\u5E74\u4E4B\u95F4"), /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Radio, {
|
|
31508
|
+
value: "0203"
|
|
31509
|
+
}, "\u534F\u8BAE\u671F\u5728\u4E00\u5E74\u81F3\u4E24\u5E74\u4E4B\u95F4"), /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Radio, {
|
|
31510
|
+
value: "0204"
|
|
31511
|
+
}, "\u534F\u8BAE\u671F\u5728\u4E24\u5E74\u4EE5\u4E0A"))))), /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX4.Radio, {
|
|
31512
|
+
value: "0300"
|
|
31513
|
+
}, "\u5E02\u573A\u7164"))))))));
|
|
31514
|
+
});
|
|
31515
|
+
|
|
31203
31516
|
// const config = {
|
|
31204
31517
|
// number: 'BigNumber',
|
|
31205
31518
|
// precision: 64,
|
|
@@ -31343,7 +31656,7 @@ var Main$6 = function Main(props) {
|
|
|
31343
31656
|
/** 销售方 */
|
|
31344
31657
|
, props.sign || /*#__PURE__*/React__default['default'].createElement(Sign, null)
|
|
31345
31658
|
/** 落款 */
|
|
31346
|
-
, props.footExpand), /*#__PURE__*/React__default['default'].createElement(ImportBuyerDrawer, null), /*#__PURE__*/React__default['default'].createElement(ImportGoodsDrawer, null), /*#__PURE__*/React__default['default'].createElement(EndowCodeDrawer, null), /*#__PURE__*/React__default['default'].createElement(AddComparisonDrawer, null));
|
|
31659
|
+
, props.footExpand), /*#__PURE__*/React__default['default'].createElement(ImportBuyerDrawer, null), /*#__PURE__*/React__default['default'].createElement(ImportGoodsDrawer, null), /*#__PURE__*/React__default['default'].createElement(EndowCodeDrawer, null), /*#__PURE__*/React__default['default'].createElement(AddComparisonDrawer, null), /*#__PURE__*/React__default['default'].createElement(MeiTanModal, null), " ");
|
|
31347
31660
|
};
|
|
31348
31661
|
/** 数电 */
|
|
31349
31662
|
|
|
@@ -31399,11 +31712,11 @@ var Digtal = function Digtal(props) {
|
|
|
31399
31712
|
/** 特殊信息 */
|
|
31400
31713
|
, props.sign || /*#__PURE__*/React__default['default'].createElement(SignDigtal, null)
|
|
31401
31714
|
/** 落款 */
|
|
31402
|
-
), /*#__PURE__*/React__default['default'].createElement(ImportGoodsDrawer, null), /*#__PURE__*/React__default['default'].createElement(EndowCodeDrawer, null));
|
|
31715
|
+
), /*#__PURE__*/React__default['default'].createElement(ImportGoodsDrawer, null), /*#__PURE__*/React__default['default'].createElement(EndowCodeDrawer, null), /*#__PURE__*/React__default['default'].createElement(MeiTanModal, null), " ");
|
|
31403
31716
|
};
|
|
31404
31717
|
|
|
31405
|
-
var css_248z$
|
|
31406
|
-
styleInject(css_248z$
|
|
31718
|
+
var css_248z$B = ".taxdetailsbox {\n display: flex;\n justify-content: flex-start;\n flex-direction: row;\n}\n.taxdetailsbox .taxrightbox {\n width: 340px;\n position: absolute;\n right: 30px;\n top: 79px;\n bottom: 50px;\n min-height: 300px;\n}\n.taxdetailsbox .taxrightbox .taxdesc {\n height: calc(100vh - 323px);\n min-height: 105px;\n overflow: auto;\n}\n";
|
|
31719
|
+
styleInject(css_248z$B);
|
|
31407
31720
|
|
|
31408
31721
|
function TaxClassificationModal(props) {
|
|
31409
31722
|
var _props$info6;
|