|
|
|
@ -1052,7 +1052,7 @@
|
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<div> |
|
|
|
|
<div style="display: flex"> |
|
|
|
|
<el-select |
|
|
|
|
v-model="details.package.incomeCategoryId" |
|
|
|
|
filterable |
|
|
|
@ -1096,7 +1096,7 @@
|
|
|
|
|
@inputTxt="(index, row) => inputsc(index, row, 2)" |
|
|
|
|
@timeCheck="timesc" |
|
|
|
|
@btnCheck="btnsc" |
|
|
|
|
@selectCheck="selectsc" |
|
|
|
|
@selectCheck="(index, row) => selectsc(index, row, 2)" |
|
|
|
|
@selection="list => (details.package.selectionList = list)" |
|
|
|
|
:isShowRefresh="false" |
|
|
|
|
> |
|
|
|
@ -1261,7 +1261,7 @@
|
|
|
|
|
@inputTxt="(index, row) => inputsc(index, row, 1)" |
|
|
|
|
@timeCheck="timesc" |
|
|
|
|
@btnCheck="btnsc" |
|
|
|
|
@selectCheck="selectsc" |
|
|
|
|
@selectCheck="(index, row) => selectsc(index, row, 1)" |
|
|
|
|
@selection="selectionChange" |
|
|
|
|
:isShowRefresh="false" |
|
|
|
|
> |
|
|
|
@ -1422,6 +1422,8 @@ import {
|
|
|
|
|
getObjType, |
|
|
|
|
handleInputQuery, |
|
|
|
|
handleFilterData, |
|
|
|
|
handleClearTableQuery, |
|
|
|
|
handleSelectQuery, |
|
|
|
|
} from '@/utils/util'; |
|
|
|
|
import { columnList, packageColumnList } from '@/option/waybill/TemporaryStorageList'; |
|
|
|
|
import { getopenOrderAdvancePageList } from '@/api/waybill/TemporaryStorageList'; |
|
|
|
@ -2060,6 +2062,7 @@ const details = reactive<any>({
|
|
|
|
|
/** 筛选条件 */ |
|
|
|
|
query: { |
|
|
|
|
inputQuery: {}, |
|
|
|
|
selectQuery: {}, |
|
|
|
|
}, |
|
|
|
|
/** 品类 */ |
|
|
|
|
goodsListOptions: [], |
|
|
|
@ -2727,11 +2730,23 @@ const timesc = (index, row) => {
|
|
|
|
|
const btnsc = () => {}; |
|
|
|
|
|
|
|
|
|
/** 表格表头下拉框选择 */ |
|
|
|
|
const selectsc = (index, row) => { |
|
|
|
|
const _key = row.prop.replace('Name', ''); |
|
|
|
|
details.tableQuery[_key] = index; |
|
|
|
|
if (!index && index !== 0) delete details.tableQuery[_key]; |
|
|
|
|
init(); |
|
|
|
|
const selectsc = (index, row, type) => { |
|
|
|
|
switch (type) { |
|
|
|
|
case 1: |
|
|
|
|
handleSelectQuery(index, row, details.tableQuery); |
|
|
|
|
init(); |
|
|
|
|
break; |
|
|
|
|
case 2: |
|
|
|
|
handleSelectQuery(index, row, details.package.query.selectQuery); |
|
|
|
|
details.package.renderData = handleFilterData( |
|
|
|
|
details.package.data, |
|
|
|
|
[], |
|
|
|
|
details.package.query |
|
|
|
|
); |
|
|
|
|
break; |
|
|
|
|
default: |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
/** 表格表头复选框选择 */ |
|
|
|
@ -4181,6 +4196,8 @@ const handleClearPackageQuery = () => {
|
|
|
|
|
details.package.query[key] = {}; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
handleClearTableQuery(details.package.columnList); |
|
|
|
|
|
|
|
|
|
packageTableNode.value.handleClearSelect(); |
|
|
|
|
|
|
|
|
|
details.package.renderData = handleFilterData(details.package.data, [], details.package.query); |
|
|
|
|