|
@@ -57,9 +57,16 @@
|
|
|
icon="el-icon-printer"
|
|
|
size="small"
|
|
|
:loading="exportLoading"
|
|
|
- @click.stop="statement"
|
|
|
+ @click="derivation()"
|
|
|
>报表打印
|
|
|
</el-button>
|
|
|
+ <el-button
|
|
|
+ type="info"
|
|
|
+ icon="el-icon-printer"
|
|
|
+ size="small"
|
|
|
+ @click.stop="LockingQuantity"
|
|
|
+ >计算内贸锁定
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</avue-crud>
|
|
|
<el-dialog title="导入库存"
|
|
@@ -80,7 +87,7 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import option from "./configuration/mainList.json"
|
|
|
-import {deleteTemplate,customerList,typeSave} from "@/api/basicData/inventoryAccount"
|
|
|
+import {deleteTemplate,customerList,typeSave,LockingQuantity} from "@/api/basicData/inventoryAccount"
|
|
|
import {getToken} from "@/util/auth";
|
|
|
import { defaultDate } from "@/util/date";
|
|
|
import reportDialog from "@/components/report-dialog/main";
|
|
@@ -292,6 +299,13 @@ export default {
|
|
|
this.page.currentPage = 1;
|
|
|
this.onLoad(this.page,this.search);
|
|
|
},
|
|
|
+ //计算内贸锁定
|
|
|
+ LockingQuantity() {
|
|
|
+ this.loading = true;
|
|
|
+ LockingQuantity().finally(() => {
|
|
|
+ this.loading = false;
|
|
|
+ })
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|