-
-
+
+
-
-
-
-
-
+
+
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
查询
重置
@@ -228,11 +243,14 @@ import CoilTable from '@/views/crm/components/CoilTable.vue'
import ContractSelect from '@/components/KLPService/ContractSelect'
import { batchUpdateContractCoil } from '@/api/wms/coil'
import { listProductCoilsByContract, getProductCoilsStatisticsByContract } from '@/api/crm/coil'
+import WarehouseSelect from '@/components/KLPService/WarehouseSelect'
+import MemoInput from '@/components/MemoInput'
+import MutiSelect from '@/components/MutiSelect'
export default {
name: 'ApsOrderTrack',
- components: { CoilTable, ContractSelect },
- dicts: ['wip_pack_saleman'],
+ components: { CoilTable, ContractSelect, WarehouseSelect, MemoInput, MutiSelect },
+ dicts: ['wip_pack_saleman', 'coil_itemname', 'coil_material', 'coil_manufacturer', 'coil_quality_status'],
data() {
return {
ORDER_STATUS,
@@ -418,10 +436,10 @@ export default {
if (!this.currentOrder || !this.currentOrder.orderId) return
this.productCoilLoading = true
listProductCoilsByContract({
- contractId: this.currentOrder.orderId,
+ orderId: this.currentOrder.orderId,
pageNum: this.productPagination.currentPage,
pageSize: this.productPagination.pageSize,
- coilBo: this.productCoilBo
+ ...this.productCoilBo
}).then(res => {
this.productCoilList = res.rows || []
this.productPagination.total = res.total || 0
@@ -431,11 +449,12 @@ export default {
},
fetchProductCoilStatistics() {
if (!this.currentOrder || !this.currentOrder.orderId) return
- getProductCoilsStatisticsByContract({ contractId: this.currentOrder.orderId, coilBo: this.productCoilBo }).then(res => {
+ getProductCoilsStatisticsByContract({ ...this.productCoilBo, orderId: this.currentOrder.orderId }).then(res => {
this.productCoilStatistics = res.data || {}
})
},
handleProductFilter() {
+ this.productCoilBo.selectType = this.productCoilBo.itemType || ''
this.productPagination.currentPage = 1
this.fetchProductCoils()
this.fetchProductCoilStatistics()