|
@@ -59,6 +59,7 @@
|
|
<div class="flex start">
|
|
<div class="flex start">
|
|
<div class="layout-left">
|
|
<div class="layout-left">
|
|
<el-form-item
|
|
<el-form-item
|
|
|
|
+ prop="Order_Type"
|
|
label="Order Type"
|
|
label="Order Type"
|
|
label-width="130px"
|
|
label-width="130px"
|
|
>
|
|
>
|
|
@@ -1746,9 +1747,9 @@ const currentCurrency = computed(() => {
|
|
})
|
|
})
|
|
|
|
|
|
let orderTypeList = ref([
|
|
let orderTypeList = ref([
|
|
- {
|
|
|
|
- label: '-None-',
|
|
|
|
- },
|
|
|
|
|
|
+ // {
|
|
|
|
+ // label: '-None-',
|
|
|
|
+ // },
|
|
{
|
|
{
|
|
label: '打样',
|
|
label: '打样',
|
|
},
|
|
},
|
|
@@ -1757,7 +1758,7 @@ let orderTypeList = ref([
|
|
},
|
|
},
|
|
])
|
|
])
|
|
const form = ref<IForm>({
|
|
const form = ref<IForm>({
|
|
- Order_Type: '-None-',
|
|
|
|
|
|
+ Order_Type: '',
|
|
Artwork_Link: '',
|
|
Artwork_Link: '',
|
|
Currency: 'CNY',
|
|
Currency: 'CNY',
|
|
// 订单号
|
|
// 订单号
|
|
@@ -1807,6 +1808,13 @@ const form = ref<IForm>({
|
|
})
|
|
})
|
|
|
|
|
|
const formRule = ref<FormRules>({
|
|
const formRule = ref<FormRules>({
|
|
|
|
+ Order_Type: [
|
|
|
|
+ {
|
|
|
|
+ required: true,
|
|
|
|
+ message: '必填项',
|
|
|
|
+ trigger: 'blur',
|
|
|
|
+ },
|
|
|
|
+ ],
|
|
Artwork_Link: [
|
|
Artwork_Link: [
|
|
{
|
|
{
|
|
required: true,
|
|
required: true,
|
|
@@ -2268,11 +2276,11 @@ const p1 = request
|
|
// console.log(response, '/common/getfieldsData')
|
|
// console.log(response, '/common/getfieldsData')
|
|
const res = response.data.result
|
|
const res = response.data.result
|
|
|
|
|
|
- orderTypeList.value = res.Order_Type_lists.map((i: any) => {
|
|
|
|
|
|
+ orderTypeList.value = res.Order_Type_lists.map((i: string) => {
|
|
return {
|
|
return {
|
|
label: i,
|
|
label: i,
|
|
}
|
|
}
|
|
- })
|
|
|
|
|
|
+ }).filter((i: any) => i.label !== '-None-')
|
|
addressList.value = res.field9_lists.map((i: any) => {
|
|
addressList.value = res.field9_lists.map((i: any) => {
|
|
return {
|
|
return {
|
|
label: i,
|
|
label: i,
|