Browse Source

修改基本显示

dev
caoyizhong 2 years ago
parent
commit
d44bca16aa
  1. 8
      src/defaultSettings.js
  2. 24
      src/views/activiti/form/ProcessMaterialWarehousingForm.vue
  3. 119
      src/views/activiti/form/ProcessMaterialsAllotForm.vue
  4. 86
      src/views/activiti/form/ProcessMaterialsDeliveryForm.vue
  5. 6
      src/views/activiti/form/ProcessUdgetPlanForm.vue
  6. 44
      src/views/suppliesstronger/ProcessSuppliesStrongerList.vue
  7. 157
      src/views/suppliesstronger/ProcessSuppliesStrongerLists.vue

8
src/defaultSettings.js

@ -18,10 +18,10 @@ export default {
navTheme: 'dark', // theme for nav menu
layout: 'sidemenu', // nav menu position: sidemenu or topmenu
contentWidth: 'Fixed', // layout of content: Fluid or Fixed, only works when layout is topmenu
fixedHeader: false, // sticky header
fixSiderbar: false, // sticky siderbar
autoHideHeader: false, // auto hide header
colorWeak: false,
fixedHeader: true, // sticky header
fixSiderbar: true, // sticky siderbar
autoHideHeader: true, // auto hide header
colorWeak: true,
multipage: true, //默认多页签模式
// vue-ls options
storageOptions: {

24
src/views/activiti/form/ProcessMaterialWarehousingForm.vue

@ -76,12 +76,13 @@
<a-tabs v-model="activeKey" @change="handleChangeTabs">
<a-tab-pane tab="物资入库流程清单表" :key="refKeys[0]" :forceRender="true">
<j-editable-table
:ref="refKeys[0]"
ref="processMaterialWarehousingList"
:loading="processMaterialWarehousingListTable.loading"
:columns="processMaterialWarehousingListTable.columns"
:dataSource="processMaterialWarehousingListTable.dataSource"
:maxHeight="300"
:disabled="formDisabled"
@valueChange ="onSelect"
:rowNumber="true"
:rowSelection="true"
:actionButton="false" />
@ -352,6 +353,27 @@ import JSelectUserByDep from '@/components/jeecgbiz/JSelectUserByDep'
this.popupCallback(company, userInfo, puwwcid)
},
methods: {
//tab
onSelect(record){
// console.log(record.row);
if(record.row.materialPrice !== '' && record.row.materialQuantity !== ''){
if(record.row.id !== undefined){
let values = [
{
rowKey: record.row.id,
values: {
'materialAmount': record.row.materialPrice * record.row.materialQuantity,
},
},
]
// console.log(values);
this.$refs.processMaterialWarehousingList.setValues(values);
}
}
},
/*回显数据*/
init() {
this.btndisabled = true

119
src/views/activiti/form/ProcessMaterialsAllotForm.vue

@ -59,7 +59,7 @@
<!-- 子表单区域 -->
<a-tabs v-model="activeKey" @change="handleChangeTabs">
<a-tab-pane tab="物资调拨流程调拨清单" :key="refKeys[0]" :forceRender="true">
<j-editable-table
<p-editable-table
ref="processMaterialsAllotList"
:loading="processMaterialsAllotListTable.loading"
:columns="processMaterialsAllotListTable.columns"
@ -70,6 +70,7 @@
:rowSelection="true"
:actionButton="true"
@valueChange ="onSelect"
@descriptionFetch="descriptionFetchData"
/>
</a-tab-pane>
</a-tabs>
@ -203,14 +204,14 @@
placeholder: '请输入${title}',
defaultValue: ''
},
{
title: '库存数量',
key: 'number',
type: FormTypes.inputNumber,
width: '200px',
placeholder: '请输入${title}',
defaultValue: ''
},
// {
// title: '',
// key: 'number',
// type: FormTypes.inputNumber,
// width: '200px',
// placeholder: '${title}',
// defaultValue: ''
// },
{
title: '调拨目标',
key: 'allotTarget',
@ -284,6 +285,7 @@
processPlan: { rules: [{ required: true, message: '请选择流程计划!' }] }
},
bigIdMerchandiseNewsList:[],
materialGroupId: '',
}
},
props: {
@ -354,11 +356,37 @@
methods: {
async onSelect(record) {
// console.log(record)
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined && record.row.equipment === ''){
let isDB = true;
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined){
// console.log("materialGroup")
this.fetchMerchandiseNews(record.row.materialGroup,1);
if(record.row.id !== '' && record.row.id !== undefined && this.materialGroupId != record.row.materialGroup ){
this.fetchMerchandiseNews(record.row.materialGroup,1);
let value = [
{
rowKey: record.row.id,
values: {
'equipment': '',
'materialGroup': record.row.materialGroup,
'materialName': '',
'materialUnit': '',
'supplierId': '',
'materialPrice': '',
// 'number': '',
'allotNumber': '',
'materialAmount': '',
},
},
]
this.$nextTick(()=>{
this.$refs.processMaterialsAllotList.setValues(value);
})
this.materialGroupId = record.row.materialGroup;
isDB = false;
}
}
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined && record.row.equipment !== '' && record.row.allotNumber === '' ){
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined && record.row.equipment !== '' && record.row.allotNumber === '' && isDB ){
// console.log("materialNumber")
let materialName = {}
this.bigIdMerchandiseNewsList.forEach(item => {
@ -366,9 +394,9 @@
materialName = {
name: item.merchandiseName,
unit: item.materialsUnit,
supplierName: item.supplierName,
supplierName: item.supplierId,
price: item.materialPrice,
number : item.residueNumber === undefined ? 0 : item.residueNumber,
// number : item.residueNumber === undefined ? 0 : item.residueNumber,
}
}
})
@ -380,9 +408,9 @@
'materialGroup': record.row.materialGroup,
'materialName': materialName.name,
'materialUnit': materialName.unit,
'supplier': materialName.supplierName,
'supplierId': materialName.supplierName,
'materialPrice': materialName.price,
'number': materialName.number,
// 'number': materialName.number,
'materialAmount': 0,
},
},
@ -392,7 +420,7 @@
}
//
if(record.row.allotNumber !== '' && record.row.allotNumber !== undefined){
if(record.row.allotNumber !== '' && record.row.allotNumber !== undefined && isDB){
let res = record.row;
let materialName = {}
this.bigIdMerchandiseNewsList.forEach(item => {
@ -403,31 +431,33 @@
}
})
// console.log("materialName.residueNumber",materialName.residueNumber)
if(parseInt( res.allotNumber) > parseInt( materialName.number )){
// console.log("")
this.$message.warn("输入调拨数量不能大于库存数量")
res.allotNumber = materialName.number;
}
let value = [
{
rowKey: res.id,
values: {
'equipment': res.equipment,
// 'materialGroup': res.materialGroup,
// 'materialName': res.name,
// 'materialUnit': res.unit,
// 'supplier': res.supplierName,
// 'materialPrice': res.price,
// 'number': res.number,
'allotNumber': res.allotNumber,
'materialAmount': res.materialPrice * parseInt( res.allotNumber),
// if(parseInt( res.allotNumber) > parseInt( materialName.number )){
// // console.log("")
// this.$message.warn("")
// res.allotNumber = materialName.number;
// }
if(res.id != undefined){
let value = [
{
rowKey: res.id,
values: {
'equipment': res.equipment,
// 'materialGroup': res.materialGroup,
// 'materialName': res.name,
// 'materialUnit': res.unit,
// 'supplier': res.supplierName,
// 'materialPrice': res.price,
// 'number': res.number,
'allotNumber': res.allotNumber,
'materialAmount': res.materialPrice * parseInt( res.allotNumber),
},
},
},
]
this.$nextTick(()=>{
this.$refs.processMaterialsAllotList.setValues(value);
})
]
this.$nextTick(()=>{
this.$refs.processMaterialsAllotList.setValues(value);
})
};
// console.log('****>',value)
}
@ -496,7 +526,7 @@
});
},
fetchData(value){ //
descriptionFetchData(value){ //
//
let par = {
delFlag: 0,
@ -537,13 +567,10 @@
},
materialType(val) {
if (val !== undefined) {
this.heid = false
this.fetchData(val);
this.descriptionFetchData(val);
}
},
/*回显数据*/

86
src/views/activiti/form/ProcessMaterialsDeliveryForm.vue

@ -298,6 +298,7 @@
deliveryTime: { rules: [{ required: true, message: '请选择出库时间!' }] },
processPlan: { rules: [{ required: true, message: '请选择流程计划!' }] }
},
materialGroupId: '',
}
},
props: {
@ -335,13 +336,14 @@
},
computed: {
formDisabled() {
console.log("执行了")
if (this.formBpm === true) {
if (this.formData.disabled === false) {
return false
}
return true
}
return this.heid = false
return this.disabled = false
},
showFlowSubmitButton() {
if (this.formBpm === true) {
@ -383,17 +385,41 @@
},
async onSelect(record) {
// console.log(record)
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined && record.row.equipment === ''){
// console.log("materialGroup")
if(this.rolePlay ){
await this.fetchMerchandiseNewsZW(record.row.materialGroup, 1);
}else{
await this.fetchMerchandiseNews(record.row.materialGroup, 1);
}
let isMA= true;
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined){
if(record.row.id !== undefined && record.row.id !== '' && record.row.materialGroup !== this.materialGroupId){
// console.log("materialGroup")
if(this.rolePlay){
await this.fetchMerchandiseNewsZW(record.row.materialGroup, 1);
}else{
await this.fetchMerchandiseNews(record.row.materialGroup, 1);
}
let valu = [
{
rowKey: record.row.id,
values: {
'equipment': '',
'materialGroup': record.row.materialGroup,
'materialName': '',
'materialUnit': '',
'supplierId': '',
'materialPrice': '',
'actualSendNumber': '',
'materialAmount': '',
'pleaseSendNumber': '',
},
},
]
// console.log(valu)
this.$refs.processMaterialsDeliveryList.setValues(valu);
this.materialGroupId = record.row.materialGroup;
isMA = false;
}
}
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined && record.row.equipment !== '' && record.row.actualSendNumber === '' ){
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined && record.row.equipment !== '' && record.row.equipment !== undefined && isMA ){
// console.log("materialNumber")
let materialName = {}
this.bigIdMerchandiseNewsList.forEach(item => {
@ -407,26 +433,29 @@
}
}
})
let values = [
{
rowKey: record.row.id,
values: {
'equipment': record.row.equipment,
'materialGroup': record.row.materialGroup,
'materialName': materialName.name,
'materialUnit': materialName.unit,
'supplier': materialName.supplierName,
'materialPrice': materialName.price,
'actualSendNumber': materialName.residueNumber,
'materialAmount': materialName.price * materialName.residueNumber,
if(record.row.id !== undefined){
let values = [
{
rowKey: record.row.id,
values: {
'equipment': record.row.equipment,
'materialGroup': record.row.materialGroup,
'materialName': materialName.name,
'materialUnit': materialName.unit,
'supplierId': materialName.supplierName,
'materialPrice': materialName.price,
'actualSendNumber': materialName.residueNumber,
'materialAmount': materialName.price * materialName.residueNumber,
},
},
},
]
this.$refs.processMaterialsDeliveryList.setValues(values);
]
this.$refs.processMaterialsDeliveryList.setValues(values);
}
}
//
if(record.row.pleaseSendNumber !== '' && record.row.pleaseSendNumber !== undefined){
if(record.row.pleaseSendNumber !== '' && record.row.pleaseSendNumber !== undefined && isMA ){
// console.log("",record.row)
let res = record.row;
let materialName = {}
@ -447,7 +476,7 @@
// console.log("")
res.actualSendNumber = res.pleaseSendNumber;
}
if(res.id !== undefined ){
let value = [
{
rowKey: res.id,
@ -467,6 +496,9 @@
this.$nextTick(()=>{
this.$refs.processMaterialsDeliveryList.setValues(value);
})
}
// console.log('****>',value)
}
@ -888,7 +920,7 @@
let params = {}
params.id = sessionStorage.getItem('PUWWC_Id')//id
getAction(this.url.unitWasteWarehouseList, params).then((res) => {
// console.log(res)
console.log(res)
if (res.success) {
//
let par = {

6
src/views/activiti/form/ProcessUdgetPlanForm.vue

@ -563,7 +563,7 @@
let isEr = true;
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined){
if( record.row.id !== undefined && record.row.id !== '' && this.isBu !== record.row.materialGroup ){
console.log("1出发了",record.row);
// console.log("1",record.row);
this.fetchMerchandiseNews(record.row.materialGroup);
this.isBu = record.row.materialGroup;
let values = [
@ -586,7 +586,7 @@
}
// console.log("5555",record.row);
if(record.row.materialGroup !== '' && record.row.materialGroup !== undefined && record.row.materialNumber !== '' && record.row.materialNumber !== undefined && isEr){
console.log("2出发了",record.row);
// console.log("2",record.row);
let materialName = { }
// console.log("this.bigIdMerchandiseNewsList",this.bigIdMerchandiseNewsList)
this.bigIdMerchandiseNewsList.forEach( item => {
@ -622,7 +622,7 @@
if(record.row.materialQuantity !== '' && record.row.materialPrice !== '' && record.row.materialQuantity !== undefined && record.row.materialPrice !== undefined){
// record.row.materialAmount = record.row.materialQuantity * record.row.materialPrice;
console.log("3出发了",record.row);
// console.log("3",record.row);
if(record.row.id !== undefined){
let values = [
{

44
src/views/suppliesstronger/ProcessSuppliesStrongerList.vue

@ -35,7 +35,7 @@
<!-- 操作按钮区域 -->
<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-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
<a-button type="primary" icon="import">导入</a-button>
@ -93,7 +93,7 @@
<span slot="action" slot-scope="text, record" style="overflow: hidden;" class="table-page-search-submitButtons">
<a-dropdown>
<a class="ant-dropdown-link" @click="handleDetaills(record)">详情<a-icon type="down" /></a>
<a class="ant-dropdown-link" @click="handleDetaills(record)"><i type="down"></i>明细</a>
</a-dropdown>
</span>
@ -147,22 +147,39 @@
dataIndex: 'descriptionName'
},
{
title:'物料',
title:'物料',
align:"center",
dataIndex: 'materialsNumber'
},
{
title:'物料名称',
align:"center",
dataIndex: 'merchandiseName'
},
{
title:'规格',
align:"center",
dataIndex: 'merchandiseName'
},
{
title:'物料描述',
title:'型号',
align:"center",
dataIndex: 'merchandiseName'
},
{
title:'计量单位',
align:"center",
dataIndex: 'materialsUnit'
},
{
title:'数量',
title:'总库数量',
align:"center",
dataIndex: 'materialQuantity'
},
{
title:'项目部数量',
align:"center",
dataIndex: 'materialQuantity'
},
@ -172,7 +189,7 @@
dataIndex: 'accountingAttributes_dictText'
},
{
title: '详情',
title: '明细',
dataIndex: 'action',
align:"center",
fixed:"right",
@ -203,7 +220,20 @@
methods: {
handleDetaills(record){
console.log(record);
this.$router.push({name:'src-views-suppliesstronger-ProcessSuppliesStrongerLists',params:{item: record.merchandiseNewsId}})
var temomen = {
name: 'src-views-suppliesstronger-ProcessSuppliesStrongerLists',
hidden: true,
meta: {
title: 'title',
keepAlive: true,
hiddenHeaderContent: true,
}
}
this.tabs
// this.$router.push({name:'src-views-suppliesstronger-ProcessSuppliesStrongerLists',params:{item: record.merchandiseNewsId}})
},
initDictConfig(){
},

157
src/views/suppliesstronger/ProcessSuppliesStrongerLists.vue

@ -4,24 +4,24 @@
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
<a-col :xl="4" :lg="7" :md="8" :sm="16">
<a-col :xl="5" :lg="7" :md="8" :sm="16">
<a-form-item label="供应商">
<a-input placeholder="请输入供应商信息" v-model="queryParam.supplier"></a-input>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="16">
<a-col :xl="5" :lg="7" :md="8" :sm="16">
<a-form-item label="物料组">
<a-input placeholder="请输入物料组" v-model="queryParam.itemGroup"/>
<a-input placeholder="请输入物料组" v-model="queryParam.descriptionId"/>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="16" hidden="hidden" >
<a-form-item label="物料">
<a-input placeholder="请输入物料" v-model="queryParam.item" disabled="disabled"/>
<a-col :xl="5" :lg="7" :md="8" :sm="16" hidden="hidden" >
<a-form-item label="物料">
<a-input placeholder="请输入物料" v-model="queryParam.materialsNumber" disabled="disabled"/>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="16">
<a-col :xl="5" :lg="7" :md="8" :sm="16">
<a-form-item label="物料描述">
<a-input placeholder="请输入物料描述" v-model="queryParam.itemDescription"/>
<a-input placeholder="请输入物料描述" v-model="queryParam.merchandiseName"/>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="16">
@ -29,46 +29,111 @@
<a-input placeholder="请选择仓储地点" v-model="queryParam.unitWasteWarehouseCodeId"/>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="16">
<a-form-item label="存储仓位">
<a-input placeholder="请选择存储仓位" v-model="queryParam.freightSpace"/>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="16">
<a-col :xl="5" :lg="7" :md="8" :sm="16">
<a-form-item label="生产日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
style="width: 180px"
style="width: 240px"
format="YYYY-MM-DD"
:placeholder="['开始时间', '结束时间']"
@change="onDateChange"
/>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="16">
<a-form-item label="入库批次">
<a-input placeholder="请选择批次" v-model="queryParam.supplierBatch"/>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="16">
<a-form-item label="保质期">
<a-input placeholder="请选择保质期" v-model="queryParam.expirationDate"/>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="16">
<a-form-item label="入库时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
style="width: 210px"
format="YYYY-MM-DD"
:placeholder="['开始时间', '结束时间']"
@change="onDateChangestorageTime"
/>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="16" style="margin-left: 30px">
<a-form-item label="入库人">
<a-input placeholder="请选择入库人" v-model="queryParam.librarySign"/>
</a-form-item>
</a-col>
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">-->
<!-- <a-form-item label="入库批次">-->
<!-- <a-input placeholder="请选择批次" v-model="queryParam.supplierBatch"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">-->
<!-- <a-form-item label="保质期">-->
<!-- <a-input placeholder="请选择保质期" v-model="queryParam.expirationDate"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">-->
<!-- <a-form-item label="入库时间" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
<!-- <a-range-picker-->
<!-- style="width: 245px"-->
<!-- format="YYYY-MM-DD"-->
<!-- :placeholder="['开始时间', '结束时间']"-->
<!-- @change="onDateChangestorageTime"-->
<!-- />-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16" style="margin-left: 30px">-->
<!-- <a-form-item label="入库人">-->
<!-- <a-input placeholder="请选择入库人" v-model="queryParam.librarySign"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="4" :lg="7" :md="8" :sm="16" style="margin-left: 30px">-->
<!-- </a-col>-->
</a-row>
<a-row :gutter="24">
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">-->
<!-- <a-form-item label="供应商">-->
<!-- <a-input placeholder="请输入供应商信息" v-model="queryParam.supplier"></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">-->
<!-- <a-form-item label="物料组">-->
<!-- <a-input placeholder="请输入物料组" v-model="queryParam.descriptionId"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16" hidden="hidden" >-->
<!-- <a-form-item label="物料号">-->
<!-- <a-input placeholder="请输入物料" v-model="queryParam.materialsNumber" disabled="disabled"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">-->
<!-- <a-form-item label="物料描述">-->
<!-- <a-input placeholder="请输入物料描述" v-model="queryParam.merchandiseName"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="4" :lg="7" :md="8" :sm="16">-->
<!-- <a-form-item label="仓储地点">-->
<!-- <a-input placeholder="请选择仓储地点" v-model="queryParam.unitWasteWarehouseCodeId"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="5" :lg="7" :md="8" :sm="16">-->
<!-- <a-form-item label="生产日期" :labelCol="labelCol" :wrapperCol="wrapperCol">-->
<!-- <a-range-picker-->
<!-- style="width: 240px"-->
<!-- format="YYYY-MM-DD"-->
<!-- :placeholder="['开始时间', '结束时间']"-->
<!-- @change="onDateChange"-->
<!-- />-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<a-col :xl="5" :lg="7" :md="8" :sm="16">
<a-form-item label="入库批次">
<a-input placeholder="请选择批次" v-model="queryParam.supplierBatch"/>
</a-form-item>
</a-col>
<a-col :xl="5" :lg="7" :md="8" :sm="16">
<a-form-item label="保质期">
<a-input placeholder="请选择保质期" v-model="queryParam.expirationDate"/>
</a-form-item>
</a-col>
<a-col :xl="5" :lg="7" :md="8" :sm="16">
<a-form-item label="入库时间" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-range-picker
style="width: 245px"
format="YYYY-MM-DD"
:placeholder="['开始时间', '结束时间']"
@change="onDateChangestorageTime"
/>
</a-form-item>
</a-col>
<a-col :xl="4" :lg="7" :md="8" :sm="16">
<a-form-item label="入库人">
<a-input placeholder="请选择入库人" v-model="queryParam.librarySign"/>
</a-form-item>
</a-col>
<!-- <a-col :xl="4" :lg="7" :md="8" :sm="16" style="margin-left: 30px">-->
<!-- </a-col>-->
</a-row>
</a-form>
</div>
@ -173,6 +238,7 @@
storageTime: null,
librarySign: null,
},
merchandiseNewsId: this.$route.params.item,
description: '物资总库管理详情页面',
columns: [
{
@ -263,7 +329,15 @@
{
title:'是否到货',
align:"center",
dataIndex: 'arrivalNotice'
dataIndex: 'arrivalNotice',
customRender(t,r,ind){
// console.log(t,r,ind);
if(r.arrivalNotice === '1'){
return "是";
}else{
return "否";
}
}
},
{
title:'入库时间',
@ -321,6 +395,7 @@
onDateChange: function (value, dateString) {
this.queryParam.productDateBegin=dateString[0];
this.queryParam.productDateEnd=dateString[1];
console.log()
},
onDateChangestorageTime: function (value, dateString) {
this.queryParam.inboundDateBegin=dateString[0];

Loading…
Cancel
Save