|
@@ -99,6 +99,7 @@
|
|
import moment from 'moment'
|
|
import moment from 'moment'
|
|
import { syDeclarationElementsAdd,queryLatelyDeclarationElements } from '@api/document/shipmentList'
|
|
import { syDeclarationElementsAdd,queryLatelyDeclarationElements } from '@api/document/shipmentList'
|
|
import {Dictionaries} from '@api/document/book.js'
|
|
import {Dictionaries} from '@api/document/book.js'
|
|
|
|
+ import {salesOrder } from '@api/document/order'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: 'manualModal', // 报关要素
|
|
name: 'manualModal', // 报关要素
|
|
@@ -112,18 +113,7 @@
|
|
queryParam:{},
|
|
queryParam:{},
|
|
manualModVis:false,
|
|
manualModVis:false,
|
|
confirmLoading: false,
|
|
confirmLoading: false,
|
|
- manualData:[
|
|
|
|
- {id:1,priceRemarks:2},
|
|
|
|
- {id:1,priceRemarks:2},
|
|
|
|
- {id:1,priceRemarks:2},
|
|
|
|
- {id:1,priceRemarks:2},
|
|
|
|
- {id:1,priceRemarks:2},
|
|
|
|
- {id:1,priceRemarks:2},
|
|
|
|
- {id:1,priceRemarks:2},
|
|
|
|
- {id:1,priceRemarks:2},
|
|
|
|
- {id:1,priceRemarks:2},
|
|
|
|
- {id:1,priceRemarks:2},
|
|
|
|
- ],
|
|
|
|
|
|
+ manualData:[ ],
|
|
manualColumns:[
|
|
manualColumns:[
|
|
{
|
|
{
|
|
title: '销售订单账套号',
|
|
title: '销售订单账套号',
|
|
@@ -206,9 +196,43 @@
|
|
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ //获取数据
|
|
|
|
+ getData(){
|
|
|
|
+ var that = this;
|
|
|
|
+ // that.spinIsShow = true;
|
|
|
|
+ this.loading = true
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ salesOrder(this.queryParam).then(res => {
|
|
|
|
+ debugger
|
|
|
|
+ // that.spinIsShow = false;
|
|
|
|
+ this.loading = false
|
|
|
|
+ if (res.success) {
|
|
|
|
+ debugger
|
|
|
|
+ that.orderListData = res.result.records;
|
|
|
|
+ that.pagination = {
|
|
|
|
+ total: res.result.total,
|
|
|
|
+ current: res.result.current,
|
|
|
|
+ pageSize: res.result.size
|
|
|
|
+ }
|
|
|
|
+ }else{
|
|
|
|
+ that.$message.error(res.message);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ },
|
|
//查询
|
|
//查询
|
|
searchQuery(){
|
|
searchQuery(){
|
|
-
|
|
|
|
|
|
+ if(this.queryParam.account == '' || !this.queryParam.account){
|
|
|
|
+ debugger
|
|
|
|
+ this.$message.error('请选择账套')
|
|
|
|
+ }else if(this.queryParam.orderNumber == '' || !this.queryParam.orderNumber){
|
|
|
|
+ debugger
|
|
|
|
+ this.$message.error('请选择销售订单号')
|
|
|
|
+ }else{
|
|
|
|
+ debugger
|
|
|
|
+ this.getData()
|
|
|
|
+ }
|
|
},
|
|
},
|
|
//重置
|
|
//重置
|
|
searchReset(){
|
|
searchReset(){
|