diff --git a/src/views/finance/supplierBill/billingRecord.vue b/src/views/finance/supplierBill/billingRecord.vue new file mode 100644 index 0000000..41d8e2b --- /dev/null +++ b/src/views/finance/supplierBill/billingRecord.vue @@ -0,0 +1,145 @@ + + + + + diff --git a/src/views/finance/supplierBill/components/payment.vue b/src/views/finance/supplierBill/components/payment.vue new file mode 100644 index 0000000..ce55fa9 --- /dev/null +++ b/src/views/finance/supplierBill/components/payment.vue @@ -0,0 +1,81 @@ + + + + diff --git a/src/views/finance/supplierBill/index.vue b/src/views/finance/supplierBill/index.vue new file mode 100644 index 0000000..74b06c0 --- /dev/null +++ b/src/views/finance/supplierBill/index.vue @@ -0,0 +1,139 @@ + + + + + diff --git a/src/views/finance/supplierBill/paymentRecord.vue b/src/views/finance/supplierBill/paymentRecord.vue new file mode 100644 index 0000000..d8f1b87 --- /dev/null +++ b/src/views/finance/supplierBill/paymentRecord.vue @@ -0,0 +1,131 @@ + + + + + diff --git a/src/views/inventory/consumables/components/add-haocai copy.vue b/src/views/inventory/consumables/components/add-haocai copy.vue deleted file mode 100644 index f4a6d8c..0000000 --- a/src/views/inventory/consumables/components/add-haocai copy.vue +++ /dev/null @@ -1,197 +0,0 @@ - - - - \ No newline at end of file diff --git a/src/views/product/indexconfig/content.ts b/src/views/product/indexconfig/content.ts index 1ff4f71..9598603 100644 --- a/src/views/product/indexconfig/content.ts +++ b/src/views/product/indexconfig/content.ts @@ -59,13 +59,6 @@ const contentConfig: IContentConfig = { pk: "id", toolbar: [ "add", - { - icon: "edit", - text: "库存预警", - type: "info", - name: "custom1", - auth: "import", - }, { icon: "refresh", text: "同步", @@ -73,6 +66,14 @@ const contentConfig: IContentConfig = { name: "custom2", auth: "import", }, + { + icon: "edit", + text: "库存预警", + type: "info", + name: "custom1", + auth: "import", + }, + ], cols: [ // { type: "selection", width: 50, align: "center" }, diff --git a/src/views/shop/branchStore/components/activateCode.vue b/src/views/shop/branchStore/components/activateCode.vue deleted file mode 100644 index 7b77d78..0000000 --- a/src/views/shop/branchStore/components/activateCode.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/shop/branchStore/components/addShop.vue b/src/views/shop/branchStore/components/addShop.vue deleted file mode 100644 index 433a32b..0000000 --- a/src/views/shop/branchStore/components/addShop.vue +++ /dev/null @@ -1,531 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/shop/branchStore/components/detailModal.vue b/src/views/shop/branchStore/components/detailModal.vue deleted file mode 100644 index da4a678..0000000 --- a/src/views/shop/branchStore/components/detailModal.vue +++ /dev/null @@ -1,156 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/shop/branchStore/index.vue b/src/views/shop/branchStore/index.vue index 8ba25d3..668ecf7 100644 --- a/src/views/shop/branchStore/index.vue +++ b/src/views/shop/branchStore/index.vue @@ -19,33 +19,42 @@ - + - + - + - + - + + + + + @@ -108,6 +117,21 @@ async function getTableData() { console.log(error); } } +function handleSync(e) { + console.log(e) + ElMessageBox.confirm(`同步功能开启后不能关闭,请确认是否给${e.shopName}开启同步?`, "提示", { + confirmButtonText: "确认", + cancelButtonText: "取消", + type: "warning", + }).then(async () => { + const res = await ShopApi.delete({ id: row.id }); + ElMessage({ + type: "success", + message: "同步成功", + }); + getTableData(); + }).catch(() => { }); +} // 重置查询 function resetHandle() { state.query.name = "";