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 @@ + + + + + + + + + + + + 查询 + 批量付款 + 供应商:供应商名称 + + + + + + + + + + + {{ scope.row.shopName }}({{ scope.row.shopName }}) + 账号:{{ scope.row.shopName }} + 联系电话:{{ scope.row.phone }} + + + + + + + + + + + 付款 + + + 付款记录 + + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + + + + 查询 + + + + + + + + + 账单总金额(全部/本月) + 2000/1000 + + + + 已付款总金额(全部/本月) + 2000/1000 + + + 未付款总金额(全部/本月) + 2000/1000 + + + + + + + + + + + + + + + + + 账单记录 + + + + + + + + + + + + + + + + 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 @@ + + + + + + 供应商:供应商名称 + + + + + + + + + {{ scope.row.shopName }}({{ scope.row.shopName }}) + 账号:{{ scope.row.shopName }} + 联系电话:{{ scope.row.phone }} + + + + + + + + + 员工名称:{{ scope.row.shopName }} + 员工编号:{{ scope.row.shopName }} + 员工账号:{{ scope.row.phone }} + + + + + + + + + + + + + + + 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 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 取 消 - 确 定 - - - - {{ dialogtitle }} - - - - - - - - - - - - - - - - - - 取 消 - 确 定 - - - - - - - \ 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 @@ - - - - - - - - - - 单店 - 连锁店 - 加盟店 - - 请谨慎修改!!! - - - - 是 - 否 - - - - - - - - - - - - - - - - - - - - 先付费 - 后付费 - - 请谨慎修改!!! - - - - 不可直接管理 - 直接管理 - - 请谨慎修改!!! - - - - 试用 - 正式 - - - - - 注:输入有效激活码表示添加的同时直接激活该店铺。 - - - - - - - - - - - - - - - - - - - - - - - - - - - - 选择坐标 - - - - - - - - - - - - - 开启 - 关闭 - - - - - - - - - - - - - - - - 搜索 - - - - - - {{ item.name }} - - - - - - - - {{ item.name }}-{{ item.address }} - 经纬度:{{ item.location.lng }},{{ item.location.lat }} - - - 选择 - - - - - - - - - - - - - - - \ 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 @@ - + - {{ scope.row.shopName }}{{ scope.row.shopName }} + {{ scope.row.shopName }}({{ scope.row.shopName }}) 账号:{{ scope.row.shopName }} 联系电话:{{ scope.row.phone }} - + - + - + - + - - {{ dayjs(scope.row.expireTime).format("YYYY-MM-DD HH:mm:ss") }} - + + + + + + + + 同步启用 + + + 账号启用 + @@ -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 = "";