diff --git a/hb_client/src/views/inm/product.vue b/hb_client/src/views/inm/product.vue
index e6426cb..4e9da3c 100644
--- a/hb_client/src/views/inm/product.vue
+++ b/hb_client/src/views/inm/product.vue
@@ -2,7 +2,7 @@
选择订单
+ >选择订单
-
-
+
+
{{ scope.row.number }}
@@ -24,25 +24,18 @@
{{ scope.row.batch }}
-
+
{{ scope.row.material_.name }}
-
- {{
- scope.row.warehouse_.name
- }}
+ {{scope.row.warehouse_.name}}
- {{
- scope.row.to_order_.number
- }}
+ {{scope.row.to_order_.number}}
需要确定订单
@@ -51,13 +44,9 @@
- {{
- scope.row.to_order_.contract_.name
- }}
+ {{scope.row.to_order_.contract_.name}}
@@ -65,38 +54,33 @@
- {{
- scope.row.to_order_.customer_.name
- }}
+ {{scope.row.to_order_.customer_.name}}
-
不合格
合格
-
-
-
+
+
@@ -127,12 +111,11 @@
:close-on-click-modal="false"
:visible.sync="dialogFormVisibleorder"
>
-
- {{ this.ordershow }}
- {{ this.customershow }}
- {{ this.contractshow }}
-
-
+
+ {{ this.ordershow }}
+ {{ this.customershow }}
+ {{ this.contractshow }}
+
-
-
+
{{ scope.row.number }}
- {{
- scope.row.customer_.name
- }}
+ {{scope.row.customer_.name}}
+
- {{
- scope.row.contract_.name
- }}
+ {{scope.row.contract_.name}}
+
确认
+ >确认
-
@@ -177,111 +156,111 @@
diff --git a/hb_client/src/views/mtm/materialdo.vue b/hb_client/src/views/mtm/materialdo.vue
index ec10a3f..306988d 100644
--- a/hb_client/src/views/mtm/materialdo.vue
+++ b/hb_client/src/views/mtm/materialdo.vue
@@ -79,26 +79,13 @@
-
+
+
+
+
+
+
@@ -576,6 +579,7 @@
recordformList: {
count: 0,
},
+ formList:[],
fieldList: {
count: 0,
},
@@ -696,6 +700,13 @@
this.material = this.$route.params.id;
this.recordformLists();
},
+ mounted(){
+ getrecordformList({page:0}).then((response) => {
+ if (response.data) {
+ this.formList = response.data;
+ }
+ });
+ },
methods: {
formFunc(value) {
this.dialogVisibleForm = value;
@@ -882,6 +893,13 @@
// this.$refs["Forms"].resetFields();
// });
},
+ formTypeChange(){
+ getrecordformList({type:this.recordform.type,page:0}).then((response) => {
+ if (response.data) {
+ this.formList = response.data;
+ }
+ });
+ },
//新增字段
handlefieldCreate() {
this.field_choice = [""];
@@ -903,6 +921,8 @@
});
},
handleEdit(scope) {
+ debugger;
+ console.log( scope.row);
this.recordform = Object.assign({}, scope.row); // copy obj
this.dialogType = "edit";
this.dialogVisible = true;
@@ -959,6 +979,7 @@
obj.type=this.recordform.type;
obj.enabled=this.recordform.enabled;
if (isEdit) {
+ obj.form=this.recordform.form?this.recordform.form:null;
updaterecordform(this.recordform.id, obj).then(
(res) => {
if (res.code >= 200) {
@@ -970,6 +991,7 @@
);
} else {
obj.material=parseInt(this.material);
+ obj.form=this.recordform.form!==''?this.recordform.form:null;
createrecordform(obj).then((res) => {
if (res.code >= 200) {
this.recordformLists();
diff --git a/hb_client/src/views/procurement/vendor.vue b/hb_client/src/views/procurement/vendor.vue
index a40edb0..33b1e5a 100644
--- a/hb_client/src/views/procurement/vendor.vue
+++ b/hb_client/src/views/procurement/vendor.vue
@@ -2,33 +2,33 @@
-
- 新增供应商
-
-
- 搜索
- 重置
-
-
+
+ 新增供应商
+
+
+
+ 搜索
+
+
+ 重置
+
+
-
+
{{ scope.row.name }}
-
+
{{ scope.row.contact }}
{{ scope.row.contact_phone }}
-
+
{{ scope.row.address }}
-
+
{{ scope.row.material }}
-
{{ scope.row.description }}
-
+
{{ scope.row.create_time }}
-
编辑
+ 编辑
+
删除
+ 删除
+
@@ -108,22 +108,20 @@
:rules="rule1"
>
-
+
-
+
-
-
+
+
-
-
-
+
+
-
-
+
+
-
diff --git a/hb_client/src/views/qm/processtest.vue b/hb_client/src/views/qm/processtest.vue
index 16376a5..a4f85eb 100644
--- a/hb_client/src/views/qm/processtest.vue
+++ b/hb_client/src/views/qm/processtest.vue
@@ -15,56 +15,56 @@
{{ scope.row.number }}
-
+
{{scope.row.product_.name }}
- {{
- scope.row.product_.specification
- }}
+
+ {{scope.row.product_.specification }}
+
- {{ scope.row.process_json["01"].rate }}%
+
+ {{ scope.row.process_json["01"].rate }}%
+
- {{ scope.row.process_json["02"].rate }}%
+
+ {{ scope.row.process_json["02"].rate }}%
+
- {{ scope.row.process_json["03"].rate }}%
+
+ {{ scope.row.process_json["03"].rate }}%
+
- {{ scope.row.process_json["05"].rate }}%
+
+ {{ scope.row.process_json["05"].rate }}%
+
- {{ scope.row.process_json["06"].rate }}%
+
+ {{ scope.row.process_json["06"].rate }}%
+
- {{ scope.row.process_json["07"].rate }}%
+
+ {{ scope.row.process_json["07"].rate }}%
+
- {{ scope.row.process_json["08"].rate }}%
+
+ {{ scope.row.process_json["08"].rate }}%
+
-
- {{
- scope.row.create_time
- }}
+
+
+ {{scope.row.create_time }}
+
@@ -72,8 +72,9 @@
v-if="checkPermission(['material_update'])"
type="primary"
@click="handledetail(scope)"
- >详情
+ 详情
+
@@ -100,34 +101,34 @@
{{ scope.row.number }}
- {{
- scope.row.order_.number
- }}
+
+ {{scope.row.order_.number}}
+
-
- {{
- scope.row.product_.name
- }}
+
+
+ {{scope.row.product_.name}}
+
- {{
- scope.row.product_.specification
- }}
+
+ {{scope.row.product_.specification}}
+
- {{
- scope.row.resp_process_.name
- }}
+
+ {{scope.row.resp_process_.name}}
+
- {{
- decision_[scope.row.decision]
- }}
+
+ {{decision_[scope.row.decision]}}
+
-
- {{
- scope.row.create_time
- }}
+
+
+ {{scope.row.create_time}}
+
@@ -135,8 +136,9 @@
v-if="checkPermission(['material_update'])"
type="primary"
@click="handledetailbhg(scope)"
- >查看
+ 查看
+
@@ -147,7 +149,6 @@
:limit.sync="listQuery2.page_size"
@pagination="getList2"
/>
-
diff --git a/hb_client/src/views/qm/producttest.vue b/hb_client/src/views/qm/producttest.vue
index cb3a7d3..33675b0 100644
--- a/hb_client/src/views/qm/producttest.vue
+++ b/hb_client/src/views/qm/producttest.vue
@@ -17,7 +17,7 @@
{{ scope.row.subproduction_plan_.number }}
-
+
{{ scope.row.material_.name }}
diff --git a/hb_client/src/views/qm/unproduct.vue b/hb_client/src/views/qm/unproduct.vue
index 38d07ad..f1e3516 100644
--- a/hb_client/src/views/qm/unproduct.vue
+++ b/hb_client/src/views/qm/unproduct.vue
@@ -3,65 +3,65 @@
-
-
-
- {{ scope.row.number }}
-
-
- {{ scope.row.subproduction_plan_.number }}
-
-
-
- {{ scope.row.material_.name }}
-
-
- {{ scope.row.material_.specification }}
-
-
-
-
- 不合格
- 合格
-
-
-
- {{ scope.row.warehouse_.name }}
-
-
- {{ scope.row.number }}
-
-
- {{ actstate_[scope.row.act_state]}}
-
-
-
- 军检
-
- 检验记录
-
-
-
-
-
+
+
+
+ {{ scope.row.number }}
+
+
+
+ {{ scope.row.subproduction_plan_.number}}
+
+
+
+ {{ scope.row.material_.name }}
+
+
+ {{ scope.row.material_.specification }}
+
+
+
+ 不合格
+ 合格
+
+
+
+ {{ scope.row.warehouse_.name }}
+
+
+ {{ scope.row.number }}
+
+
+ {{ actstate_[scope.row.act_state]}}
+
+
+
+ 军检
+
+ 检验记录
+
+
+
+
+
-
+
{{ scope.row.number }}
- {{
- scope.row.order_.number
- }}
+
+ {{scope.row.order_.number}}
+
-
- {{
- scope.row.product_.name
- }}
+
+
+ {{scope.row.product_.name}}
+
- {{
- scope.row.product_.specification
- }}
+
+ {{scope.row.product_.specification}}
+
- {{
- scope.row.resp_process_.name
- }}
+
+ {{scope.row.resp_process_.name}}
+
- {{
- decision_[scope.row.decision]
- }}
+
+ {{decision_[scope.row.decision]}}
+
- {{
- scope.row.create_time
- }}
+
+ {{scope.row.create_time}}
+
@@ -113,8 +113,9 @@
v-if="checkPermission(['material_update'])"
type="primary"
@click="handledetailbhg(scope)"
- >查看
+ 查看
+
@@ -125,68 +126,68 @@
:limit.sync="listQuery2.page_size"
@pagination="getList2"
/>
-
-
-
-
-
- {{ scope.row.batch }}
-
-
- {{ scope.row.material_.name }}
-
-
- {{
- scope.row.material_.specification
- }}
-
-
- {{ scope.row.material_.unit }}
-
-
-
- {{ scope.row.create_time }}
-
-
-
-
-
+
+
+
+
+ {{ scope.row.batch }}
+
+
+ {{ scope.row.material_.name }}
+
+
+ {{
+ scope.row.material_.specification
+ }}
+
+
+
+ {{ scope.row.material_.unit }}
+
+
+
+ {{ scope.row.create_time }}
+
+
+
+
+