mirror of
https://shylinux.com/x/enterprise
synced 2025-05-13 00:10:15 +08:00
9 lines
424 B
JavaScript
9 lines
424 B
JavaScript
Volcanos(chat.ONIMPORT, {
|
|
_init: function(can, msg) {
|
|
can.onimport.myView(can, msg, function(value) { return [
|
|
{view: html.TITLE, list: [value.name, can.onimport.textView(can, value, "product_type")]},
|
|
{view: html.STATUS, list: [can.onimport.unitView(can, value, "price", "元"), can.onimport.unitView(can, value, "count", value.unit)]},
|
|
{view: html.OUTPUT, list: [value.info]},
|
|
] }, function(event) {})
|
|
},
|
|
}) |