imeik-bizui 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bizui/src/FieldApplyTypeView/index.vue +1 -3
- package/dist/bizui/src/FieldMaterialSelect/components/ProductList.vue +7 -2
- package/dist/bizui/src/FieldMaterialSelect/index.vue +2 -2
- package/dist/imeik-bizui.common.js +133 -128
- package/dist/imeik-bizui.common.js.gz +0 -0
- package/dist/imeik-bizui.css +1 -1
- package/dist/imeik-bizui.css.gz +0 -0
- package/dist/imeik-bizui.umd.js +133 -128
- package/dist/imeik-bizui.umd.js.gz +0 -0
- package/dist/imeik-bizui.umd.min.js +4 -4
- package/dist/imeik-bizui.umd.min.js.gz +0 -0
- package/package.json +1 -1
|
@@ -198,7 +198,7 @@ export default {
|
|
|
198
198
|
if (!this.formConfig.props.applyType && this.attrs.applyTypeOptions.default) {
|
|
199
199
|
this.formConfig.props.applyType = this.attrs.applyTypeOptions.default
|
|
200
200
|
}
|
|
201
|
-
if (this.attrs.
|
|
201
|
+
if (this.attrs.needProject) {
|
|
202
202
|
this.formConfig.formItems[3].hidden = false
|
|
203
203
|
}
|
|
204
204
|
this.changeShowItems()
|
|
@@ -216,8 +216,6 @@ export default {
|
|
|
216
216
|
applyType: this.formConfig.props.applyType,
|
|
217
217
|
applyTypeName: this.getTypeName()
|
|
218
218
|
}
|
|
219
|
-
console.log(this.formConfig.props, 'this.formConfig.props');
|
|
220
|
-
|
|
221
219
|
if (this.$bizui && this.$bizui.bus) {
|
|
222
220
|
this.$bizui.bus.$emit('formApplyTypeChange')
|
|
223
221
|
}
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
<el-radio :label="'0'">否</el-radio>
|
|
66
66
|
</el-radio-group>
|
|
67
67
|
<div v-else>{{ row.materialIsSpecifiedBatch === '1' ? '是' : '否' }}</div>
|
|
68
|
-
<div v-if="row.materialIsSpecifiedBatch === '1'">
|
|
68
|
+
<div v-if="row.materialIsSpecifiedBatch === '1' && !approvalInputBatch">
|
|
69
69
|
<el-input v-if="!isView" v-model="row.materialBatch" style="margin-top: 16px" placeholder="请输入批次号"></el-input>
|
|
70
70
|
<div v-else>{{ row.materialBatch || '-' }}</div>
|
|
71
71
|
</div>
|
|
@@ -128,6 +128,10 @@ export default {
|
|
|
128
128
|
return []
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
|
+
approvalInputBatch: {
|
|
132
|
+
type: Boolean,
|
|
133
|
+
default: false
|
|
134
|
+
},
|
|
131
135
|
loading: {
|
|
132
136
|
type: Boolean,
|
|
133
137
|
default: false
|
|
@@ -344,7 +348,8 @@ export default {
|
|
|
344
348
|
// 获取母方案列表
|
|
345
349
|
handleGetMotherSchemeList(materialCodeList) {
|
|
346
350
|
getMotherSchemeList({
|
|
347
|
-
materialCodeList: materialCodeList
|
|
351
|
+
materialCodeList: materialCodeList,
|
|
352
|
+
costBearDepartmentCode: this.formProps.costBearDepartmentCode
|
|
348
353
|
})
|
|
349
354
|
.then((res) => {
|
|
350
355
|
if (res.code === 200) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
添加
|
|
11
11
|
</el-button>
|
|
12
12
|
</div>
|
|
13
|
-
<ProductList :table-data="tableData" :is-view="isView" :table-item-arr="tableItemArr" @removeItem="onRemoveItem"></ProductList>
|
|
13
|
+
<ProductList :table-data="tableData" :is-view="isView" :table-item-arr="tableItemArr" :approval-input-batch="attrs.approvalInputBatch" @removeItem="onRemoveItem"></ProductList>
|
|
14
14
|
<SelectProductDialog ref="selectProductDialog" :rcoi-info="rcoiInfo" @addProduct="addProduct"></SelectProductDialog>
|
|
15
15
|
</div>
|
|
16
16
|
</template>
|
|
@@ -105,7 +105,7 @@ export default {
|
|
|
105
105
|
if (!item.materialQuantity) {
|
|
106
106
|
this.$message.error('请检查物料数量')
|
|
107
107
|
item.valid = false
|
|
108
|
-
} else if (this.tableItemArr.includes('batch') && item.materialIsSpecifiedBatch === '1' && !item.materialBatch) {
|
|
108
|
+
} else if (this.tableItemArr.includes('batch') && !this.attrs.approvalInputBatch && item.materialIsSpecifiedBatch === '1' && !item.materialBatch) {
|
|
109
109
|
this.$message.error('请检查批次号信息')
|
|
110
110
|
item.valid = false
|
|
111
111
|
} else {
|