|
@@ -48,7 +48,7 @@
|
|
|
import ProdTemp from "@/template/normalTable/index.vue"
|
|
|
import utils from "@/utils/utils"
|
|
|
import Api from "@/api/api"
|
|
|
- import {ref,computed,createVNode,onActivated} from 'vue'
|
|
|
+ import {ref,computed,createVNode,onActivated, onMounted} from 'vue'
|
|
|
import { ExclamationCircleOutlined } from '@ant-design/icons-vue';
|
|
|
import { message } from 'ant-design-vue';
|
|
|
import { Modal } from 'ant-design-vue';
|
|
@@ -106,6 +106,7 @@
|
|
|
"content": {
|
|
|
"type":'标准订单',
|
|
|
"tradefield":selectProd.value[0].tradefield[0].tradefield,
|
|
|
+ "sa_accountclassid":res_fields.value.filter(item => item.remarks == selectProd.value[0].tradefield[0].tradefield).length ? res_fields.value.filter(item => item.remarks == selectProd.value[0].tradefield[0].tradefield)[0].subvalues[0] : 0,
|
|
|
"items": selectProd.value.map(e=>{
|
|
|
return {
|
|
|
"sa_orderitemsid": 0, //写死0
|
|
@@ -223,6 +224,12 @@
|
|
|
onActivated (()=>{
|
|
|
prod.value.listData()
|
|
|
})
|
|
|
+ let res_fields = ref([])
|
|
|
+ onMounted(async () => {
|
|
|
+ const res_field = await Api.optionstype('domainrelatedaccounts')
|
|
|
+ res_fields.value = res_field.data
|
|
|
+ console.log(res_fields.value,'领域');
|
|
|
+ })
|
|
|
</script>
|
|
|
<style scoped>
|
|
|
.submit-panel{
|