|
@@ -4902,7 +4902,7 @@ export const useHooks = (t?: any) => {
|
|
|
default: () => {
|
|
|
let rs = [];
|
|
|
if (state.additionalCostsEnum.length) {
|
|
|
- state.specialProcessesEnum.map((t: any) => {
|
|
|
+ state.additionalCostsEnum.map((t: any) => {
|
|
|
rs.push(<el-option label={t.typename} value={t.extraid} disabled={t.inputtype == 2} />);
|
|
|
});
|
|
|
}
|
|
@@ -5496,7 +5496,7 @@ export const useHooks = (t?: any) => {
|
|
|
if (tgVisibleData) {
|
|
|
let _remove = [];
|
|
|
tgVisibleData.map(t => {
|
|
|
- let _itm = result.find(i => i.extraid === t.extraid);
|
|
|
+ let _itm = result.find(i => i.extraid === t.extraid && i.extramxid === t.extramxid);
|
|
|
if (_itm) {
|
|
|
_remove.push(t);
|
|
|
}
|
|
@@ -5514,7 +5514,7 @@ export const useHooks = (t?: any) => {
|
|
|
mattressid: _mattressId,
|
|
|
mattressmxid: 0,
|
|
|
extraid: o.extraid,
|
|
|
- // extratypename: "",
|
|
|
+ extramxid: o.extramxid,
|
|
|
extraname: o.extramxname,
|
|
|
price: o.price,
|
|
|
qty: o.qty,
|