2023-01-16-01

zhc4dev
喻忠伟 2 years ago
parent 0fa372d580
commit 8fa629065d
  1. 33
      ant-design-vue-jeecg/public/index.html
  2. 38
      ant-design-vue-jeecg/src/views/system/Depart3List.vue
  3. 60
      ant-design-vue-jeecg/src/views/zyWorkProduct/ZyProductList.vue
  4. 310
      ant-design-vue-jeecg/src/views/zyWorkorderManagement/ZyProductionOrderList.vue
  5. 38
      ant-design-vue-jeecg/src/views/zyWorkorderManagement/ZyWorkOrderList.vue
  6. 2
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/JeecgSystemApplication.java
  7. 16
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/workorder/controller/WorkOrderController.java

@ -8,6 +8,12 @@
<title>黄淮学院服装智能制造管理平台</title> <title>黄淮学院服装智能制造管理平台</title>
<link rel="icon" href="<%= BASE_URL %>logohuanghuai.png"> <link rel="icon" href="<%= BASE_URL %>logohuanghuai.png">
<script src="<%= BASE_URL %>cdn/babel-polyfill/polyfill_7_2_5.js"></script> <script src="<%= BASE_URL %>cdn/babel-polyfill/polyfill_7_2_5.js"></script>
<!--<script src="https://cdn.bootcss.com/vue/2.6.10/vue.min.js"></script>-->
<!--<script src="https://cdn.bootcss.com/axios/0.19.0-beta.1/axios.min.js"></script>-->
<!--<script src="https://cdn.bootcss.com/vuex/3.1.0/vuex.min.js"></script>-->
<!--<script src="https://cdn.bootcss.com/vue-router/3.0.1/vue-router.min.js"></script>-->
<!--<script src="https://cdn.bootcss.com/element-ui/2.6.1/index.js"></script>-->
<style> <style>
html, html,
body, body,
@ -268,7 +274,7 @@
<!-- 全局配置 --> <!-- 全局配置 -->
<script> <script>
window._CONFIG = {}; window._CONFIG = {};
window._CONFIG['domianURL'] = 'http://localhost:8081/jeecg-boot'; window._CONFIG['domianURL'] = 'http://localhost:10085/jeecg-boot';
window._CONFIG['casPrefixUrl'] = 'http://cas.example.org:8443/cas'; window._CONFIG['casPrefixUrl'] = 'http://cas.example.org:8443/cas';
window._CONFIG['imgDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/view'; window._CONFIG['imgDomainURL'] = window._CONFIG['domianURL'] + '/sys/common/view';
window._CONFIG['downloadUrl'] = window._CONFIG['domianURL'] + '/sys/common/download'; window._CONFIG['downloadUrl'] = window._CONFIG['domianURL'] + '/sys/common/download';
@ -278,11 +284,28 @@
<body> <body>
<div id="app"> <div id="app">
<!--<script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.12/vue.min.js"></script>-->
<!--<script src="https://cdn.bootcdn.net/ajax/libs/vue-router/3.1.6/vue-router.min.js"></script>-->
<!--<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.18.1/axios.min.js"></script>-->
<!--<link href="https://cdn.bootcdn.net/ajax/libs/ant-design-vue/1.7.2/antd.min.css" rel="stylesheet">-->
<!--<script src="https://cdn.bootcdn.net/ajax/libs/ant-design-vue/1.7.2/antd.min.js"></script>-->
<!--<script src="https://cdn.bootcdn.net/ajax/libs/moment.js/2.29.1/moment.min.js"></script>-->
<!--<script src="https://cdn.bootcdn.net/ajax/libs/moment.js/2.29.1/locale/zh-cn.min.js"></script>-->
<!--<script src="https://cdn.bootcdn.net/ajax/libs/vuex/3.1.2/vuex.min.js"></script>-->
<!--<script src="https://cdn.bootcdn.net/ajax/libs/jsoneditor/9.0.0/jsoneditor.min.js"></script>-->
<!--<link href="https://cdn.bootcdn.net/ajax/libs/jsoneditor/9.0.0/jsoneditor.min.css" rel="stylesheet">-->
<!--<script src="https://cdn.bootcdn.net/ajax/libs/echarts/4.9.0-rc.1/echarts.min.js"></script>-->
<div id="loader-wrapper"> <div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div> <!--<div id="loader"></div>-->
<div class="loader-section section-right"></div> <!--<div class="loader-section section-left"></div>-->
<div class="load_title">正在加载 服装智能制造软件平台V3.0,请耐心等待 <!--<div class="loader-section section-right"></div>-->
<!--<div class="load_title">正在加载 服装智能制造软件平台V3.0,请耐心等待-->
</div> </div>
</div> </div>

@ -81,7 +81,7 @@
label="部门名称"> label="部门名称">
<a-input placeholder="请输入机构/部门名称" v-decorator="['departName', validatorRules.departName ]"/> <a-input placeholder="请输入机构/部门名称" v-decorator="['departName', validatorRules.departName ]"/>
</a-form-item> </a-form-item>
<template v-if="!orgCategoryDisabled"> <template v-if="!orgCategory">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="上级部门"> <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="上级部门">
<a-tree-select <a-tree-select
style="width:100%" style="width:100%"
@ -99,7 +99,19 @@
label="部门编码"> label="部门编码">
<a-input disabled placeholder="请输入部门编码" v-decorator="['orgCode', validatorRules.orgCode ]"/> <a-input disabled placeholder="请输入部门编码" v-decorator="['orgCode', validatorRules.orgCode ]"/>
</a-form-item> </a-form-item>
<template v-if="orgCategoryDisabled"> <template v-if="orgCategory">
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
label="排序">
<a-input-number v-decorator="[ 'departOrder',{'initialValue':0}]"/>
</a-form-item>
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
label="排序">
<a-input-number v-decorator="[ 'departOrder',{'initialValue':0}]"/>
</a-form-item>
<a-form-item <a-form-item
:labelCol="labelCol" :labelCol="labelCol"
:wrapperCol="wrapperCol" :wrapperCol="wrapperCol"
@ -135,14 +147,9 @@
<!--</template>--> <!--</template>-->
</a-form-item> </a-form-item>
</template> </template>
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
label="排序">
<a-input-number v-decorator="[ 'departOrder',{'initialValue':0}]"/>
</a-form-item>
<template v-if="orgCategoryDisabled">
<template v-if="orgTypeDisabled">
<a-form-item <a-form-item
:labelCol="labelCol" :labelCol="labelCol"
:wrapperCol="wrapperCol" :wrapperCol="wrapperCol"
@ -164,6 +171,12 @@
<!--label="备注">--> <!--label="备注">-->
<!--<a-textarea placeholder="请输入备注" v-decorator="['memo', {'initialValue':''}]"/>--> <!--<a-textarea placeholder="请输入备注" v-decorator="['memo', {'initialValue':''}]"/>-->
<!--</a-form-item>--> <!--</a-form-item>-->
<a-form-item
:labelCol="labelCol"
:wrapperCol="wrapperCol"
label="排序">
<a-input-number v-decorator="[ 'departOrder',{'initialValue':0}]"/>
</a-form-item>
</a-form> </a-form>
<div class="anty-form-btn"> <div class="anty-form-btn">
<a-button @click="emptyCurrForm" type="default" htmlType="button" icon="sync">重置</a-button> <a-button @click="emptyCurrForm" type="default" htmlType="button" icon="sync">重置</a-button>
@ -292,6 +305,7 @@
importExcelUrl: "sys/sysDepart/importExcel", importExcelUrl: "sys/sysDepart/importExcel",
}, },
orgCategoryDisabled:false, orgCategoryDisabled:false,
orgTypeDisabled:false,
} }
}, },
computed: { computed: {
@ -458,6 +472,12 @@
}else{ }else{
this.orgCategoryDisabled =true; this.orgCategoryDisabled =true;
} }
if(record.orgType == '1'){
this.orgTypeDisabled =true ;
}else{
this.orgTypeDisabled =false;
}
this.$nextTick(() => { this.$nextTick(() => {
// this.form.getFieldDecorator('fax', {initialValue: ''}) // this.form.getFieldDecorator('fax', {initialValue: ''})
this.form.setFieldsValue(pick(record, 'departName','orgCategory', 'orgCode', 'departOrder', 'mobile', 'fax', 'address', 'memo')) this.form.setFieldsValue(pick(record, 'departName','orgCategory', 'orgCode', 'departOrder', 'mobile', 'fax', 'address', 'memo'))

@ -11,27 +11,27 @@
<!-- 操作按钮区域 --> <!-- 操作按钮区域 -->
<div class="table-operator"> <div class="table-operator">
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> <!--<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>-->
<a-button type="primary" icon="download" @click="handleExportXls('产品表')">导出</a-button> <!--<a-button type="primary" icon="download" @click="handleExportXls('产品表')">导出</a-button>-->
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> <!--<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">-->
<a-button type="primary" icon="import">导入</a-button> <!--<a-button type="primary" icon="import">导入</a-button>-->
</a-upload> <!--</a-upload>-->
<!-- 高级查询区域 --> <!-- 高级查询区域 -->
<j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query> <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
<a-dropdown v-if="selectedRowKeys.length > 0"> <!--<a-dropdown v-if="selectedRowKeys.length > 0">-->
<a-menu slot="overlay"> <!--<a-menu slot="overlay">-->
<a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item> <!--<a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>-->
</a-menu> <!--</a-menu>-->
<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button> <!--<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>-->
</a-dropdown> <!--</a-dropdown>-->
</div> </div>
<!-- table区域-begin --> <!-- table区域-begin -->
<div> <div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> <!--<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">-->
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a> <!--<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>-->
<a style="margin-left: 24px" @click="onClearSelected">清空</a> <!--<a style="margin-left: 24px" @click="onClearSelected">清空</a>-->
</div> <!--</div>-->
<a-table <a-table
ref="table" ref="table"
@ -68,22 +68,22 @@
</template> </template>
<span slot="action" slot-scope="text, record"> <span slot="action" slot-scope="text, record">
<a @click="handleEdit(record)">编辑</a>
<a-divider type="vertical" />
<a-dropdown>
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
<a-menu slot="overlay">
<a-menu-item>
<a @click="handleDetail(record)">详情</a> <a @click="handleDetail(record)">详情</a>
</a-menu-item>
<a-menu-item> <!--<a-divider type="vertical" />-->
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)"> <!--<a-dropdown>-->
<a>删除</a> <!--<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>-->
</a-popconfirm> <!--<a-menu slot="overlay">-->
</a-menu-item> <!--<a-menu-item>-->
</a-menu> <!--<a @click="handleDetail(record)">详情</a>-->
</a-dropdown> <!--</a-menu-item>-->
<!--<a-menu-item>-->
<!--<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">-->
<!--<a>删除</a>-->
<!--</a-popconfirm>-->
<!--</a-menu-item>-->
<!--</a-menu>-->
<!--</a-dropdown>-->
</span> </span>
</a-table> </a-table>

@ -4,11 +4,11 @@
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery"> <a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <!--<a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<a-form-item label="是否子单"> <!--<a-form-item label="是否子单">-->
<j-dict-select-tag placeholder="请选择是否子单" v-model="queryParam.ischild" dictCode="ischild"/> <!--<j-dict-select-tag placeholder="请选择是否子单" v-model="queryParam.ischild" dictCode="ischild"/>-->
</a-form-item> <!--</a-form-item>-->
</a-col> <!--</a-col>-->
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="订单编号"> <a-form-item label="订单编号">
<a-input placeholder="请输入订单编号" v-model="queryParam.ordersNum"></a-input> <a-input placeholder="请输入订单编号" v-model="queryParam.ordersNum"></a-input>
@ -19,46 +19,46 @@
<j-dict-select-tag placeholder="请选择订单类型" v-model="queryParam.ordersType" dictCode="orders_type"/> <j-dict-select-tag placeholder="请选择订单类型" v-model="queryParam.ordersType" dictCode="orders_type"/>
</a-form-item> </a-form-item>
</a-col> </a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <!--<a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<a-form-item label="支付方式"> <!--<a-form-item label="支付方式">-->
<j-dict-select-tag placeholder="请选择支付方式" v-model="queryParam.paymentMethod" dictCode="payment_method"/> <!--<j-dict-select-tag placeholder="请选择支付方式" v-model="queryParam.paymentMethod" dictCode="payment_method"/>-->
</a-form-item> <!--</a-form-item>-->
</a-col> <!--</a-col>-->
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <!--<a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<a-form-item label="支付状态"> <!--<a-form-item label="支付状态">-->
<j-dict-select-tag placeholder="请选择支付状态" v-model="queryParam.paymentStatus" dictCode="payment_status"/> <!--<j-dict-select-tag placeholder="请选择支付状态" v-model="queryParam.paymentStatus" dictCode="payment_status"/>-->
</a-form-item> <!--</a-form-item>-->
</a-col> <!--</a-col>-->
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <!--<a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<a-form-item label="账号/卡号"> <!--<a-form-item label="账号/卡号">-->
<a-input placeholder="请输入账号/卡号" v-model="queryParam.accountNo"></a-input> <!--<a-input placeholder="请输入账号/卡号" v-model="queryParam.accountNo"></a-input>-->
</a-form-item> <!--</a-form-item>-->
</a-col> <!--</a-col>-->
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <!--<a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<a-form-item label="城市"> <!--<a-form-item label="城市">-->
<j-area-linkage type="cascader" v-model="queryParam.cityId" placeholder="请选择省市区"/> <!--<j-area-linkage type="cascader" v-model="queryParam.cityId" placeholder="请选择省市区"/>-->
</a-form-item> <!--</a-form-item>-->
</a-col> <!--</a-col>-->
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <!--<a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<a-form-item label="发票客户类型"> <!--<a-form-item label="发票客户类型">-->
<j-dict-select-tag placeholder="请选择发票客户类型" v-model="queryParam.invoiceCustomerType" dictCode="invoice_customer_type"/> <!--<j-dict-select-tag placeholder="请选择发票客户类型" v-model="queryParam.invoiceCustomerType" dictCode="invoice_customer_type"/>-->
</a-form-item> <!--</a-form-item>-->
</a-col> <!--</a-col>-->
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <!--<a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<a-form-item label="发票类型"> <!--<a-form-item label="发票类型">-->
<j-dict-select-tag placeholder="请选择发票类型" v-model="queryParam.invoiceType" dictCode="invoice_type"/> <!--<j-dict-select-tag placeholder="请选择发票类型" v-model="queryParam.invoiceType" dictCode="invoice_type"/>-->
</a-form-item> <!--</a-form-item>-->
</a-col> <!--</a-col>-->
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <!--<a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<a-form-item label="公户账号"> <!--<a-form-item label="公户账号">-->
<a-input placeholder="请输入公户账号" v-model="queryParam.accountNumber"></a-input> <!--<a-input placeholder="请输入公户账号" v-model="queryParam.accountNumber"></a-input>-->
</a-form-item> <!--</a-form-item>-->
</a-col> <!--</a-col>-->
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <!--<a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<a-form-item label="物流企业"> <!--<a-form-item label="物流企业">-->
<j-select-depart placeholder="请选择物流企业" v-model="queryParam.logisticsEnterprisesId"/> <!--<j-select-depart placeholder="请选择物流企业" v-model="queryParam.logisticsEnterprisesId"/>-->
</a-form-item> <!--</a-form-item>-->
</a-col> <!--</a-col>-->
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="交付状态"> <a-form-item label="交付状态">
<j-dict-select-tag placeholder="请选择交付状态" v-model="queryParam.deliveryStatus" dictCode="delivery_status"/> <j-dict-select-tag placeholder="请选择交付状态" v-model="queryParam.deliveryStatus" dictCode="delivery_status"/>
@ -94,10 +94,10 @@
<!-- table区域-begin --> <!-- table区域-begin -->
<div> <div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> <!--<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">-->
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a> <!--<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>-->
<a style="margin-left: 24px" @click="onClearSelected">清空</a> <!--<a style="margin-left: 24px" @click="onClearSelected">清空</a>-->
</div> <!--</div>-->
<a-table <a-table
ref="table" ref="table"
@ -210,31 +210,31 @@
return !text?"":(text.length>10?text.substr(0,10):text) return !text?"":(text.length>10?text.substr(0,10):text)
} }
}, },
// {
// title:'',
// align:"center",
// dataIndex: 'ordersNum'
// },
{ {
title:'总金额(元)', title:'订单编号',
align:"center",
dataIndex: 'money'
},
{
title:'运费',
align:"center",
dataIndex: 'freight'
},
{
title:'促销',
align:"center",
dataIndex: 'promotionPrice'
},
{
title:'实付款',
align:"center", align:"center",
dataIndex: 'actualPayment' dataIndex: 'ordersNum'
}, },
// {
// title:'()',
// align:"center",
// dataIndex: 'money'
// },
// {
// title:'',
// align:"center",
// dataIndex: 'freight'
// },
// {
// title:'',
// align:"center",
// dataIndex: 'promotionPrice'
// },
// {
// title:'',
// align:"center",
// dataIndex: 'actualPayment'
// },
{ {
title:'交货期(天)', title:'交货期(天)',
align:"center", align:"center",
@ -245,60 +245,60 @@
align:"center", align:"center",
dataIndex: 'ordersType_dictText' dataIndex: 'ordersType_dictText'
}, },
{ // {
title:'顾客', // title:'',
align:"center", // align:"center",
dataIndex: 'userId_dictText' // dataIndex: 'userId_dictText'
}, // },
// { // {
// title:'', // title:'',
// align:"center", // align:"center",
// dataIndex: 'goodsQuantity' // dataIndex: 'goodsQuantity'
// }, // },
{ // {
title:'支付方式', // title:'',
align:"center", // align:"center",
dataIndex: 'paymentMethod_dictText' // dataIndex: 'paymentMethod_dictText'
}, // },
{ {
title:'支付状态', title:'支付状态',
align:"center", align:"center",
dataIndex: 'paymentStatus_dictText' dataIndex: 'paymentStatus_dictText'
}, },
{ // {
title:'账号/卡号', // title:'/',
align:"center", // align:"center",
dataIndex: 'accountNo' // dataIndex: 'accountNo'
}, // },
{ // {
title:'开户银行', // title:'',
align:"center", // align:"center",
dataIndex: 'bankDeposit' // dataIndex: 'bankDeposit'
}, // },
{ // {
title:'支付时间', // title:'',
align:"center", // align:"center",
dataIndex: 'paymentTime', // dataIndex: 'paymentTime',
customRender:function (text) { // customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text) // return !text?"":(text.length>10?text.substr(0,10):text)
} // }
}, // },
{ // {
title:'城市', // title:'',
align:"center", // align:"center",
dataIndex: 'cityId', // dataIndex: 'cityId',
scopedSlots: {customRender: 'pcaSlot'} // scopedSlots: {customRender: 'pcaSlot'}
}, // },
{ // {
title:'地址', // title:'',
align:"center", // align:"center",
dataIndex: 'address' // dataIndex: 'address'
}, // },
{ // {
title:'邮编', // title:'',
align:"center", // align:"center",
dataIndex: 'zipCode' // dataIndex: 'zipCode'
}, // },
{ {
title:'收货人', title:'收货人',
align:"center", align:"center",
@ -309,41 +309,41 @@
align:"center", align:"center",
dataIndex: 'mobile' dataIndex: 'mobile'
}, },
{ // {
title:'发票客户类型', // title:'',
align:"center", // align:"center",
dataIndex: 'invoiceCustomerType_dictText' // dataIndex: 'invoiceCustomerType_dictText'
}, // },
{ // {
title:'发票类型', // title:'',
align:"center", // align:"center",
dataIndex: 'invoiceType_dictText' // dataIndex: 'invoiceType_dictText'
}, // },
{ // {
title:'纳税人识别号', // title:'',
align:"center", // align:"center",
dataIndex: 'taxIdentificationNumber' // dataIndex: 'taxIdentificationNumber'
}, // },
{ // {
title:'开票地址', // title:'',
align:"center", // align:"center",
dataIndex: 'addressBilling' // dataIndex: 'addressBilling'
}, // },
{ // {
title:'电话', // title:'',
align:"center", // align:"center",
dataIndex: 'telephone' // dataIndex: 'telephone'
}, // },
{ // {
title:'公户开户行', // title:'',
align:"center", // align:"center",
dataIndex: 'bankPublic' // dataIndex: 'bankPublic'
}, // },
{ // {
title:'公户账号', // title:'',
align:"center", // align:"center",
dataIndex: 'accountNumber' // dataIndex: 'accountNumber'
}, // },
{ {
title:'销售门店', title:'销售门店',
align:"center", align:"center",
@ -354,11 +354,11 @@
align:"center", align:"center",
dataIndex: 'salespersonId_dictText' dataIndex: 'salespersonId_dictText'
}, },
{ // {
title:'物流企业', // title:'',
align:"center", // align:"center",
dataIndex: 'logisticsEnterprisesId_dictText' // dataIndex: 'logisticsEnterprisesId_dictText'
}, // },
{ {
title:'交付状态', title:'交付状态',
align:"center", align:"center",

@ -14,21 +14,19 @@
<a-input placeholder="请输入订单编号" v-model="queryParam.orderCode"></a-input> <a-input placeholder="请输入订单编号" v-model="queryParam.orderCode"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
<template v-if="toggleSearchStatus">
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="客户名称"> <a-form-item label="客户名称">
<a-input placeholder="请输入客户名称" v-model="queryParam.customerName"></a-input> <a-input placeholder="请输入客户名称" v-model="queryParam.customerName"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
</template>
<a-col :xl="6" :lg="7" :md="8" :sm="24"> <a-col :xl="6" :lg="7" :md="8" :sm="24">
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<a-button type="primary" @click="searchQuery" icon="search">查询</a-button> <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button> <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
<a @click="handleToggleSearch" style="margin-left: 8px"> <!--<a @click="handleToggleSearch" style="margin-left: 8px">-->
{{ toggleSearchStatus ? '收起' : '展开' }} <!--{{ toggleSearchStatus ? '收起' : '展开' }}-->
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/> <!--<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>-->
</a> <!--</a>-->
</span> </span>
</a-col> </a-col>
</a-row> </a-row>
@ -38,25 +36,25 @@
<!-- 操作按钮区域 --> <!-- 操作按钮区域 -->
<div class="table-operator"> <div class="table-operator">
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> <!--<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>-->
<a-button type="primary" icon="download" @click="handleExportXls('工单订单完工')">导出</a-button> <a-button type="primary" icon="download" @click="handleExportXls('工单订单完工')">导出</a-button>
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> <!--<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">-->
<a-button type="primary" icon="import">导入</a-button> <!--<a-button type="primary" icon="import">导入</a-button>-->
</a-upload> <!--</a-upload>-->
<a-dropdown v-if="selectedRowKeys.length > 0"> <!--<a-dropdown v-if="selectedRowKeys.length > 0">-->
<a-menu slot="overlay"> <!--<a-menu slot="overlay">-->
<a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item> <!--<a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>-->
</a-menu> <!--</a-menu>-->
<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button> <!--<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>-->
</a-dropdown> <!--</a-dropdown>-->
</div> </div>
<!-- table区域-begin --> <!-- table区域-begin -->
<div> <div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;"> <!--<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">-->
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a> <!--<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>-->
<a style="margin-left: 24px" @click="onClearSelected">清空</a> <!--<a style="margin-left: 24px" @click="onClearSelected">清空</a>-->
</div> <!--</div>-->
<a-table <a-table
ref="table" ref="table"

@ -29,7 +29,7 @@ import java.net.UnknownHostException;
@Slf4j @Slf4j
@SpringBootApplication(exclude = {org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class, @SpringBootApplication(exclude = {org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class,
org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration.class org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration.class
,org.activiti.spring.boot.SecurityAutoConfiguration.class // ,org.activiti.spring.boot.SecurityAutoConfiguration.class
}) })
@EnableScheduling @EnableScheduling
@EnableTransactionManagement @EnableTransactionManagement

@ -332,11 +332,11 @@ public class WorkOrderController extends JeecgController<WorkOrder, IWorkOrderSe
csWrapper.eq("style_id",ogModel.getStyleId()); csWrapper.eq("style_id",ogModel.getStyleId());
csWrapper.eq("stylemodel_id",ogModel.getModelId()); csWrapper.eq("stylemodel_id",ogModel.getModelId());
List<ZyClothSample> csList=zyClothSampleService.list(csWrapper); List<ZyClothSample> csList=zyClothSampleService.list(csWrapper);
// if(csList.size()<=0) if(csList.size()<=0)
// { {
// return Result.error("商品成衣样板不存在,请检查后在操作!"); return Result.error("商品成衣样板不存在,请检查后在操作!");
// } }
// ZyClothSample cSampleModel=csList.get(0); ZyClothSample cSampleModel=csList.get(0);
int goodNum=ogModel.getGoodsNum(); int goodNum=ogModel.getGoodsNum();
WorkOrder workOrder=new WorkOrder(); WorkOrder workOrder=new WorkOrder();
@ -372,9 +372,9 @@ public class WorkOrderController extends JeecgController<WorkOrder, IWorkOrderSe
// productModel.setTotalMachine("");// 合计(设备秒) // productModel.setTotalMachine("");// 合计(设备秒)
// productModel.setEnterprisesId("");//_id 企业id // productModel.setEnterprisesId("");//_id 企业id
productModel.setUserId(zyOrders.getUserId());//_id 用户id productModel.setUserId(zyOrders.getUserId());//_id 用户id
// productModel.setStructureDiagram(cSampleModel.getStructureDiagram());//_diagram 结构图 productModel.setStructureDiagram(cSampleModel.getStructureDiagram());//_diagram 结构图
// productModel.setLayoutDiagram(cSampleModel.getLayoutDiagram());//_diagram 排料图 productModel.setLayoutDiagram(cSampleModel.getLayoutDiagram());//_diagram 排料图
// productModel.setProductPicture(cSampleModel.getUrl());//_picture 产品图片 productModel.setProductPicture(cSampleModel.getUrl());//_picture 产品图片
productModel.setHeight(mesureModel.getHeight());// 身高 productModel.setHeight(mesureModel.getHeight());// 身高
productModel.setWeight(mesureModel.getWeight());// 体重 productModel.setWeight(mesureModel.getWeight());// 体重
productModel.setHem(mesureModel.getHem());// 下摆 productModel.setHem(mesureModel.getHem());// 下摆

Loading…
Cancel
Save