|
@@ -2375,6 +2375,7 @@ const autoLoadExtraData = (tableRef?: any, targetRef?: any) => {
|
|
|
mattressid: _mattressId,
|
|
|
mattressmxid: 0,
|
|
|
extraid: o.extraid,
|
|
|
+ extramxid: o.extramxid,
|
|
|
// extratypename: "",
|
|
|
extraname: o.extramxname,
|
|
|
price: o.price,
|
|
@@ -2778,6 +2779,7 @@ const handleEditBednetMx = () => {
|
|
|
drawerTitle.value = "修改床网报价";
|
|
|
bednetDrawerProps.deptid = LjDetailRef.value._mainData.deptid;
|
|
|
bednetDrawerProps.bednetid = records.mtrlid;
|
|
|
+ bednetDrawerProps.dannum_type = LjDetailRef.value._mainData.dannum_type;
|
|
|
bednetDrawerProps.state = "edit";
|
|
|
bednetDrawerProps.onlyView = false;
|
|
|
LjDrawerRef.value.show(true);
|
|
@@ -2800,7 +2802,7 @@ const autoBednetSave = async (res: any) => {
|
|
|
if (idx > -1) {
|
|
|
visibleData[idx].mtrlid = _res.bednetid;
|
|
|
visibleData[idx].mtrlname = _mtrlname;
|
|
|
- visibleData[idx].price = _res.nottax_factory_cost;
|
|
|
+ visibleData[idx].price = _res.total_cost;
|
|
|
visibleData[idx].qty = 1;
|
|
|
|
|
|
await $table.reloadData(visibleData);
|
|
@@ -2820,7 +2822,7 @@ const autoBednetSave = async (res: any) => {
|
|
|
thickness: 0,
|
|
|
mtrlid: _res.bednetid,
|
|
|
mtrlname: _mtrlname,
|
|
|
- price: _res.nottax_factory_cost,
|
|
|
+ price: _res.total_cost,
|
|
|
qty: 1
|
|
|
};
|
|
|
|
|
@@ -2940,6 +2942,7 @@ const handleCellDblClick_bednet = ({ row, rowIndex, $rowIndex, column, columnInd
|
|
|
// bednetDrawerProps.deptid = LjDetailRef.value._mainData.deptid;
|
|
|
bednetDrawerProps.dannum_type = LjDetailRef.value._mainData.dannum_type;
|
|
|
bednetDrawerProps.bednetid = row.mtrlid;
|
|
|
+ bednetDrawerProps.deptid = LjDetailRef.value._mainData.deptid;
|
|
|
bednetDrawerProps.state = "";
|
|
|
bednetDrawerProps.onlyView = true;
|
|
|
LjDrawerRef.value.show(true);
|