kz-ui-base 1.0.109 → 1.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -100,11 +100,11 @@ export function salesContractAntiAudit(data) {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
export function salesOrderDetails(
|
|
103
|
+
export function salesOrderDetails(data) {
|
|
104
104
|
return request({
|
|
105
105
|
url: '/sm/salesOrderDetails/selectAllDetailsAndOrderMES',
|
|
106
|
-
method: '
|
|
107
|
-
|
|
106
|
+
method: 'post',
|
|
107
|
+
data: data,
|
|
108
108
|
})
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -116,3 +116,10 @@ export function selectAllDetailsAndOrder(params) {
|
|
|
116
116
|
})
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
+
export function selectAllOrderByMes(data) {
|
|
120
|
+
return request({
|
|
121
|
+
url: "/sm/salesOrderDetails/selectAllOrderByMes",
|
|
122
|
+
method: "post",
|
|
123
|
+
data: data,
|
|
124
|
+
});
|
|
125
|
+
}
|
|
@@ -88,7 +88,7 @@ import {Component, Prop, Vue, Watch} from "vue-property-decorator";
|
|
|
88
88
|
import {getDictLabelByValue} from "@api/common/common";
|
|
89
89
|
import EntitySelect from "@srcComponents/selector/EntitySelect.vue";
|
|
90
90
|
import {tableHandleSelect, tableOnSelectionChange, tableRowClick, tableRowStyle} from "@utils/index";
|
|
91
|
-
import {
|
|
91
|
+
import {salesOrderDetails} from "@srcApi/sm/cm/salesContract";
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
@Component({
|
|
@@ -167,12 +167,12 @@ export default class SmOrderSelectModal extends Vue {
|
|
|
167
167
|
this.searchParams[prop] = this.searchObj[prop];
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
|
|
171
|
-
this.listData = (res as any).records;
|
|
170
|
+
salesOrderDetails(this.searchParams).then((res)=>{
|
|
171
|
+
this.listData = (res as any).data.records;
|
|
172
172
|
this.listData.forEach((item)=>{
|
|
173
173
|
item.exportFlagLabel = item.exportFlag == '0' ? "国内" : "国外";
|
|
174
174
|
})
|
|
175
|
-
this.searchParams.total = (res as any).total;
|
|
175
|
+
this.searchParams.total = (res as any).data.total;
|
|
176
176
|
}).finally(()=>{
|
|
177
177
|
this.tableLoading = false;
|
|
178
178
|
})
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
:show-overflow-tooltip="true"
|
|
157
157
|
:key="index"
|
|
158
158
|
:label="column.text"
|
|
159
|
-
align="
|
|
159
|
+
:align="column.align || 'left'"
|
|
160
160
|
:prop="column.property"
|
|
161
161
|
v-if="column.visible != false"
|
|
162
162
|
:min-width="column.width || 100"
|
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
<el-table-column
|
|
394
394
|
:key="index + 'column'"
|
|
395
395
|
:label="column.text"
|
|
396
|
-
align="
|
|
396
|
+
:align="column.align || 'left'"
|
|
397
397
|
:prop="column.property"
|
|
398
398
|
v-if="column.visible != false"
|
|
399
399
|
:min-width="column.width || 100"
|