优化
This commit is contained in:
@@ -844,7 +844,7 @@ const total = ref(0); //单据
|
|||||||
/** 查询库存单据主列表 */
|
/** 查询库存单据主列表 */
|
||||||
function getList() {
|
function getList() {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
queryParams.value.bizTypeList = [0, 3];
|
queryParams.value.bizTypeList = [0];
|
||||||
listBill(queryParams.value).then((response) => {
|
listBill(queryParams.value).then((response) => {
|
||||||
billList.value = response.rows;
|
billList.value = response.rows;
|
||||||
total.value = response.total;
|
total.value = response.total;
|
||||||
@@ -1655,7 +1655,7 @@ const submitDelStock = () => {
|
|||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
function handleExport() {
|
function handleExport() {
|
||||||
let obj = JSON.parse(JSON.stringify(queryParams.value));
|
let obj = JSON.parse(JSON.stringify(queryParams.value));
|
||||||
obj.bizTypeList = [0, 3];
|
obj.bizTypeList = [0];
|
||||||
proxy.download(
|
proxy.download(
|
||||||
"wisdom/record/export",
|
"wisdom/record/export",
|
||||||
obj,
|
obj,
|
||||||
|
|||||||
@@ -1114,7 +1114,7 @@ const total = ref(0);
|
|||||||
const billList = ref([]);
|
const billList = ref([]);
|
||||||
function getList() {
|
function getList() {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
queryParams.value.bizTypeList = [1, 2];
|
queryParams.value.bizTypeList = [1, 2, 3];
|
||||||
listBill(queryParams.value).then((response) => {
|
listBill(queryParams.value).then((response) => {
|
||||||
billList.value = response.rows;
|
billList.value = response.rows;
|
||||||
total.value = response.total;
|
total.value = response.total;
|
||||||
@@ -1250,7 +1250,7 @@ function submitForm() {
|
|||||||
/** 导出按钮操作 */
|
/** 导出按钮操作 */
|
||||||
function handleExport() {
|
function handleExport() {
|
||||||
let obj = JSON.parse(JSON.stringify(queryParams.value));
|
let obj = JSON.parse(JSON.stringify(queryParams.value));
|
||||||
obj.bizTypeList = [1, 2];
|
obj.bizTypeList = [1, 2, 3];
|
||||||
proxy.download(
|
proxy.download(
|
||||||
"wisdom/record/export",
|
"wisdom/record/export",
|
||||||
obj,
|
obj,
|
||||||
|
|||||||
Reference in New Issue
Block a user