changes
This commit is contained in:
@@ -26,16 +26,16 @@ async function submit() {
|
||||
<div class="grid">
|
||||
<div class="cell is-col-span-4">
|
||||
<div class="field">
|
||||
<label class="label">Variant</label>
|
||||
<label class="label">Mã Phiên bản</label>
|
||||
<SearchBox
|
||||
v-bind="{
|
||||
api: 'Product_Variant',
|
||||
field: 'code',
|
||||
column: ['code'],
|
||||
optionid: variant.id,
|
||||
clearable: false,
|
||||
disabled: true,
|
||||
first: true,
|
||||
placeholder: 'Variant',
|
||||
}"
|
||||
@option="body.variant = $event?.id ?? $event"
|
||||
/>
|
||||
|
||||
@@ -20,7 +20,6 @@ watch(product, () => {
|
||||
field: 'name',
|
||||
column: ['name'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
placeholder: 'Tìm sản phẩm',
|
||||
addon: {
|
||||
component: 'imports/AddProductForm',
|
||||
|
||||
@@ -114,7 +114,6 @@ async function submit() {
|
||||
field: 'name',
|
||||
column: ['name'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.os,
|
||||
placeholder: 'OS',
|
||||
addon: {
|
||||
@@ -137,7 +136,6 @@ async function submit() {
|
||||
field: 'name',
|
||||
column: ['name'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.manufacturer,
|
||||
placeholder: 'Hãng',
|
||||
addon: {
|
||||
@@ -160,7 +158,6 @@ async function submit() {
|
||||
field: 'code',
|
||||
column: ['code'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.battery,
|
||||
placeholder: 'Pin',
|
||||
addon: {
|
||||
@@ -183,7 +180,6 @@ async function submit() {
|
||||
field: 'label',
|
||||
column: ['resolution', 'standard', 'technology'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.screen,
|
||||
placeholder: 'Màn hình',
|
||||
addon: {
|
||||
@@ -206,7 +202,6 @@ async function submit() {
|
||||
field: 'name',
|
||||
column: ['name'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
placeholder: 'CPU',
|
||||
optionid: body.cpu,
|
||||
addon: {
|
||||
@@ -229,7 +224,6 @@ async function submit() {
|
||||
field: 'name',
|
||||
column: ['name'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.gpu,
|
||||
placeholder: 'GPU',
|
||||
addon: {
|
||||
@@ -252,7 +246,6 @@ async function submit() {
|
||||
field: 'code',
|
||||
column: ['code'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.camera_system,
|
||||
placeholder: 'Camera',
|
||||
addon: {
|
||||
@@ -275,7 +268,6 @@ async function submit() {
|
||||
field: 'code',
|
||||
column: ['code'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.sim,
|
||||
placeholder: 'SIM',
|
||||
addon: {
|
||||
@@ -298,7 +290,6 @@ async function submit() {
|
||||
field: 'name',
|
||||
column: ['name'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.network_technology,
|
||||
placeholder: 'Kết nối',
|
||||
addon: {
|
||||
@@ -321,7 +312,6 @@ async function submit() {
|
||||
field: 'code',
|
||||
column: ['code'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.charging_technology,
|
||||
placeholder: 'Công nghệ sạc',
|
||||
addon: {
|
||||
@@ -344,7 +334,6 @@ async function submit() {
|
||||
field: 'code',
|
||||
column: ['code'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.external_storage,
|
||||
placeholder: 'Bộ nhớ ngoài',
|
||||
position: 'is-top-right',
|
||||
@@ -368,7 +357,6 @@ async function submit() {
|
||||
field: 'name',
|
||||
column: ['name'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.ip_rating,
|
||||
placeholder: 'Chỉ số IP',
|
||||
position: 'is-top-right',
|
||||
@@ -392,7 +380,6 @@ async function submit() {
|
||||
field: 'label',
|
||||
column: ['frame_material', 'back_material'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.design,
|
||||
placeholder: 'Chất liệu',
|
||||
position: 'is-top-right',
|
||||
|
||||
@@ -137,7 +137,6 @@ async function submit() {
|
||||
field: 'name',
|
||||
column: ['name'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.color,
|
||||
placeholder: 'Màu sắc',
|
||||
addon: {
|
||||
@@ -160,7 +159,6 @@ async function submit() {
|
||||
field: 'code',
|
||||
column: ['code'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.ram,
|
||||
placeholder: 'RAM',
|
||||
addon: {
|
||||
@@ -183,7 +181,6 @@ async function submit() {
|
||||
field: 'code',
|
||||
column: ['code'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.internal_storage,
|
||||
placeholder: 'Bộ nhớ trong',
|
||||
addon: {
|
||||
|
||||
@@ -77,7 +77,6 @@ async function submit() {
|
||||
field: 'name',
|
||||
column: ['name'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
placeholder: 'Sản phẩm',
|
||||
addon: {
|
||||
component: 'imports/ProductForm',
|
||||
@@ -116,7 +115,6 @@ async function submit() {
|
||||
field: 'name',
|
||||
column: ['name'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.color,
|
||||
placeholder: 'Màu sắc',
|
||||
addon: {
|
||||
@@ -139,7 +137,6 @@ async function submit() {
|
||||
field: 'code',
|
||||
column: ['code'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.ram,
|
||||
placeholder: 'RAM',
|
||||
addon: {
|
||||
@@ -162,7 +159,6 @@ async function submit() {
|
||||
field: 'code',
|
||||
column: ['code'],
|
||||
first: true,
|
||||
clearable: true,
|
||||
optionid: body.internal_storage,
|
||||
placeholder: 'Bộ nhớ trong',
|
||||
addon: {
|
||||
|
||||
Reference in New Issue
Block a user