|
|
@ -85,8 +85,9 @@ |
|
|
|
|
|
|
|
|
|
|
|
<span slot="action" slot-scope="text, record"> |
|
|
|
<span slot="action" slot-scope="text, record"> |
|
|
|
<!-- <a @click="handleEdit1(record,code)">编辑</a>--> |
|
|
|
<!-- <a @click="handleEdit1(record,code)">编辑</a>--> |
|
|
|
|
|
|
|
<a @click="handleDetail(record.fabricId,record.fabricId_dictText)">详情</a> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <a-divider type="vertical" />--> |
|
|
|
<a-divider type="vertical" /> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <a @click="handleDetail(record)">详情</a>--> |
|
|
|
<!-- <a @click="handleDetail(record)">详情</a>--> |
|
|
|
<!-- <a-divider type="vertical" />--> |
|
|
|
<!-- <a-divider type="vertical" />--> |
|
|
@ -100,6 +101,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<zy-process-fabric-modal @valueChange="valueChange" ref="modalForm" @ok="modalFormOk"></zy-process-fabric-modal> |
|
|
|
<zy-process-fabric-modal @valueChange="valueChange" ref="modalForm" @ok="modalFormOk"></zy-process-fabric-modal> |
|
|
|
|
|
|
|
<ZyFabricFormDetailModel ref="ZyFabricFormDetailModel"></ZyFabricFormDetailModel> |
|
|
|
</a-card> |
|
|
|
</a-card> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
|
@ -110,12 +112,14 @@ |
|
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
|
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin' |
|
|
|
import ZyProcessFabricModal from './ZyProcessFabricModal' |
|
|
|
import ZyProcessFabricModal from './ZyProcessFabricModal' |
|
|
|
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' |
|
|
|
import {filterMultiDictText} from '@/components/dict/JDictSelectUtil' |
|
|
|
|
|
|
|
import ZyFabricFormDetailModel from '@/views/erp/fabric/modules/ZyFabricFormDetailModel' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: 'ZyProcessFabricList', |
|
|
|
name: 'ZyProcessFabricList', |
|
|
|
mixins:[JeecgListMixin, mixinDevice], |
|
|
|
mixins:[JeecgListMixin, mixinDevice], |
|
|
|
components: { |
|
|
|
components: { |
|
|
|
ZyProcessFabricModal |
|
|
|
ZyProcessFabricModal, |
|
|
|
|
|
|
|
ZyFabricFormDetailModel |
|
|
|
}, |
|
|
|
}, |
|
|
|
data () { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
@ -209,6 +213,10 @@ |
|
|
|
fieldList.push({type:'string',value:'processId',text:'工序',dictCode:'zy_process,process_name,id'}) |
|
|
|
fieldList.push({type:'string',value:'processId',text:'工序',dictCode:'zy_process,process_name,id'}) |
|
|
|
fieldList.push({type:'string',value:'fabricId',text:'面料',dictCode:'zy_fabric,name,id'}) |
|
|
|
fieldList.push({type:'string',value:'fabricId',text:'面料',dictCode:'zy_fabric,name,id'}) |
|
|
|
this.superFieldList = fieldList |
|
|
|
this.superFieldList = fieldList |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
handleDetail(id,name){ |
|
|
|
|
|
|
|
this.$refs.ZyFabricFormDetailModel.showModal(id,name) |
|
|
|
|
|
|
|
// this.$children[0].showModal(id) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|