|
@@ -51,12 +51,12 @@ const sourceList = ref({
|
|
pageNum: 1,
|
|
pageNum: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
name: "",
|
|
name: "",
|
|
- priceSystemId: "",
|
|
|
|
|
|
+ priceBillingStandardId: "",
|
|
contactPerson: "",
|
|
contactPerson: "",
|
|
},
|
|
},
|
|
});
|
|
});
|
|
const loading = ref(false);
|
|
const loading = ref(false);
|
|
-const priceSystemList = ref([]);
|
|
|
|
|
|
+const priceBillingStandardList = ref([]);
|
|
const searchConfig = computed(() => {
|
|
const searchConfig = computed(() => {
|
|
return [
|
|
return [
|
|
{
|
|
{
|
|
@@ -66,9 +66,9 @@ const searchConfig = computed(() => {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
type: "select",
|
|
type: "select",
|
|
- prop: "priceSystemId",
|
|
|
|
|
|
+ prop: "priceBillingStandardId",
|
|
label: "售价体系",
|
|
label: "售价体系",
|
|
- data: priceSystemList.value,
|
|
|
|
|
|
+ data: priceBillingStandardList.value,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
type: "input",
|
|
type: "input",
|
|
@@ -89,11 +89,11 @@ const config = computed(() => {
|
|
{
|
|
{
|
|
attrs: {
|
|
attrs: {
|
|
label: "售价体系",
|
|
label: "售价体系",
|
|
- prop: "priceSystemId",
|
|
|
|
|
|
+ prop: "priceBillingStandardId",
|
|
width: 140,
|
|
width: 140,
|
|
},
|
|
},
|
|
render(val) {
|
|
render(val) {
|
|
- return proxy.dictKeyValue(val, priceSystemList.value);
|
|
|
|
|
|
+ return proxy.dictKeyValue(val, priceBillingStandardList.value);
|
|
},
|
|
},
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -233,9 +233,9 @@ const clickReset = () => {
|
|
getList("", true);
|
|
getList("", true);
|
|
};
|
|
};
|
|
const getPriceSystem = () => {
|
|
const getPriceSystem = () => {
|
|
- proxy.post("/priceSystem/page", { pageNum: 1, pageSize: 999 }).then((res) => {
|
|
|
|
- if (res.rows && res.rows.length > 0) {
|
|
|
|
- priceSystemList.value = res.rows.map((item) => {
|
|
|
|
|
|
+ proxy.post("/priceBillingStandard/list", {}).then((res) => {
|
|
|
|
+ if (res && res.length > 0) {
|
|
|
|
+ priceBillingStandardList.value = res.map((item) => {
|
|
return {
|
|
return {
|
|
dictKey: item.id,
|
|
dictKey: item.id,
|
|
dictValue: item.name,
|
|
dictValue: item.name,
|
|
@@ -334,10 +334,10 @@ const formConfig = computed(() => {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
type: "select",
|
|
type: "select",
|
|
- prop: "priceSystemId",
|
|
|
|
|
|
+ prop: "priceBillingStandardId",
|
|
label: "售价体系",
|
|
label: "售价体系",
|
|
itemWidth: 50,
|
|
itemWidth: 50,
|
|
- data: priceSystemList.value,
|
|
|
|
|
|
+ data: priceBillingStandardList.value,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
type: "select",
|
|
type: "select",
|