|
|
|
@ -44,16 +44,20 @@
|
|
|
|
|
<a-card :bodyStyle="tstyle" :bordered="false">
|
|
|
|
|
<div class="title"><i class="iconfont icon-fuwu"></i><span>货物状态</span></div>
|
|
|
|
|
<div class="content">
|
|
|
|
|
<div
|
|
|
|
|
class="items"
|
|
|
|
|
v-for="(serive, sindex) in booGoodsStatusItem"
|
|
|
|
|
:key="`${serive.systemCode}_${sindex}`"
|
|
|
|
|
:class="{ active: locaGoodsStatus.includes(serive.systemCode) }"
|
|
|
|
|
@click="saveGoodsStatus(serive)"
|
|
|
|
|
>
|
|
|
|
|
{{ serive.statusName }}
|
|
|
|
|
<div class="edit" @click.stop="FnOpenEdit(serive)"><a-icon type="edit" /></div>
|
|
|
|
|
</div>
|
|
|
|
|
<a-tooltip v-for="(serive, sindex) in booGoodsStatusItem" :key="`${serive.systemCode}_${sindex}`">
|
|
|
|
|
<template v-if="serive.finishTime" #title>
|
|
|
|
|
<p>时间:{{ serive.finishTime }}</p>
|
|
|
|
|
<p v-if="serive.remark">备注:{{ serive.remark }}</p>
|
|
|
|
|
</template>
|
|
|
|
|
<div
|
|
|
|
|
class="items"
|
|
|
|
|
:class="{ active: locaGoodsStatus.includes(serive.systemCode) }"
|
|
|
|
|
@click="saveGoodsStatus(serive)"
|
|
|
|
|
>
|
|
|
|
|
{{ serive.statusName }}
|
|
|
|
|
<div class="edit" @click.stop="FnOpenEdit(serive)"><a-icon type="edit" /></div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</div>
|
|
|
|
|
</a-card>
|
|
|
|
|
<a-modal v-model="GoodsStatusVisible" width="600px" title="编辑" @ok="GoodsStatusHandleOk">
|
|
|
|
@ -68,6 +72,11 @@
|
|
|
|
|
/>
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12" v-if="GoodsStatusEditData.systemCode == 'SQXS'">
|
|
|
|
|
<a-form-item label="显示天数" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input placeholder="请输入显示天数" v-decorator="['extData']" />
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
<a-col :span="12">
|
|
|
|
|
<a-form-item label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
|
|
|
|
|
<a-input placeholder="请输入备注" v-decorator="['remark']" />
|
|
|
|
@ -621,7 +630,8 @@ export default {
|
|
|
|
|
|
|
|
|
|
let data = {
|
|
|
|
|
finishTime: date.toISOString(),
|
|
|
|
|
remark: values.remark
|
|
|
|
|
remark: values.remark,
|
|
|
|
|
extData: values.remark
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let AData = { ...this.GoodsStatusEditData, ...data }
|
|
|
|
@ -690,7 +700,8 @@ export default {
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.StatusVisibleForm.setFieldsValue({
|
|
|
|
|
finishTime: data.finishTime ? data.finishTime : '',
|
|
|
|
|
remark: data.remark ? data.remark : ''
|
|
|
|
|
remark: data.remark ? data.remark : '',
|
|
|
|
|
extData: data.extData ? data.extData : ''
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}, 100)
|
|
|
|
|