線上書籍

Home

GAS+購物車開發

訂單結構
  1. 流水號: 隱藏
  2. 訂單日期: 隱藏 時間戳記
  3. 訂單號碼: 隱藏 後台函數運算
  4. 好友ID: 隱藏
  5. 姓名:表單
  6. 電話:表單
  7. 送貨地址:表單
  8. 備註:表單
  9. 總計金額: 隱藏 後台計算
  10. 已收金額: 隱藏 管理員 編輯
  11. 處理狀態: 隱藏 下拉選單 訂單成立|待客戶匯款|收到貨款-備貨中|貨運寄送中|客戶已收貨
  12. 訂購商品: 隱藏 購物清單
let stru = [ { "form_control": "true", "form_label": "流水號", "form_name": "sn", "form_sort": "1", "form_value": "", "form_width": "2", "form_kind": "隱藏", "form_option": "", "form_validate": "", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "", "value_type": "", "list_visible": "false", "list_align": "left", "list_sortable": "false", "list_width": "" }, { "form_control": "true", "form_label": "訂單日期", "form_name": "date", "form_sort": "2", "form_value": "", "form_width": "2", "form_kind": "隱藏", "form_option": "", "form_validate": "", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "時間戳記", "value_type": "文字", "list_visible": "true", "list_align": "center", "list_sortable": "true", "list_width": "" }, { "form_control": "true", "form_label": "訂單號碼", "form_name": "no", "form_sort": "3", "form_value": "", "form_width": "2", "form_kind": "隱藏", "form_option": "", "form_validate": "", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "", "value_type": "文字", "list_visible": "true", "list_align": "center", "list_sortable": "true", "list_width": "" }, { "form_control": "false", "form_label": "好友ID", "form_name": "userId", "form_sort": "4", "form_value": "", "form_width": "2", "form_kind": "隱藏", "form_option": "", "form_validate": "", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "", "value_type": "文字", "list_visible": "false", "list_align": "left", "list_sortable": "false", "list_width": "" }, { "form_control": "false", "form_label": "姓名", "form_name": "name", "form_sort": "5", "form_value": "", "form_width": "2", "form_kind": "隱藏", "form_option": "", "form_validate": "必填", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "", "value_type": "文字", "list_visible": "true", "list_align": "left", "list_sortable": "false", "list_width": "" }, { "form_control": "false", "form_label": "電話", "form_name": "tel", "form_sort": "6", "form_value": "", "form_width": "2", "form_kind": "隱藏", "form_option": "", "form_validate": "必填", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "", "value_type": "文字", "list_visible": "true", "list_align": "left", "list_sortable": "false", "list_width": "" }, { "form_control": "false", "form_label": "送貨地址", "form_name": "addr", "form_sort": "7", "form_value": "", "form_width": "2", "form_kind": "隱藏", "form_option": "", "form_validate": "必填", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "", "value_type": "文字", "list_visible": "true", "list_align": "left", "list_sortable": "false", "list_width": "" }, { "form_control": "false", "form_label": "備註", "form_name": "ps", "form_sort": "9", "form_value": "", "form_width": "2", "form_kind": "隱藏", "form_option": "", "form_validate": "", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "", "value_type": "文字", "list_visible": "false", "list_align": "left", "list_sortable": "false", "list_width": "" }, { "form_control": "false", "form_label": "總計金額", "form_name": "total", "form_sort": "12", "form_value": "", "form_width": "2", "form_kind": "隱藏", "form_option": "", "form_validate": "", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "", "value_type": "", "list_visible": "true", "list_align": "right", "list_sortable": "false", "list_width": "" }, { "form_control": "false", "form_label": "已收金額", "form_name": "receive", "form_sort": "13", "form_value": "", "form_width": "2", "form_kind": "簡答", "form_option": "", "form_validate": "", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "", "value_type": "", "list_visible": "true", "list_align": "right", "list_sortable": "false", "list_width": "" }, { "form_control": "false", "form_label": "處理狀態", "form_name": "status", "form_sort": "15", "form_value": "", "form_width": "2", "form_kind": "下拉選單", "form_option": "訂單成立|待客戶匯款|收到貨款-備貨中|貨運寄送中|客戶已收貨", "form_validate": "", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "", "value_type": "文字", "list_visible": "true", "list_align": "center", "list_sortable": "true", "list_width": "" }, { "form_control": "false", "form_label": "訂購商品", "form_name": "cart", "form_sort": "16", "form_value": "", "form_width": "2", "form_kind": "隱藏", "form_option": "", "form_validate": "", "form_readme": "", "form_placeholder": "", "form_readonly": "", "form_fun": "", "value_type": "文字", "list_visible": "false", "list_align": "left", "list_sortable": "false", "list_width": "" } ] ;