---
# System prepended metadata

title: 崇德

---

# 崇德

## `ke_hu`<SUP>客戶</SUP>

* `xian_shi`<SUP>縣市</SUP>

| method/path                                |                | viewName              |
| ------------------------------------------ | -------------- | --------------------- |
| `GET` `/kehu/`                             | 浏览客户页     | `keHu/browse`         |
| `POST` `/kehu/`                            | 搜索客户       |                       |
| `GET` `/kehu/{keHu}/`                      | 读取客户页     | `keHu/read`           |
| `POST` `/kehu/{keHu}/`                     | 更新客户       |                       |
| `GET` `/kehu/{keHu}/dingdan/`              | 浏览客户订单页 | `keHu/dingDan/browse` |
| `POST` `/kehu/{keHu}/dingdan/`             | 搜索客户订单   |                       |
| `GET` `/kehu/{keHu}/dingdan/add.asp`       | 创建客户订单页 | `keHu/dingDan/create` |
| `POST` `/kehu/{keHu}/dingdan/add.asp`      | 创建客户订单   |                       |
| `GET` `/kehu/{keHu}/dingdan/{dingDan}/`    | 读取客户订单页 | `keHu/dingDan/read`   |
| `POST` `/kehu/{keHu}/dingdan/{dingDan}/`   | 更新客户订单   |                       |
| `DELETE` `/kehu/{keHu}/dingdan/{dingDan}/` | 删除客户订单   |                       |
| `GET` `/shangpin/`                         | 浏览商品页     | `shangPin/browse`     |
| `POST` `/shangpin/`                        | 搜索商品       |                       |
| `GET` `/shangpin/add.asp`                  | 创建商品页     | `shangPin/create`     |
| `POST` `/shangpin/add.asp`                 | 创建商品       |                       |
| `GET` `/shangpin/{shangPin}/`              | 读取商品页     | `shangPin/read`       |
| `POST` `/shangpin/{shangPin}/`              | 更新商品       |                       |
| `DELETE` `/shangpin/{shangPin}/`            | 删除商品       |                       |
| `GET` `/dingdan/`                          | 浏览订单页     | `dingDan/browse`      |
| `POST` `/dingdan/`                         | 搜索订单       |                       |
| `GET` `/dingdan/add.asp`                   | 创建订单页     | `dingDan/create`      |
| `POST` `/dingdan/add.asp`                  | 创建订单       |                       |
| `GET` `/dingdan/{dingDan}/`                | 读取订单页     | `dingDan/read`        |
| `POST` `/dingdan/{dingDan}/`               | 更新订单       |                       |
| `DELETE` `/dingdan/{dingDan}/`             | 删除订单       |                       |

## `zuo_wen`<SUP>作文</SUP>

* `xing_hao`<SUP>型號</SUP>
* `ming_cheng`<SUP>名稱</SUP>
* `ding_jia`<SUP>訂價</SUP>
* `fen_lei`<SUP>分類</SUP>
* `biao_qian`<SUP>標籤</SUP>
* `ting_shou`<SUP>停售(上/下架)</SUP>
* `kai_jia`<SUP>開架</SUP>

## `ban_fu`<SUP>班服</SUP>

* `xing_hao`<SUP>型號</SUP>
* `ding_jia`<SUP>訂價</SUP>
* `ting_shou`<SUP>停售(上/下架)</SUP>

## `qi_ta`<SUP>其它</SUP>

* `xing_hao`<SUP>型號</SUP>
* `ming_cheng`<SUP>名稱</SUP>
* `ding_jia`<SUP>訂價</SUP>
* `fen_lei`<SUP>分類</SUP>
* `biao_qian`<SUP>標籤</SUP>
* `ting_shou`<SUP>停售(上/下架)</SUP>
* `kai_jia`<SUP>開架</SUP>
* `ku_cun`<SUP>庫存</SUP>

### ding_dan<SUP>訂單</SUP>

* `ri_qi`<SUP>日期</SUP>
* `dan_hao`<SUP>單號</SUP>
* `ke_hu`<SUP>客戶</SUP>
* `pin_ming`<SUP>品名</SUP>
* `shu_liang`<SUP>數量</SUP>
* `dan_jia`<SUP>單價</SUP>
* `xiao_ji`<SUP>小計</SUP>
* `zong_ji`<SUP>總計</SUP><SUB>(若為空則訂單可更新，反之則不可更新)</SUB>
* `bei_zhu`<SUP>備註</SUP>
1. `ke_hu_lian`<SUP>客戶聯</SUP>
2. `dui_zhang_lian`<SUP>對帳聯</SUP>
3. `shou_zhi_lian`<SUP>收執聯</SUP>

```
liff.ready.then(() => {
	alert(`${liff.getOS()}\n${liff.getLanguage()}\n${liff.getVersion()}\n${liff.getLineVersion()}\n${liff.isInClient()}\n`);
});
window.onload = () => {
	liff
		.init({
			liffId: '1655542016-eEZjNb12'
		})
		.then(() => {
			if (liff.isLoggedIn()) {
				//alert(`${liff.permanentLink.createUrl()}\n\n${liff.getFriendship()}`);
				liff.getProfile().then(profile => {
					console.log(profile);
				});
			} else {
				liff.login();
			}
		})
		.catch((error) => {
			alert(error);
		});
};
```
